Skip to content
LangChain

civiq for LangChain

io.github.civdotiq/civiq

U.S. civic data for AI agents: reps, votes, bills, finance, lobbying, cited gov sources. 47 tools.

client:LangChain transport:streamable-http tools:47

Install civiq in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "civiq": {
            "transport": "streamable_http",
            "url": "https://civdotiq.org/api/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 47 tools →

civiq in other clients