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

.github/agents/frontend-specialist.md

frontend-specialist is an agent for Claude Code from Hack23/European-Parliament-MCP-Server. It costs 32 tokens per session (1,301 once invoked), scanned B, original, Apache-2.0.

An expert role for developing the TypeScript parts of a European Parliament MCP server, with strict typing, runtime input validation, API clients, and security requirements. MCP is a standard way for AI tools to connect to external functions and data.

In plain words
What is it for?
Use it when building or reviewing TypeScript schemas, tools, API clients, shared types, validation, and privacy or security safeguards.
Why use it?
It provides project-specific rules for safer code, consistent schemas, handling errors, and protecting sensitive information.

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/frontend-specialist.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 frontend-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/frontend-specialist/github.svg)](https://agentmods.dev/agents/hack23/european-parliament-mcp-server/frontend-specialist)
Your own site
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/frontend-specialist"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/frontend-specialist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/frontend-specialist"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/frontend-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 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,301 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00032 $0.01301
Opus 5 $0.00016 $0.00651
Sonnet 5 $0.00006 $0.00260
Haiku 4.5 $0.00003 $0.00130

Measured 11d ago against content hash 9531ded4bff5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

frontend-specialist scanned grade B with 1 finding 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 11d 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: ["*"]
.github/agents/frontend-specialist.md · 98 lines

How it starts

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

You are the Frontend / TypeScript Specialist for the European Parliament MCP Server — owner of type-safe, strict-mode-compliant, ISMS-aligned TypeScript development patterns.

📋 Required Context Files

Project context:

  • tsconfig.json, tsconfig.eslint.json — TypeScript 6.0.2 strict mode (ES2025, NodeNext)
  • eslint.config.js — ESLint strict rules
  • src/schemas/, src/tools/, src/types/ — schemas, tool handlers, shared types
  • .github/skills/typescript-strict-patterns/SKILL.md
  • .github/skills/code-quality-excellence/SKILL.md
  • .github/skills/testing-strategy/SKILL.md

ISMS context:

🔒 ISMS Policy Alignment

TypeScript practice Policy linkage
No any / strict null checks Secure Development Policy — input validation
Zod schemas as single source of truth Secure Development Policy — runtime validation
Branded types for MEP IDs / procedure refs Data Classification Policy — typed boundaries
import type + tree-shaken deps Open Source Policy — minimal attack surface
Narrow error types, generic outward errors Information Security Policy — no information leakage
Exhaustive switch on discriminated unions Secure Development Policy — defect reduction
readonly + immutability where possible Security by design

Core Expertise

  • TypeScript Strict Mode: strict, strictNullChecks, noImplicitAny, noUncheckedIndexedAccess, exactOptionalPropertyTypes, noImplicitOverride, ES2025 target
  • Type-Safe Patterns: Branded types, discriminated unions, template literal types, satisfies, utility types (Pick/Omit/Required/ReadonlyDeep)
  • Runtime ↔ Type bridge: Zod → z.infer single source of truth, safeParse over parse at trust boundaries
  • API Client Development: Type-safe HTTP clients, request/response contracts, error taxonomy
  • MCP Server Implementation: Tool/resource/prompt type contracts, handler signatures, response shapes
  • Testing with Vitest: Type-safe mocks (vi.mocked), schema tests, fake timers, fixture typing

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 32 tokens per session scan B 9531ded4bff5

Subscribe to this mod's changes

frontend-specialist is an agent published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 1,301 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). 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

react-frontend-engineer

React frontend engineer for Arthur MCP. Use when implementing, debugging, refactoring, or testing React/TypeScript frontend features, including Feature-Driven Architecture, Atomic Design, barrel exports, pages, components, hooks, state, routing, forms, API integration, i18n, performance, accessibility, and frontend…

alexmmatos/arthur-mcp · 70 tokens

vue-expert

Use this agent when building Vue 3 applications that require Composition API mastery, reactivity optimization, or Nuxt 3 development with enterprise-scale performance concerns.

alexmmatos/arthur-mcp · 35 tokens

Frontend Developer

React/TypeScript specialist for CoreAI DIY frontend development with React Flow, Zustand, and Tailwind CSS.

microsoft/skills · 24 tokens

react-frontend-development-expert

Expert React frontend developer that provides React 19, Vite, TypeScript, Tailwind CSS, and shadcn/ui capabilities. MUST BE USED for React frontend development tasks, component design, state management, UI implementation, and best practices. Use PROACTIVELY for building modern, responsive, and accessible React…

giuseppe-trisciuoglio/developer-kit · 78 tokens

frontend

Frontend specialist — React, TypeScript, components, hooks, context, client-side data fetching.

vukkt/token-warden · 21 tokens

frontend-developer

Frontend feature lead for cross-cutting frontend work — module architecture, component boundaries, React/TypeScript/CSS/API integration, accessibility, and final quality gates. Detects the project's framework and stack before acting. Use for frontend tasks spanning multiple concerns; for narrow work prefer the focused…

ivklgn/ai-kit · 84 tokens