Dk Elections for LangChain
io.github.pipeworx-io/dk-elections
Danish national election results (Statistics Denmark, final-count results, 2009 to the latest…
client:LangChain
transport:streamable-http
runtime:npm
tools:9
Install Dk Elections in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"dk-elections": {
"transport": "streamable_http",
"url": "https://gateway.pipeworx.io/dk-elections/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs