Skip to main content
Glama

shodan-mcp

Serwer MCP udostepniajacy API Shodan.IO, oparty o FastMCP i oficjalna biblioteke shodan-python.

Wymagania

  • Python 3.13+

  • uv

  • Klucz API Shodan

Related MCP server: Shodan MCP Server

Instalacja

uv sync

Konfiguracja klucza API

Klucz pobierany jest wylacznie ze zmiennej srodowiskowej SHODAN_API_KEY. Nie zapisuj klucza w repozytorium. Do lokalnych testow skopiuj .env.example do .env.

Uruchomienie

Transport: stdio (domyslny dla lokalnego Claude Code / Claude Desktop).

SHODAN_API_KEY=... uv run server.py

Konfiguracja klienta MCP

Przyklad wpisu (.mcp.json lub claude mcp add):

{
  "mcpServers": {
    "shodan": {
      "command": "uv",
      "args": ["run", "--directory", "/home/ra/secra/shodan-mcp", "server.py"]
    }
  }
}

Tool: search

Generalne wyszukiwanie przez API Shodan. Laczy wolny tekst (query) z opcjonalnymi filtrami-dorkami, ktore tool sklada w finalne zapytanie Shodan.

Obslugiwane filtry: org, hostname, net, ip, port, country, city, product, version, os, asn, isp, title (http.title), http_status (http.status), ssl, vuln, tag, after, before, has_screenshot.

Dodatkowe parametry: page (strona wynikow), facets (agregacje, np. port:10,org:5), raw (gdy true, zwraca pelny surowy JSON zamiast przycietego zestawu pol).

Przyklad: query="nginx", country="PL", port=443 -> zapytanie nginx country:PL port:443.

Tool: host

Lookup po adresie IP. Zwraca szczegoly hosta (org, isp, asn, lokalizacja, porty, tagi, podatnosci) oraz liste wykrytych uslug.

Parametry: ip (wymagany), history (pelna historia banerow), minify (okrojony zestaw pol), raw (pelny surowy JSON zamiast przycietego).

Roadmap

Kolejne toole: count (sam licznik), search_cursor (paginacja kursorowa), scan / alerts.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides access to Shodan API functionality, enabling AI assistants to query information about internet-connected devices for cybersecurity research and threat intelligence.
    Last updated
    23
    47
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Integrates Shodan search capabilities into MCP-compatible applications for discovering internet-connected devices. Enables domain searches, IP lookups, and advanced queries to identify exposed services, infrastructure mapping, and security analysis.
    Last updated
    3
  • A
    license
    A
    quality
    D
    maintenance
    Enables comprehensive security reconnaissance, vulnerability assessment, and threat intelligence gathering by integrating Shodan's API. It provides tools for searching internet-connected devices, performing DNS operations, and querying the Shodan exploit database.
    Last updated
    11
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Serper MCP — wraps the Serper Google Search API (serper.dev)

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/radeksh/shodan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server