projectstructure

projectstructure is a cursor rule for Cursor from r-huijts/opentk-mcp. It costs 1,293 tokens per session, scanned A, original, MIT.

A project-structure guide for OpenTK, a Model Context Protocol server that lets AI assistants access Dutch parliamentary information. It describes the project’s modules and the data and services behind them.

In plain words
What is it for?
Use it when working on tools for searching parliamentary documents, retrieving members or official files, examining debates and legislation, or tracking government pledges.
Why use it?
It gives contributors context about what the server connects to and what kinds of parliamentary information it exposes. That makes changes easier to place correctly and reduces confusion about the project’s external data source.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/r-huijts/opentk-mcp/projectstructure
Clone the repo
git clone --depth 1 https://github.com/r-huijts/opentk-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for projectstructure

README.md
[![agentmods](https://agentmods.dev/badge/rules/r-huijts/opentk-mcp/projectstructure.svg)](https://agentmods.dev/rules/r-huijts/opentk-mcp/projectstructure)
Your own site
<a href="https://agentmods.dev/rules/r-huijts/opentk-mcp/projectstructure"><img src="https://agentmods.dev/badge/rules/r-huijts/opentk-mcp/projectstructure.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,293 This file is loaded in full into every session.
When invoked 1,293 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01293 $0.01293
Opus 5 $0.00647 $0.00647
Sonnet 5 $0.00259 $0.00259
Haiku 4.5 $0.00129 $0.00129

Measured 5d ago against content hash 39bdea3a8383, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

projectstructure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/projectstructure.mdc · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenTK Model Context Protocol Server

Project Concept

The OpenTK project is a Model Context Protocol (MCP) server that provides access to Dutch parliamentary data through a standardized interface. It serves as a bridge between large language models (LLMs) and the Dutch Parliament's information systems, allowing AI assistants to search, retrieve, and analyze parliamentary documents, debates, and member information.

The server uses the @modelcontextprotocol/sdk to implement the MCP specification, which enables structured communication between AI models and external data sources. By exposing parliamentary data through well-defined tools and endpoints, OpenTK makes it possible for AI assistants to:

  1. Search for parliamentary documents using complex queries
  2. Access information about Members of Parliament
  3. Retrieve official documents in various formats
  4. Analyze parliamentary activities and proceedings
  5. Track legislative cases and government pledges

The project leverages Bert Hubert's tkconv service as its primary data source, which provides a more accessible API than the official Dutch Parliament APIs.

Project Structure

The project follows a modular structure:

opentk-mcp/
├── src/
│   ├── index.ts                # Main entry point and MCP tool definitions
│   ├── config.ts               # Configuration settings
│   ├── services/
│   │   └── api.ts              # Core API service for data fetching
│   ├── utils/
│   │   └── html-parser.js      # Utilities for parsing HTML responses
│   └── __tests__/              # Test files
│       ├── api-service.test.ts # Tests for API service
│       └── endpoint-integration.test.ts # Integration tests
├── dist/                       # Compiled JavaScript output
├── package.json                # Project dependencies and scripts
└── tsconfig.json               # TypeScript configuration

API Service Endpoints

The ApiService class in src/services/api.ts provides the core functionality for interacting with the tkconv API. Here are the key methods:

Read the full file on GitHub · 143 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 143 lines · 1,293 tokens per session scan A 39bdea3a8383

Subscribe to this mod's changes

projectstructure is a cursor rule published in the GitHub repository r-huijts/opentk-mcp (21 stars, last pushed 10mo ago), licensed MIT. It adds 1,293 tokens to every session, about $0.0065 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.