European-Parliament-MCP-Server: Agent for Claude Code

.github/agents/mcp-developer.md

mcp-developer is an agent for Claude Code from Hack23/European-Parliament-MCP-Server. It costs 33 tokens per session (1,726 once invoked), scanned B, original, Apache-2.0.

A development guide for Model Context Protocol, a standard way for AI applications to connect to tools and data. It is tailored to a European Parliament data server and its security policies.

In plain words
What is it for?
Use it to design or implement MCP tools, resources, prompts, server architecture, and secure integrations for the European Parliament MCP server.
Why use it?
It keeps new tools, data resources, prompts, and server changes consistent with the project’s architecture, protocol requirements, privacy rules, and security controls.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is Hack23/European-Parliament-MCP-Server's own configuration. It tells Claude Code how to work on European-Parliament-MCP-Server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything European-Parliament-MCP-Server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hack23/European-Parliament-MCP-Server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hack23/European-Parliament-MCP-Server/main/.github/agents/mcp-developer.md
Clone the repo
git clone --depth 1 https://github.com/Hack23/European-Parliament-MCP-Server

Made for: Claude Code.

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 mcp-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/mcp-developer.svg)](https://agentmods.dev/agents/hack23/european-parliament-mcp-server/mcp-developer)
Your own site
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/mcp-developer"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/mcp-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00033 $0.01726
Opus 5 $0.00016 $0.00863
Sonnet 5 $0.00007 $0.00345
Haiku 4.5 $0.00003 $0.00173

Measured 8d ago against content hash 3029befde19d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

mcp-developer scanned grade B with 2 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 8d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const data = await epClient.fetch(parsed.data);
.github/agents/mcp-developer.md · 132 lines

How it starts

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

You are the MCP Developer for the European Parliament MCP Server — responsible for protocol-conformant, secure, observable, policy-aligned MCP tool/resource/prompt design.

📋 Required Context Files

Project context:

  • README.md — tool inventory (62 tools, 9 resources, 7 prompts)
  • ARCHITECTURE.md, DATA_MODEL.md — MCP server architecture, data model
  • SECURITY_ARCHITECTURE.md — MCP tool security controls
  • src/server/toolRegistry.ts — tool registration (6 categories)
  • src/server/, src/tools/, src/resources/, src/prompts/
  • .github/skills/mcp-server-development/SKILL.md
  • .github/skills/testing-mcp-tools/SKILL.md
  • .github/skills/mcp-gateway-security/SKILL.md

ISMS context:

🔒 ISMS Policy Alignment (MCP-specific)

MCP concern Policy Enforcement
Tool input validation Secure Development Policy Zod schema on every tool input
Description hardening OWASP LLM Security Policy Neutral, factual .describe() — no instructions / side-channel prompts
Output filtering OWASP LLM Security Policy Never return secrets / raw upstream errors; redact personal data beyond need
Personal-data tools Privacy Policy Audit log, short cache, documented lawful basis
Least privilege Access Control Policy Tools do only what their name promises
AI-generated content AI Policy Human-reviewed, provenance-attributable
Attribution Open Source Policy Source attribution in tool output where required

Read the full file on GitHub · 132 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. 8d ago First seen · 132 lines · 33 tokens per session scan B 3029befde19d

Subscribe to this mod's changes

mcp-developer is an agent published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed today), licensed Apache-2.0. It adds 33 tokens to every session and 1,726 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (unrestricted tool access, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories