Shodan MCP Server

Shodan MCP Server

shodan-mcp•bymohdhaji87

An async MCP server that exposes Shodan's REST, Streaming, and Trends APIs as MCP tools for internet intelligence workflows.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Exposes Shodan REST API capabilities such as host info, search, DNS, datasets, account, and tools as MCP tools.
  • •Provides Shodan Streaming API access for real-time firehose, port, and alert event streams.
  • •Offers Shodan Trends API tools for top ports, organizations, and countries for a query.
  • •Reads Shodan API keys from environment variables, falling back to the main key when specific keys are unset.

BEST FOR

  • •Security research such as threat hunting, asset discovery, and vulnerability research using Shodan intelligence.
  • •Real-time monitoring of infrastructure or the open internet via live banner and alert streams.
  • •Integrating Shodan tools into security pipelines, SIEM, or custom dashboards through MCP.

ABOUT SHODAN-MCP

Shodan MCP Server is cataloged as an MCP server attributed to mohdhaji87. An async MCP server that exposes Shodan's REST, Streaming, and Trends APIs as MCP tools for internet intelligence workflows. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Shodan MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which Shodan APIs does this MCP server cover?

It covers the Shodan REST API, Streaming API, and Trends API.

Which MCP clients can use this server?

It is presented as ready to use with Claude Desktop, CLI, or any MCP-compatible client.

上游原版 README

在 GitHub 查看同一版本原文

README.md · db72db23f97d · 采集于 2026-11-13 12:27:36 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Shodan MCP Server

A fully async, production-grade MCP server that exposes the complete Shodan API (REST, Streaming, and Trends) as MCP tools. Built with Python, httpx, and the MCP Python SDK, this server enables seamless integration of Shodan's powerful internet intelligence tools into your automation, research, and security workflows.

Features

  • Full Shodan API Coverage:
    • REST API: Host info, search, DNS, datasets, account, tools, and more
    • Streaming API: Real-time firehose, port, and alert event streams
    • Trends API: Top ports, organizations, and countries for any query
  • Async & High Performance:
    • Built on httpx and async/await for maximum concurrency and speed
  • Secure Authentication:
    • API keys are read from environment variables for each API type
  • Easy Integration:
    • Ready to use with Claude Desktop, CLI, or any MCP-compatible client

Environment Variables

Set your Shodan API credentials as environment variables before running the server:

  • SHODAN_API_KEY (default for all APIs)
  • SHODAN_STREAM_API_KEY (optional, for Streaming API)
  • SHODAN_TRENDS_API_KEY (optional, for Trends API)

If a specific key is not set, the server will fall back to SHODAN_API_KEY.

Usage

1. Install dependencies

    uv add "mcp[cli]"
    uv add "sseclient-py"

2. Set your environment variables

export SHODAN_API_KEY=your_main_shodan_api_key
# Optionally:
export SHODAN_STREAM_API_KEY=your_streaming_key
export SHODAN_TRENDS_API_KEY=your_trends_key

3. Start the server (with uvicorn or uv)

uv --directory /Users/haji/mcp-servers/shodan-mcp run server.py

4. MCP Server Configuration for Claude Desktop

Save the following as .json and load it in Claude Desktop or Cursor:

{
  "mcpServers": {
    "ShodanMCP": {
      "command": "uv",
      "args": [
        "--directory", "/Users/haji/mcp-servers/shodan-mcp",
        "run", "server.py"
      ]
    }
  }
}

Impact & Use Cases

  • Security Research: Instantly query Shodan's global internet intelligence for threat hunting, asset discovery, and vulnerability research.
  • Automation: Integrate Shodan tools into your security pipelines, SIEM, or custom dashboards via MCP.
  • Real-Time Monitoring: Stream live banners and alerts for proactive monitoring of your infrastructure or the open internet.
  • Data Science: Leverage Shodan's Trends API for analytics, reporting, and visualization of global internet trends.

Credits

  • Shodan — The world's leading search engine for Internet-connected devices.

© 2024 Haji & Contributors. This project is not affiliated with Shodan. For commercial use of Shodan data, ensure compliance with Shodan's Terms of Service.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Shodan MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/shodan-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research