4,500+ servers built on MCP Fusion
Vinkius
Censys logo
Vinkius
Claude Code logo

How to Use the Censys MCP in Claude Code

Query the internet from your terminal. Claude Code connects your shell scripts directly to the Censys API.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Censys MCP on Cursor AI Code Editor MCP Client Censys MCP on Claude Desktop App MCP Integration Censys MCP on OpenAI Agents SDK MCP Compatible Censys MCP on Visual Studio Code MCP Extension Client Censys MCP on GitHub Copilot AI Agent MCP Integration Censys MCP on Google Gemini AI MCP Integration Censys MCP on Lovable AI Development MCP Client Censys MCP on Mistral AI Agents MCP Compatible Censys MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect Censys MCP to Claude Code

Create your Vinkius account to connect Censys to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Integrate Censys into Your Pipelines

Add a step to your deployment pipeline that uses Claude Code to query Censys. The `get_host` tool can check a new server's public ports right after it comes online. If an unexpected port is open, the script fails the build. Pipe the JSON output from this MCP server to `jq` to parse the results and make decisions. This is how you automate security checks before they become production problems.

Run Recon from the Command Line

The `search_hosts` and `search_certificates` tools are built for scripting. Run Claude Code in a cron job to monitor for new subdomains or certificates associated with your brand. You can chain commands together in a simple shell script. Find hosts with `search_hosts`, then loop through the results and get details on each with `get_host_history`. This MCP Server makes Censys feel like a native command-line tool.

Scriptable Account and Asset Audits

Need to track your API usage? A simple script calling `get_account_info` gives you the current numbers without needing a browser. It's ideal for automated budget alerts. Use `aggregate_hosts` to quickly group your company's servers by ASN or country, then output it as clean JSON. It's perfect for quick checks or feeding data into other monitoring systems. With this MCP connection, there are no logins and no UIs, just raw data.

Setup guide

Set up Censys MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see censys-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest Censys transactions." It will automatically discover and invoke the available Censys tools.

Terminal
claude mcp add --transport http censys-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Censys MCP in Claude Code

In your workflow YAML, add a step that runs a shell command: `claude censys get_host --ip 1.2.3.4 | jq '.services'`. You can then write script logic to check if any unexpected ports are in the JSON output.
Use the `search_certificates` tool with a query flag. For example: `claude censys search_certificates --query 'parsed.issuer.organization: "My Org"'`. Pipe the output to `jq` to extract the certificate fingerprints for other commands.
Yes, that's exactly what it's designed for. All tool outputs are raw JSON sent to stdout, perfect for piping into `jq`, `grep`, or any other standard command-line utility for processing.
Create a script that calls `claude censys search_hosts --query 'services.banner: "welcome to my server"'`. You can loop through the resulting IP addresses and perform other actions.
Your Censys API key is stored in the Vinkius vault, referenced by your single endpoint token. It's never stored on your local machine or in your shell's history. Each request for Censys host or certificate data is proxied through our ephemeral sandboxes, which inject the key just-in-time.

Start using the Censys MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 9 tools

We've already built the connector for Censys. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 9 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.