MCP server
Shodan
MCP server for Shodan API — device search, IP lookup, DNS, and CVE/CPE queries.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.22
- Listing updated
- 4 days ago
About Shodan
Shodan is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add shodan --env SHODAN_API_KEY='<SHODAN_API_KEY>' -- npx -y @burtthecoder/mcp-shodanAdd to claude_desktop_config.json
{
"mcpServers": {
"shodan": {
"command": "npx",
"args": [
"-y",
"@burtthecoder/mcp-shodan"
],
"env": {
"SHODAN_API_KEY": "<SHODAN_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"shodan": {
"command": "npx",
"args": [
"-y",
"@burtthecoder/mcp-shodan"
],
"env": {
"SHODAN_API_KEY": "<SHODAN_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"shodan": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@burtthecoder/mcp-shodan"
],
"env": {
"SHODAN_API_KEY": "<SHODAN_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"shodan": {
"command": "npx",
"args": [
"-y",
"@burtthecoder/mcp-shodan"
],
"env": {
"SHODAN_API_KEY": "<SHODAN_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"shodan": {
"command": "npx",
"args": [
"-y",
"@burtthecoder/mcp-shodan"
],
"env": {
"SHODAN_API_KEY": "<SHODAN_API_KEY>"
}
}
}
}Configuration
SHODAN_API_KEYYour Shodan API keyRequired
Pricing
Open source
Shodan FAQ
Is Shodan free?
Yes. Shodan is open source, so you can use and self-host it for free.
How do I add Shodan to Claude Code?
Run this command in your terminal: claude mcp add shodan --env SHODAN_API_KEY='<SHODAN_API_KEY>' -- npx -y @burtthecoder/mcp-shodan