Politikdata.dk MCP for LangChain
dk.politikdata/mcp
Danish parliamentary cases, votes, politicians, parties, elections, and comparison tools.
client:LangChain
transport:streamable-http
tools:24
Install Politikdata.dk MCP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp": {
"transport": "streamable_http",
"url": "https://mcp.politikdata.dk/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
- compare
- fetch
- get_case
- get_document_text
- get_election
- get_election_candidates
- get_election_history
- get_election_votes
- get_party
- get_person
- get_question
- get_question_history
- get_vote_cast
- get_vote_cast_votes
- list_elections
- resolve_person
- search
- search_cases
- search_keywords
- search_party_votes
- search_person_votes
- search_persons
- search_questions
- search_vote_casts