Skip to content
LangChain

Shodan for LangChain

io.github.pipeworx-io/shodan

Shodan MCP — wraps the full Shodan REST API (api.shodan.io)

client:LangChain transport:streamable-http

Install Shodan in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "shodan": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/shodan/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Shodan in other clients