StringTheory for LangChain
org.pqlabs/stringtheory
U.S. campaign finance, congressional votes, bill text X-ray, and primary-source civic receipts.
client:LangChain
transport:streamable-http
Install StringTheory in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"stringtheory": {
"transport": "streamable_http",
"url": "https://theory.pqlabs.org/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs