Skip to content
LangChain

Poliscope for LangChain

io.github.realadeel/poliscope

US political money data: campaign finance, lobbying, dark money, contracts and SEC filings.

client:LangChain transport:streamable-http

Install Poliscope in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "poliscope": {
            "transport": "streamable_http",
            "url": "https://api.poliscope.org/mcp",
        }
})

tools = await client.get_tools()

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

Poliscope in other clients