Skip to content
LangChain

Politician Trades for LangChain

io.github.pipeworx-io/politician-trades

Politician Trades MCP — US congressional + executive stock trading disclosures under the STOCK Act…

client:LangChain transport:streamable-http runtime:npm tools:49

Install Politician Trades in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

What LangChain can do once it is connected

All 49 tools →

Politician Trades in other clients