OpenTK Dutch Parliament MCP server

Provides a bridge to Dutch parliamentary data through Bert Hubert's tkconv service, enabling search across documents, MP information retrieval, and access to official records for political research and civic engagement.
Back to servers
Setup instructions
Provider
R Huijts
Release date
Apr 23, 2025
Language
TypeScript
Package
Stats
109 downloads
14 stars

This server provides seamless access to Dutch parliamentary data for large language models through a standardized interface. With OpenTK, you can easily search and analyze documents, debates, and information about Members of Parliament from the Tweede Kamer (Dutch House of Representatives).

Installation Options

Quick Start with NPM Package

The simplest way to get started is using the published NPM package:

npx @r-huijts/opentk-mcp

Configuring with Claude Desktop

To integrate with Claude Desktop, update your Claude configuration file located at ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "opentk": {
      "command": "npx",
      "args": [
        "-y",
        "@r-huijts/opentk-mcp"
      ]
    }
  }
}

Alternative Setup for Python MultiServerMCPClient

If you're using the Python MultiServerMCPClient:

mcp_client = MultiServerMCPClient({
    "opentk": {
        "command": "npx",
        "args": ["-y", "@r-huijts/opentk-mcp"],
        "transport": "stdio",
    }
})

Installation from Source

If you need to modify the code:

  1. Clone the repository:
git clone https://github.com/r-huijts/opentk-mcp.git
cd opentk-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start the server:
npm start
  1. For local development with Claude Desktop, configure:
{
  "mcpServers": {
    "opentk-local": {
      "command": "node",
      "args": [
        "/absolute/path/to/your/opentk-mcp/dist/index.js"
      ]
    }
  }
}

Using the Search Functionality

The OpenTK MCP server offers powerful search capabilities for Dutch parliamentary data:

Search Query Options

  • Simple keyword search: kunstmatige intelligentie
  • Exact phrase search: "kunstmatige intelligentie"
  • Exclusion search: Hubert NOT Bruls
  • Boolean operators: OR, NEAR()

The search functionality handles various edge cases and provides meaningful error messages when searches fail.

Example Usage Scenarios

Comparing Party Positions on Policy Issues

Query example: "When comparing the activities of opposition parties PvdA, GroenLinks, and Volt with government party BBB in the Dutch House of Representatives in the field of AI, what are actions they can undertake together?"

Researching Parliamentary Debates

Query example: "I'd like to analyze recent parliamentary debates on climate policy and emission reduction targets in the Netherlands over the past six months."

Investigating MP Voting Records

Query example: "What is MP Pieter Omtzigt's voting record on healthcare reform legislation, and how does his position differ from other independent members?"

Finding Recent Legislation

Query example: "What are the most significant parliamentary documents and debates about affordable housing legislation from the past year?"

Committee Membership Information

Query example: "Which MPs currently serve on both the Finance Committee and the Economic Affairs Committee?"

Upcoming Parliamentary Activities

Query example: "Are there any scheduled committee meetings or debates about cybersecurity and digital infrastructure planned for the next month?"

Once configured, your LLM assistant will be able to access all these capabilities through the OpenTK MCP server, providing rich insights into Dutch parliamentary activities.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "opentk" '{"command":"npx","args":["-y","@r-huijts/opentk-mcp"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "opentk": {
            "command": "npx",
            "args": [
                "-y",
                "@r-huijts/opentk-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "opentk": {
            "command": "npx",
            "args": [
                "-y",
                "@r-huijts/opentk-mcp"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later