OpenTK Model Context Protocol Server
OpenTK 모델 컨텍스트 프로토콜 서버
중요 저작자 표시 : 이 MCP 서버는 Bert Hubert 가 개발한 뛰어난 OpenTK 프로젝트를 기반으로 제작되었습니다. OpenTK 프로젝트는 사용자 친화적인 인터페이스를 통해 네덜란드 의회 데이터에 대한 전례 없는 접근성을 제공합니다. Bert의 글 " Welkom bij OpenTK" 에서 이 프로젝트에 대한 자세한 내용을 확인하세요. 데이터 접근 및 처리에 대한 모든 공로는 Bert Hubert와 그의 정부 오픈 데이터 개발에 대한 공헌에 있습니다.
표준화된 인터페이스를 통해 대규모 언어 모델(LLM)과 네덜란드 의회 데이터를 연결합니다. 이 MCP 서버는 네덜란드 의회 문서, 토론, 그리고 의회 의원 정보(Tweede Kamer)에 대한 접근을 제공합니다.
실제 자연어 상호 작용의 예
Related MCP server: Riksdag & Regering MCP
예시 1: AI 정책에 대한 정당 입장 비교
사용자 질의: "네덜란드 하원에서 야당인 PvdA, GroenLinks, Volt와 여당인 BBB의 AI 분야 활동을 비교할 때, 지난 1년간 보여준 입장과 견해에 부합하는 단기적인 협력 방안은 무엇일까요? OpenTK의 자료를 참고해 주세요."
예시 2: 기후 정책에 대한 의회 논의 조사
사용자 질의: "네덜란드의 기후 정책과 배출량 감축 목표에 대한 최근 의회 토론을 분석하고 싶습니다. 지난 6개월 동안 주요 논의 내용과 각 정당의 주요 입장을 파악하는 데 도움을 주시겠습니까?"
예 3: 특정 의원의 투표 기록에 대한 정보
사용자 질의: "피터 옴치히트 의원의 의료 개혁 법안에 대한 투표 기록은 어떠하며, 그의 입장은 다른 무소속 의원들과 어떻게 다릅니까? 이 주제에 대해 발의한 안건이 있습니까?"
예제 4: 최근 주택 관련 법률 개발 사항 찾기
사용자 질의: "지난 한 해 동안 저렴 주택 관련 법률에 관한 가장 중요한 의회 문서와 논의는 무엇입니까? 저는 특히 임대 시장 위기를 해결하는 제안에 관심이 있습니다."
예제 5: 특정 위원회 위원을 보유한 국회의원 찾기
사용자 질의: "현재 재무위원회와 경제위원회에서 활동하는 국회의원은 누구입니까? 이들은 어떤 정당을 대표하며, 최근 공동 이니셔티브를 제출했습니까?"
예시 6: 디지털 보안에 관한 향후 의회 활동 식별
사용자 질의: "다음 달 사이버 보안 및 디지털 인프라 관련 위원회 회의나 토론이 예정되어 있습니까? 어떤 장관들이 참석하며 구체적으로 어떤 주제를 다룰 예정입니까?"
프로젝트 개념
OpenTK 프로젝트는 표준화된 인터페이스를 통해 네덜란드 의회 데이터에 접근할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 대규모 언어 모델(LLM)과 네덜란드 의회 정보 시스템을 연결하는 다리 역할을 하며, AI 비서가 의회 문서, 토론, 의원 정보를 검색, 조회 및 분석할 수 있도록 지원합니다.
이 서버는 @modelcontextprotocol/sdk 사용하여 AI 모델과 외부 데이터 소스 간의 구조화된 통신을 지원하는 MCP 사양을 구현합니다. OpenTK는 잘 정의된 도구와 엔드포인트를 통해 의회 데이터를 노출함으로써 AI 비서가 다음과 같은 작업을 수행할 수 있도록 지원합니다.
복잡한 쿼리를 사용하여 의회 문서 검색
국회의원에 대한 정보에 접근하세요
다양한 형식의 공식 문서를 검색하고 문서의 전체 내용을 읽어보세요.
의회 활동 및 절차 분석
입법 사례 및 정부 공약 추적
이 프로젝트는 Bert Hubert의 tkconv 서비스를 기본 데이터 소스로 활용하는데, 이는 네덜란드 의회의 공식 API보다 접근성이 높은 API를 제공합니다.
설치
1. NPM 패키지와 함께 Claude Desktop 사용
Claude 구성 파일을 업데이트하세요(~/Library/Application Support/Claude/claude_desktop_config.json):
지엑스피1
2. 출처로부터
복제 저장소:
git clone https://github.com/r-huijts/opentk-mcp.git
cd opentk-mcp종속성 설치:
npm install프로젝트 빌드:
npm run build서버를 시작합니다:
npm start2. Claude Desktop 구성
Claude 구성 파일을 업데이트하세요.
{
"mcpServers": {
"opentk-mcp-local": {
"command": "node",
"args": [
"/absolute/path/to/your/opentk-mcp/dist/index.js"
]
}
}
}/absolute/path/to/your/opentk-mcp/ 실제 설치 경로로 바꿔야 합니다.
검색 기능
검색 기능은 특히 정교하며 다음을 지원합니다.
간단한 키워드 검색:
kunstmatige intelligentie정확한 구문 검색:
"kunstmatige intelligentie"제외 검색:
Hubert NOT Bruls부울 연산자:
OR,NEAR()
구현은 다양한 예외 사례를 처리합니다.
검색 쿼리에서 따옴표를 유지합니다.
적절한 콘텐츠 유형 헤더를 사용합니다.
API 오류에 대한 대체 메커니즘을 구현합니다.
의미 있는 오류 메시지를 제공합니다
오류 처리
API 서비스에는 강력한 오류 처리 기능이 포함되어 있습니다.
API 오류(4xx, 5xx)의 우아한 처리
복잡한 쿼리가 실패하면 단순화된 쿼리로 대체
디버깅을 위한 자세한 오류 메시지
stderr에 대한 적절한 로깅(stdout이 아닌, stdio 전송을 중단시킴)
구성
이 서버는 Bert Hubert의 tkconv 서비스를 주요 데이터 소스로 사용하여 연결하며, 이 서비스는 공식 네덜란드 의회 API보다 접근성이 뛰어난 API를 제공합니다. Bert Hubert가 개발한 이 서비스는 네덜란드 의회 데이터를 개발자 친화적인 형식으로 수집, 정리 및 제공하는 중요한 작업을 수행합니다. 저희 MCP 서버는 이러한 기반을 바탕으로 AI 비서가 이 귀중한 데이터와 상호 작용할 수 있는 표준화된 인터페이스를 구축합니다.
특허
MIT
결론
OpenTK MCP 서버는 네덜란드 의회 데이터에 대한 강력하고 체계적인 인터페이스를 제공하여 모델 컨텍스트 프로토콜(Model Context Protocol)을 통해 AI 지원자가 데이터에 접근할 수 있도록 지원합니다. 모듈식 설계, 포괄적인 API, 그리고 철저한 테스트를 통해 AI 지원 연구, 분석 및 정보 검색을 위한 의회 정보에 대한 안정적인 접근을 보장합니다.
구성이 완료되면 Claude는 OpenTK MCP 서버를 통해 네덜란드 의회 데이터에 접근할 수 있습니다. 이 서버는 위 "사용법" 섹션에 설명된 모든 도구를 제공합니다.
Available Tools
14 toolsbirthdays_todayA
Lists all Members of Parliament celebrating their birthday today, including their names, political parties, and birth dates. The response is a JSON array where each entry contains the MP's ID, name, party affiliation, and other details. Use this tool when a user specifically asks about birthdays, wants to know which MPs are celebrating today, or needs to create 'on this day' content. This tool takes no parameters as it always returns today's birthdays. For a more general overview that includes birthdays along with other parliamentary information, use the 'get_overview' tool instead. If you need to display an MP's photo alongside their birthday information, you can use the 'get_photo' tool with the MP's ID from this response.
Inputs: no named parameters.
get_committee_detailsA
Retrieves detailed information about a specific parliamentary committee, including its members, recent activities, and description. This provides deeper insight into the committee's composition, leadership roles, and recent work. Use this when you need comprehensive information about a particular committee's structure and activities.
Inputs: committeeId (required).
get_committeesA
Retrieves a list of all parliamentary committees with their IDs, names, and URLs. The response is a JSON array where each entry represents a committee with its unique identifier and name. Use this tool when a user asks about parliamentary committees, wants to know which committees exist, or needs to find committees related to specific policy areas. Committees are specialized groups of MPs that focus on specific domains like defense, healthcare, or finance. After getting the list of committees, you can use the 'get_committee_details' tool with a specific committee ID to retrieve more detailed information about that committee, including its members and recent activities. This tool takes no parameters as it returns all active committees.
Inputs: no named parameters.
get_document_contentA
Downloads a parliamentary document and extracts its text content for use in the conversation. This tool retrieves the actual content of a document based on its ID, making it available for analysis, summarization, or direct reference in the conversation. The text is extracted from PDF or Word (DOCX) documents using professional libraries and returned in a readable format.
IMPORTANT: For longer documents, the content may be truncated. The response includes pagination information to help you retrieve the complete document:
isTruncated: Indicates whether there is more content available
totalLength: The total length of the document content
currentOffset: The starting position of the current content chunk
nextOffset: The starting position for the next content chunk (use this as the 'offset' parameter in your next call)
remainingLength: The amount of content remaining after the current chunk
To retrieve the complete document, you can make multiple calls to this tool, incrementing the offset each time:
Example usage:
First call: get_document_content({docId: '2025D18220'})
If the response shows isTruncated=true, call again with the nextOffset value: get_document_content({docId: '2025D18220', offset: 8000})
Continue until isTruncated=false or you've retrieved all the content you need.
This pagination approach allows you to analyze even very long documents within the conversation context.
Use this tool when you need to analyze or discuss the specific content of a document rather than just its metadata.
Inputs: docId (required), offset.
get_document_detailsA
Retrieves metadata about a parliamentary document in a structured JSON format, without downloading the actual document content. Returns information including title, type, document number, dates, version number, and clickable links to both the PDF version and the official Tweede Kamer webpage. This tool is ideal for getting quick information about a document and obtaining the relevant links for further access. To actually download the document content, use the 'download_document' tool instead.
Inputs: nummer (required).
get_document_linksA
Converts document URLs into clickable links. This tool takes either a direct PDF link or a Tweede Kamer webpage link and returns them as properly formatted clickable links. Use this after get_document_details to make the URLs clickable.
Inputs: pdfUrl, tkUrl.
get_overviewA
Provides a comprehensive overview of recent parliamentary activities, including the most recent documents and MPs celebrating birthdays today. This is the ideal starting point for any parliamentary data exploration. The response contains structured data with two main sections: 'recentDocuments' (listing the latest parliamentary documents with their IDs, titles, types, dates, and URLs) and 'birthdays' (listing MPs celebrating birthdays today). The results are paginated with 10 documents per page, and you can navigate through pages using the 'page' parameter. The tool can be used iteratively to retrieve subsequent pages of results - first call with page=1, then check the pagination.hasMoreDocuments field in the response, and if true, call again with page=2, and so on. This allows you to 'scroll' through all available documents when needed. The response includes pagination information showing the current page, whether more documents are available, and the total number of documents retrieved. Use this tool first when a user asks for general information about recent parliamentary activities or needs a starting point for research. After getting this overview, you can use other tools like 'get_document_details' to retrieve more information about specific documents, 'search_tk' to find documents on specific topics, or 'get_photo' to retrieve photos of MPs mentioned in the birthdays section.
Inputs: page.
get_photoA
Retrieves the official portrait photograph of a Member of Parliament. Returns the image as a binary resource that can be displayed or saved. Use this when you need to include a visual representation of an MP in reports, presentations, or profiles.
Inputs: personId (required).
get_upcoming_activitiesA
Retrieves a list of upcoming parliamentary activities including debates, committee meetings, and other events. The response contains a structured JSON object with both a chronological list of activities and activities grouped by date. Each activity includes details like date, time, location, committee, type, and a URL for more information. Use this tool when a user asks about the parliamentary agenda, wants to know what events are coming up, or needs information about specific types of parliamentary activities. The results are sorted by date with the most imminent activities first. You can limit the number of results using the optional 'limit' parameter. This tool is particularly useful for helping users plan which parliamentary sessions to follow or for providing an overview of the upcoming parliamentary schedule.
Inputs: limit.
get_voting_resultsA
Retrieves recent voting results on parliamentary motions and bills. The response contains a structured JSON object with voting results sorted by date (newest first). Each result includes detailed information such as the title of the motion/bill, the date of the vote, the submitter, whether it was accepted or rejected, the vote counts (for/against), and which political parties voted for or against. Use this tool when a user asks about recent parliamentary votes, wants to know how parties voted on specific issues, or needs to analyze voting patterns. You can control the number of results with the 'limit' parameter and choose between 'full' or 'summary' format. The 'summary' format provides a more structured representation with renamed fields, while both formats include complete party voting information. This tool is particularly valuable for tracking political alignments, understanding coalition dynamics, and analyzing how different parties position themselves on important issues.
Inputs: format, limit.
list_personsA
Provides a complete directory of current Members of Parliament with their IDs, names, titles, party affiliations, and faction memberships. The response is a JSON array where each entry contains an MP's full details. Use this tool when a user needs comprehensive information about all MPs, wants to analyze the composition of parliament by party, or needs to find specific MPs by name or party. This tool is particularly useful for creating reports about parliamentary representation or for finding the IDs of MPs that can be used with other tools like 'get_photo'. This tool takes no parameters as it returns all current MPs. For a more targeted approach when looking for specific MPs, consider using the 'search_tk' tool with the MP's name.
Inputs: no named parameters.
search_by_categoryA
Performs a search specifically for documents of a certain category, such as questions, motions, or letters. The response contains a structured JSON object with paginated results and metadata. Use this tool when a user wants to find documents of a specific type that match certain keywords or when they need more targeted search results than the general search provides. The 'category' parameter lets you filter by document type: 'vragen' for parliamentary questions, 'moties' for motions, or 'alles' for all document types. The search syntax supports advanced queries: 'Joe Biden' finds documents with both terms anywhere, '"Joe Biden"' (with quotes) finds exact phrases, 'Hubert NOT Bruls' finds documents with 'Hubert' but not 'Bruls' (capital NOT is required), and you can use 'OR' for alternatives. Results are sorted by date with the most recent documents first. This tool is particularly useful for finding specific types of parliamentary documents on a given topic.
Inputs: category (required), query (required), limit, page.
search_tkA
Performs a comprehensive search across all parliamentary data including documents, activities, and cases. Returns results matching the provided keyword or phrase. Use this for general searches when you need information on any topic discussed in parliament, regardless of document type or context. Search syntax: Searching for 'Joe Biden' finds documents containing both 'Joe' and 'Biden' anywhere in the text. Searching for "Joe Biden" (with quotes) finds only documents where these words appear next to each other. Searching for 'Hubert NOT Bruls' finds documents containing 'Hubert' but not 'Bruls'. The capital letters in 'NOT' are important. You can also use 'OR' and 'NEAR()' operators.
Inputs: query (required), format, limit, page.
search_tk_filteredA
Performs a targeted search within a specific category of parliamentary data. Unlike the general search, this tool allows you to limit results to only documents, activities, or cases. Use this when you need more focused search results within a particular content type. Search syntax: Searching for 'Joe Biden' finds documents containing both 'Joe' and 'Biden' anywhere in the text. Searching for "Joe Biden" (with quotes) finds only documents where these words appear next to each other. Searching for 'Hubert NOT Bruls' finds documents containing 'Hubert' but not 'Bruls'. The capital letters in 'NOT' are important. You can also use 'OR' and 'NEAR()' operators.
Inputs: query (required), type (required), format, limit, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have distinct purposes, but there is notable overlap between search_tk, search_tk_filtered, and search_by_category, which could confuse agents about which to use for document searches. Additionally, get_document_details and get_document_content serve different functions but might be misselected due to similar naming and domain overlap. The descriptions help clarify, but the boundaries are not perfectly clear.
The naming follows a consistent verb_noun pattern (e.g., get_overview, list_persons, search_tk) with minor deviations like birthdays_today (noun_verb) and get_document_links (which could be named more consistently as get_document_links or similar). Overall, the pattern is readable and mostly predictable, with only a few inconsistencies.
With 14 tools, the count is well-scoped for a parliamentary data server, covering MPs, committees, documents, activities, and searches. Each tool appears to serve a specific purpose without redundancy, fitting within the typical 3-15 range for such a domain.
The tool set provides comprehensive coverage for parliamentary data, including CRUD-like operations for documents (get, search), MPs (list, get photo), committees (list, get details), and activities (get overview, get upcoming). Minor gaps include no explicit update or delete tools, but this is reasonable for a read-only data source, and agents can work around this with the available search and retrieval tools.
Maintenance
Related MCP Connectors
Dutch Parliament (Tweede Kamer) open data MCP.
Source-anchored search and civic intelligence for Dutch municipal council records.
Live Dutch open data for AI assistants: transport, weather, water, traffic, housing, government.
Search everything said in the Dutch House of Representatives since 1995, with source links.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides programmatic access to official German Bundestag parliamentary data, enabling LLMs to answer questions about legislation, voting records, and members.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to query and retrieve real-time open data, documents, protocols, and records from the Swedish Parliament (Riksdag) and Government Offices through 32 specialized MCP tools.32MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query Swedish Parliament open data through natural language.74 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides access to Dutch Parliament (Tweede Kamer) open data through MCP tools, enabling querying of parliamentary information via natural language.68 npmMIT