Shodan MCP Server

Shodan MCP Server

Enables to search and analyze internet-connected devices using the Shodan API, with tools for host search, DNS, scanning, exploits, alerts, and more.

Category
Visit Server

README

Shodan MCP Server

An MCP (Model Context Protocol) server that exposes the Shodan API as MCP tools. Built with FastMCP and the official shodan-python library.

Setup

cp .env.example .env   # add your SHODAN_API_KEY
pip install -r requirements.txt
python server.py

Tools

30 tools across 9 categories:

Core Search

Tool Description
shodan_search Search Shodan hosts (query, page, limit, offset, facets, fields)
shodan_host Get all info on an IP address
shodan_count Get result count for a query
shodan_search_filters List available search filters
shodan_search_tokens Parse and analyze a search query
shodan_search_facets List available search facets
shodan_ports List ports Shodan crawls
shodan_protocols List on-demand scan protocols
shodan_services List service name to port mappings
shodan_api_info Get API key info and credits

DNS

Tool Description
shodan_domain_info Get DNS records for a domain

IP Tools

Tool Description
shodan_my_ip Get your current public IP
shodan_honeyscore Honeypot probability (0.0–1.0)

Community Queries

Tool Description
shodan_queries List shared community queries
shodan_queries_search Search community queries
shodan_queries_tags List query tags

Scanning

Tool Description
shodan_scan Submit IPs/netblocks for scanning
shodan_scan_status Check scan status
shodan_scans List previous scans
shodan_scan_internet Scan the internet for a port/protocol

Alerts / Monitoring

Tool Description
shodan_create_alert Create a network alert
shodan_list_alerts List or get alert details
shodan_delete_alert Delete an alert
shodan_alert_triggers List available alert triggers

Exploits

Tool Description
shodan_exploit_search Search the exploit archive
shodan_exploit_count Count exploit results

Bulk Data

Tool Description
shodan_datasets List available datasets
shodan_dataset_files List files in a dataset

Notifiers

Tool Description
shodan_notifiers List configured notifiers
shodan_notifier_providers List supported providers

Error Handling

All tools catch shodan.APIError and return {"error": "<message>"} instead of raising.

Docker

docker compose up -d --build

Project Structure

├── server.py          # Entry point — creates FastMCP app, wires up tools
├── tools/
│   └── shodan.py      # All 30 tool implementations + Shodan client wrapper
├── AGENTS.md          # Context for AI coding assistants
├── requirements.txt
├── .env.example
├── Dockerfile
└── docker-compose.yml

Agent Context

See AGENTS.md for conventions, architecture, and tool registration patterns used in this project.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured