Shodan MCP Server
쇼단 MCP 서버
Shodan API 기능에 대한 액세스를 제공하는 MCP(Model Context Protocol) 서버로, AI 도우미가 인터넷에 연결된 장치와 서비스에 대한 정보를 쿼리할 수 있도록 합니다.
특징
호스트 정보 : 특정 IP 주소에 대한 자세한 정보를 얻으세요
검색 기능 : Shodan 데이터베이스에서 장치 및 서비스 검색
네트워크 스캐닝 : 장치의 네트워크 범위(CIDR 표기법)를 스캔합니다.
SSL 인증서 정보 : 도메인에 대한 SSL 인증서 세부 정보 가져오기
IoT 기기 검색 : 특정 유형의 IoT 기기 찾기
Related MCP server: sec-shodan-mcp
설치
저장소를 복제합니다.
지엑스피1
종속성 설치:
npm install서버를 빌드하세요:
npm run buildShodan API 키를 설정하세요:
export SHODAN_API_KEY="your-api-key-here"서버를 시작합니다:
npm start
MCP 통합
이 서버는 Claude 또는 다른 MCP 호환 AI 어시스턴트와 통합될 수 있습니다. Claude Desktop 또는 Claude.app에 추가하려면 다음 단계를 따르세요.
MCP 설정에 서버를 추가합니다.
{ "mcpServers": { "shodan": { "command": "node", "args": ["/path/to/shodan-mcp-server/build/index.js"], "env": { "SHODAN_API_KEY": "your-api-key-here" } } } }새로운 MCP 서버를 로드하려면 Claude를 다시 시작하세요.
사용 가능한 도구
get_host_info
특정 IP 주소에 대한 자세한 정보를 얻으세요.
매개변수:
ip(필수): 조회할 IP 주소max_items(선택 사항): 배열에 포함할 최대 항목 수(기본값: 5)fields(선택 사항): 결과에 포함할 필드 목록(예: ['ip_str', 'ports', 'location.country_name'])
검색_쇼단
Shodan의 데이터베이스에서 장치와 서비스를 검색합니다.
매개변수:
query(필수): Shodan 검색 쿼리(예: 'apache country:US')page(선택 사항): 결과 페이지 번호(기본값: 1)facets(선택 사항): 검색 결과에 포함할 facet 목록(예: ['country', 'org'])max_items(선택 사항): 배열에 포함할 최대 항목 수(기본값: 5)fields(선택 사항): 결과에 포함할 필드 목록(예: ['ip_str', 'ports', 'location.country_name'])summarize(선택 사항): 전체 데이터 대신 결과 요약을 반환할지 여부(기본값: false)
스캔 네트워크 범위
장치의 네트워크 범위(CIDR 표기법)를 스캔합니다.
매개변수:
cidr(필수): CIDR 표기법으로 나타낸 네트워크 범위(예: 192.168.1.0/24)max_items(선택 사항): 결과에 포함할 최대 항목 수(기본값: 5)fields(선택 사항): 결과에 포함할 필드 목록(예: ['ip_str', 'ports', 'location.country_name'])
get_ssl_info
도메인에 대한 SSL 인증서 정보를 가져옵니다.
매개변수:
domain(필수): SSL 인증서를 조회할 도메인 이름(예: example.com)
IoT 기기 검색
특정 유형의 IoT 기기를 검색하세요.
매개변수:
device_type(필수): 검색할 IoT 기기의 유형(예: '웹캠', '라우터', '스마트 TV')country(선택 사항): 검색을 제한하기 위한 선택 국가 코드(예: 'US', 'DE')max_items(선택 사항): 결과에 포함할 최대 항목 수(기본값: 5)
사용 가능한 리소스
shodan://host/{ip}: 특정 IP 주소에 대한 정보
API 제한 사항
일부 Shodan API 엔드포인트는 유료 멤버십이 필요합니다. 다음 기능은 유료 Shodan API 키를 통해서만 사용할 수 있습니다.
검색 기능
네트워크 스캐닝
SSL 인증서 조회
IoT 기기 검색
특허
MIT
개발자
Available Tools
23 toolsdns_lookupB
Resolve hostnames to IP addresses using DNS lookup
Inputs: hostnames (required).
get_account_profileB
Get account profile information including membership status and credits
Inputs: no named parameters.
get_api_infoB
Get information about your API plan including credits and limits
Inputs: no named parameters.
get_cpesC
Get Common Platform Enumeration (CPE) information for products
Inputs: product, vendor, version, limit, +1 more.
get_cve_infoC
Get detailed information about a specific CVE
Inputs: cve_id (required).
get_cves_by_epssC
Get CVEs sorted by EPSS score (Exploit Prediction Scoring System)
Inputs: limit.
get_domain_infoC
Get comprehensive domain information including subdomains and DNS records
Inputs: domain (required), history, type, page.
get_host_countA
Get the count of hosts matching a search query without consuming query credits
Inputs: query (required), facets.
get_host_infoC
Get detailed information about a specific IP address
Inputs: ip (required), max_items, fields.
get_kev_cvesB
Get Known Exploited Vulnerabilities (KEV) from CISA
Inputs: limit.
get_my_ipA
Get your current IP address as seen from the Internet
Inputs: no named parameters.
get_newest_cvesB
Get the newest vulnerabilities from the CVE database
Inputs: limit.
get_ssl_infoC
Get SSL certificate information for a domain
Inputs: domain (required).
list_portsB
List all ports that Shodan crawls on the Internet
Inputs: no named parameters.
list_protocolsA
List all protocols that can be used when performing on-demand Internet scans
Inputs: no named parameters.
list_search_facetsA
List all available search facets that can be used with Shodan queries
Inputs: no named parameters.
list_search_filtersB
List all available search filters that can be used in Shodan queries
Inputs: no named parameters.
parse_search_tokensC
Parse a search query to understand which filters and parameters are being used
Inputs: query (required).
reverse_dns_lookupC
Get hostnames for IP addresses using reverse DNS lookup
Inputs: ips (required).
scan_network_rangeC
Scan a network range (CIDR notation) for devices
Inputs: cidr (required), max_items, fields.
search_cvesC
Search for vulnerabilities with various filters
Inputs: cpe23, product, is_kev, sort_by_epss, +4 more.
search_iot_devicesC
Search for specific types of IoT devices
Inputs: device_type (required), country, max_items.
search_shodanC
Search Shodan's database for devices and services
Inputs: query (required), page, facets, max_items, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools have distinct purposes, but there is some overlap between search tools (search_shodan, search_iot_devices, search_cves) and informational tools (get_cves_by_epss, get_newest_cves, get_kev_cves) that could cause confusion. Descriptions help clarify, but the boundaries between general and specific search/query tools are not perfectly clear.
Tool names follow a highly consistent verb_noun pattern throughout, such as get_account_profile, list_ports, search_shodan, and parse_search_tokens. There are no deviations in naming conventions, making the set predictable and easy to understand.
With 23 tools, the count is borderline high for a Shodan server, which might feel heavy for agents to navigate efficiently. While it covers many aspects of Shodan's functionality, some tools could potentially be consolidated or omitted without losing core capabilities.
The tool set provides comprehensive coverage for Shodan's domain, including account management, host and domain lookups, vulnerability searches, network scanning, and query parsing. There are no obvious gaps; it supports full CRUD-like operations and lifecycle management for security research tasks.
Maintenance
Related MCP Connectors
Defensive Shodan search and host intelligence MCP using customer-provided SHODAN_API_KEY for
Unofficial Shodan InternetDB MCP — wraps Shodan InternetDB (internetdb.shodan.io)
Unofficial Shodan MCP — wraps the full Shodan REST API (api.shodan.io)
Agentic cybersecurity tool: URL phishing/malware scanning and more.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.11Apache 2.0
- AlicenseBqualityFmaintenanceProvides access to Shodan's IoT search engine API for device search, host intelligence, exploit database, network scanning, and security analysis through natural language.32MIT
- AlicenseNot gradedqualityCmaintenanceEnables to search and analyze internet-connected devices using the Shodan API, with tools for host search, DNS, scanning, exploits, alerts, and more.MIT
- AlicenseNot gradedqualityCmaintenanceWraps the full Shodan REST API to allow AI agents to search and retrieve Shodan data through natural language.140 npmMIT