Basic information
About Shodan MCP Server
This is a Model Context Protocol (MCP) server that provides access to the Shodan API. It allows you to programmatically query Shodan for information about devices, vulnerabilities, and more.
Shodan MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by X3r0K. Supported transport: stdio. Runtime: node. The repository has 3 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"shodan-mcp-server-x3r0k": {
"command": "docker",
"args": [
"run",
"-e",
"SHODAN_API_KEY=your_api_key_here",
"-p",
"3000:3000",
"shodan-mcp-server"
]
}
}
}
{
"mcpServers": {
"shodan-mcp-server-x3r0k": {
"command": "docker",
"args": [
"run",
"-e",
"SHODAN_API_KEY=your_api_key_here",
"-p",
"3000:3000",
"shodan-mcp-server"
]
}
}
}
{
"servers": {
"shodan-mcp-server-x3r0k": {
"command": "docker",
"args": [
"run",
"-e",
"SHODAN_API_KEY=your_api_key_here",
"-p",
"3000:3000",
"shodan-mcp-server"
]
}
}
}
Shodan MCP Server (X3r0K/shodan-mcp-server) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"shodan-mcp-server-x3r0k": {
"command": "docker",
"args": [
"run",
"-e",
"SHODAN_API_KEY=your_api_key_here",
"-p",
"3000:3000",
"shodan-mcp-server"
]
}
}
}
Shodan MCP Server (X3r0K/shodan-mcp-server) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Shodan MCP Server?
Shodan MCP Server is a Model Context Protocol (MCP) server that provides programmatic access to the Shodan API, enabling queries about devices, vulnerabilities, and more. It is designed for developers who want to integrate Shodan intelligence into their applications.
How to use Shodan MCP Server?
Install the server from the repository, configure it with your Shodan API key as an environment variable (SHODAN_API_KEY), and use MCP client tools to call functions such as get_ip_info, dns_lookup, get_vulnerabilities, cve_info, and search. Example usage with the @modelcontextprotocol/sdk is provided.
Key features of Shodan MCP Server
- Query detailed host information by IP address
- Perform DNS lookups for domain names
- Retrieve CVE details for specific vulnerabilities
- Track vulnerabilities associated with an IP address
- Search Shodan’s database using their search syntax
Use cases of Shodan MCP Server
- Investigate devices and services exposed on a given IP
- Resolve hostnames to IP addresses for reconnaissance
- Look up known vulnerabilities (CVEs) for security research
- Monitor which vulnerabilities affect a specific server over time
Frequently asked questions
1 What prerequisites are needed to use Shodan MCP Server?
You need a Shodan API key (obtained from https://account.shodan.io/) and Node.js installed on your system.
2 How do I configure the Shodan API key?
Set the SHODAN_API_KEY environment variable in your MCP client settings file (e.g., ~/.config/mcp/settings.json) under the server’s env block.
3 Which tools does Shodan MCP Server expose?
It exposes five tools: get_ip_info, dns_lookup, get_vulnerabilities, cve_info, and search.
4 Can I use Shodan MCP Server without Node.js?
The server is built with Node.js and requires a Node runtime to run. It communicates via standard I/O and can be invoked from any MCP client, but the server itself depends on Node.js.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In