An open API service indexing awesome lists of open source software.

https://github.com/jakbin/shodan-mcp

A Model Context Protocol (MCP) toolkit for integrating Shodan's powerful search and intelligence capabilities into your applications.
https://github.com/jakbin/shodan-mcp

mcp mcp-server python3 shodan-api shodan-mcp shodan-python

Last synced: about 1 month ago
JSON representation

A Model Context Protocol (MCP) toolkit for integrating Shodan's powerful search and intelligence capabilities into your applications.

Awesome Lists containing this project

README

          

# Shodan MCP Toolkit

A Model Context Protocol (MCP) toolkit for integrating Shodan's powerful search and intelligence capabilities into your applications.

## Features
- Advanced Shodan search with filters and facets
- IP information lookup (open ports, services, location)
- DNS and reverse DNS lookups
- Domain info and subdomain enumeration
- On-demand scanning (requires upgraded Shodan API access)
- Network alert creation and management
- Vulnerability analysis with CVE tracking
- API usage and limits info
- Historical scan data (premium access required)

## Requirements
- Python 3.7+
- Shodan API key (set as the `SHODAN_API_KEY` environment variable)

## Installation
```bash
pip install shodan-mcp
```

## Configuration
Set your Shodan API key as an environment variable:
```bash
export SHODAN_API_KEY=your_shodan_api_key
```

## Testing
Test with Model Context Protocol Inspector:
```bash
npx @modelcontextprotocol/inspector uv run shodan-mcp
```

## Usage
Add this in your MCP client:
```bash
uv run shodan-mcp
```