CCM
/MCP
SkillsMCPMarketplacesDigestLearnAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Learn
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Eur Lex Mcp Server

cyanheads/eur-lex-mcp-server
STDIO, HTTPregistry active
Summary

Plugs Claude directly into the European Union's CELLAR database and EUR-Lex content APIs. Seven tools cover the full research workflow: keyword search across 2.7 million legislative acts with EuroVoc subject filtering, full-text retrieval in 24 languages, CELEX and ELI citation resolution, CJEU case law search, and graph traversal for amendments, consolidations, and legal basis chains. Raw SPARQL access included when you need custom CDM ontology queries. Built on the public CELLAR endpoint, so no API key required. Reach for this when you're doing EU regulatory analysis, tracking transposition measures, or need structured access to treaties and directives instead of scraping HTML.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
Put your SEO on autopilot
Put your SEO on autopilot
An agent that runs the SEO playbooks that move rankings and ships PRs you control.
Get founding access →
Vibe Prospecting MCPVibe Prospecting MCP
Vibe Prospecting MCP
Connect Claude to +800M contacts, +150M companies. Find & Enrich leads in chat.
Try For Free →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
Put your SEO on autopilot
Put your SEO on autopilot
An agent that runs the SEO playbooks that move rankings and ships PRs you control.
Get founding access →
Vibe Prospecting MCPVibe Prospecting MCP
Vibe Prospecting MCP
Connect Claude to +800M contacts, +150M companies. Find & Enrich leads in chat.
Try For Free →
Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
Put your SEO on autopilot
Put your SEO on autopilot
An agent that runs the SEO playbooks that move rankings and ships PRs you control.
Get founding access →
Vibe Prospecting MCPVibe Prospecting MCP
Vibe Prospecting MCP
Connect Claude to +800M contacts, +150M companies. Find & Enrich leads in chat.
Try For Free →

Configuration

CELLAR_SPARQL_ENDPOINTdefault: http://publications.europa.eu/webapi/rdf/sparql

CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror).

EURLEX_CONTENT_BASE_URLdefault: https://eur-lex.europa.eu

EUR-Lex content API base URL override.

SPARQL_QUERY_TIMEOUT_MSdefault: 55000

Client-side timeout for SPARQL requests in milliseconds.

MAX_SPARQL_RESULTSdefault: 100

Enforced ceiling on LIMIT in all generated SPARQL queries.

MCP_LOG_LEVELdefault: info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

MCP_HTTP_HOSTdefault: 127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORTdefault: 3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATHdefault: /mcp

The endpoint path for the MCP server.

MCP_PUBLIC_URL

Public origin for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).

MCP_AUTH_MODEdefault: none

Authentication mode to use: 'none', 'jwt', or 'oauth'.

Categories
Search & Web Crawling
Registryactive
Package@cyanheads/eur-lex-mcp-server
TransportSTDIO, HTTP
UpdatedJun 7, 2026
View on GitHub

@cyanheads/eur-lex-mcp-server

Search EU legislation, CJEU case law, and treaties; traverse the CELLAR relationship graph; resolve EuroVoc concepts via MCP. STDIO or Streamable HTTP.

7 Tools • 2 Resources • 1 Prompt

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework

Public Hosted Server: https://eur-lex.caseyjhand.com/mcp


Tools

Seven tools covering EU legal research — document discovery, content retrieval, citation resolution, case law, relationship graph traversal, EuroVoc thesaurus lookup, and raw SPARQL access:

ToolDescription
eurlex_search_documentsSearch EU legislation, treaties, and preparatory acts across the CELLAR corpus. Filters by document type, date range, EuroVoc concept, author institution, and in-force status.
eurlex_get_documentFetch structured metadata and full text (HTML or Formex4 XML) for a work by CELEX number or ELI URI.
eurlex_lookup_celexResolve any EU legal citation — CELEX number, ELI URI, or Official Journal reference — to the canonical CELLAR work.
eurlex_get_casesSearch CJEU and General Court case law — judgments, orders, and Advocate General opinions — by case number, party name, subject, or date range.
eurlex_get_relationsTraverse the CELLAR relationship graph: amendment chain, consolidated versions, legal basis, citation network, and national transposition measures.
eurlex_browse_subjectsSearch the EuroVoc multilingual thesaurus to resolve human-readable terms to EuroVoc concept IDs — required before using the eurovoc_concept filter in eurlex_search_documents.
eurlex_query_sparqlExecute a raw SPARQL SELECT query against the CELLAR Virtuoso endpoint. Results capped at 100; use only when curated tools don't cover the needed CDM ontology traversal.

eurlex_search_documents

Search EU legislation, treaties, preparatory acts, and more across the 2.7M+ work CELLAR corpus.

  • Keyword search across work titles and CELEX string patterns
  • Filter by document type (REG, DIR, DEC, TREATY, and more)
  • Date range filtering (date_from, date_to)
  • EuroVoc concept filtering — use eurlex_browse_subjects first to resolve concept IDs
  • Filter to in-force acts only
  • Pagination via offset and configurable limit (max 100)
  • Returns CELEX numbers, work URIs, document types, and dates for chaining into eurlex_get_document

eurlex_get_document

Fetch the notice and full text of an EU legal act.

  • Accepts CELEX numbers (e.g., 32016R0679) or ELI URIs
  • Returns structured metadata: title, date, document type, author institution, legal basis, EuroVoc subjects, in-force flag
  • Full text in HTML (default) or Formex4 XML
  • Supports all 24 official EU languages; defaults to English with automatic fallback when a translation is unavailable
  • Older acts and some CJEU judgments may lack English translations

eurlex_lookup_celex

Resolve EU legal identifiers to canonical CELLAR works.

  • Accepts CELEX numbers, ELI URIs, and Official Journal references
  • Auto-detects format with identifier_type: "auto" (default); set explicitly when auto-detection fails
  • Returns work URI, confirmed CELEX number, document type, and date — the prerequisite step before eurlex_get_document or eurlex_get_relations

eurlex_get_cases

Search CJEU and General Court case law.

  • Case-specific search: case number, keyword, court (CJEU or GC), and case type (judgment, order, ag_opinion)
  • Date range filtering
  • Returns case identifier, court, date, document type, and parties
  • Distinct from eurlex_search_documents — case law (CELEX sector 6) has its own search parameters and practitioner workflows

eurlex_get_relations

Traverse the CELLAR relationship graph for a given work.

  • Amendment chain (what amends it, what it amends)
  • Consolidated versions (the current in-force text)
  • Legal basis
  • Citation network (cdm:work_cites_work in both directions)
  • National transposition measures
  • Filter to specific relation types or retrieve all at once
  • Returns one-hop relations; multi-hop traversal requires multiple calls or eurlex_query_sparql

eurlex_browse_subjects

Resolve human-readable terms to EuroVoc concept IDs.

  • Full-text search across the multilingual EuroVoc thesaurus
  • Returns concept URI, preferred label, concept code, and broader/narrower hierarchy hints
  • Supports all EU official languages; defaults to English
  • Required before using the eurovoc_concept filter in eurlex_search_documents

Resources and prompts

TypeNameDescription
Resourceeurlex://document/{celexNumber}Metadata snapshot for a CELLAR work — type, date, title, author institution, in-force flag
Resourceeurlex://document/{celexNumber}/relationsRelationship summary for a work: amendment chain, consolidations, legal basis, cited-by count
Prompteurlex_comparative_analysisFrames a comparative legal analysis across EU and US law for a given policy domain

All resource data is also reachable via tools. Resources provide stable-URI injectable context for agents that support MCP resources.


Features

Built on @cyanheads/mcp-ts-core:

  • Declarative tool, resource, and prompt definitions — single file per primitive, framework handles registration and validation
  • Unified error handling — handlers throw, framework catches, classifies, and formats
  • Pluggable auth: none, jwt, oauth
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • STDIO and Streamable HTTP transports

EUR-Lex-specific:

  • No API key required — both CELLAR SPARQL and EUR-Lex REST content endpoints are publicly accessible
  • CellarSparqlService POSTs application/x-www-form-urlencoded SPARQL with CDM prefix declarations built in; server-side LIMIT enforcement (max 100) prevents Virtuoso timeout abuse
  • EurLexContentService fetches full HTML or Formex4 XML via the canonical legal-content/{LANG}/TXT/ URL pattern (CELLAR work URIs return 400 on direct GET — this avoids that)
  • Virtuoso error classification: HTTP 200 with Virtuoso 37000 Error body is parsed and re-raised as ServiceUnavailable (transient/timeout) or InvalidParams (syntax error)
  • Language fallback on document fetch: if the requested language is unavailable, retries with English; returns metadata-only with a note when English also fails
  • Typed error contracts on every tool — structured reason codes let agents branch on outcomes without parsing text

Agent-friendly output:

  • EuroVoc prerequisite guidance in server-level instructions — agents are directed to eurlex_browse_subjects before attempting concept-filtered searches
  • eurlex_lookup_celex surfaces CELEX confirmation and work existence upfront, preventing downstream errors in document or relation fetches
  • Typed unavailable reasons and language_unavailable signals let agents retry or explain to users with structured data, not string parsing
  • Relationship graph output carries relation type labels alongside CELLAR URIs and resolved CELEX numbers for human-readable downstream use

Getting started

Public Hosted Instance

A public instance is available at https://eur-lex.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:

{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "type": "streamable-http",
      "url": "https://eur-lex.caseyjhand.com/mcp"
    }
  }
}

Self-Hosted / Local

Add the following to your MCP client configuration file. No API key is required.

{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/eur-lex-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}

Or with npx (no Bun required):

{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cyanheads/eur-lex-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}

Or with Docker:

{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "MCP_TRANSPORT_TYPE=stdio",
        "ghcr.io/cyanheads/eur-lex-mcp-server:latest"
      ]
    }
  }
}

For Streamable HTTP, set the transport and start the server:

MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp

Prerequisites

  • Bun v1.3.11 or higher (or Node.js v24+).
  • No API key needed — EUR-Lex and CELLAR are publicly accessible.

Installation

  1. Clone the repository:
git clone https://github.com/cyanheads/eur-lex-mcp-server.git
  1. Navigate into the directory:
cd eur-lex-mcp-server
  1. Install dependencies:
bun install
  1. Configure environment (optional):
cp .env.example .env
# All server-specific vars have sensible defaults — no required vars

Configuration

All configuration is validated at startup via Zod schemas in src/config/server-config.ts.

VariableDescriptionDefault
CELLAR_SPARQL_ENDPOINTCELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror).http://publications.europa.eu/webapi/rdf/sparql
EURLEX_CONTENT_BASE_URLEUR-Lex content API base URL override.https://eur-lex.europa.eu
SPARQL_QUERY_TIMEOUT_MSClient-side timeout for SPARQL requests in milliseconds.55000
MAX_SPARQL_RESULTSEnforced ceiling on LIMIT in all generated SPARQL queries.100
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_HTTP_PORTPort for HTTP server.3010
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none
MCP_LOG_LEVELLog level (RFC 5424).info
LOGS_DIRDirectory for log files (Node.js only).<project-root>/logs
OTEL_ENABLEDEnable OpenTelemetry instrumentation.false

See .env.example for the full list of optional overrides.


Running the server

Local development

  • Build and run:

    # One-time build
    bun run rebuild
    
    # Run the built server
    bun run start:stdio
    # or
    bun run start:http
    
  • Run checks and tests:

    bun run devcheck   # Lint, format, typecheck, security
    bun run test       # Vitest test suite
    bun run lint:mcp   # Validate MCP definitions against spec
    

Docker

docker build -t eur-lex-mcp-server .
docker run --rm -p 3010:3010 eur-lex-mcp-server

The Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/eur-lex-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.


Project structure

DirectoryPurpose
src/index.tscreateApp() entry point — registers tools, resources, and prompts; initializes services.
src/configServer-specific environment variable parsing and validation with Zod.
src/services/cellar-sparqlCELLAR SPARQL service — POST client, binding mapper, LIMIT enforcement, CDM PREFIX declarations.
src/services/eurlex-contentEUR-Lex content API service — GET client for legal-content/{LANG}/TXT/ URL pattern with language fallback.
src/mcp-server/toolsTool definitions (*.tool.ts). Seven tools across document search, retrieval, resolution, case law, relations, EuroVoc, and raw SPARQL.
src/mcp-server/resourcesResource definitions (*.resource.ts). Metadata and relations resources.
src/mcp-server/promptsPrompt definitions (*.prompt.ts). Comparative analysis prompt.
tests/Unit and integration tests mirroring src/.

Development guide

See CLAUDE.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for request-scoped logging, ctx.state for tenant-scoped storage
  • Register new tools and resources via the barrels in src/mcp-server/*/definitions/index.ts
  • Wrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields

Contributing

Issues and pull requests are welcome. Run checks and tests before submitting:

bun run devcheck
bun run test

License

Apache-2.0 — see LICENSE for details.

Related Search & Web Crawling MCP Servers

View all →
Brave Search

io.github.pipeworx-io/brave-search

Brave Search MCP — independent web index (no Google/Bing dependency)
Serper Search and Scrape

marcopesani/mcp-server-serper

Serper MCP Server supporting search and webpage scraping
154
Brave Search Mcp Server

brave/brave-search-mcp-server

Brave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
1.2k
Google Search Console

com.mcparmory/google-search-console

Query search analytics, manage sitemaps, and inspect site URLs and status
25
Google Search Console

acamolese/google-search-console-mcp

Google Search Console MCP server: SEO audits, performance queries, URL inspection, indexing checks.
3
Google Search Console

io.github.sarahpark/google-search-console

Google Search Console MCP server — search analytics, URL inspection, and sitemaps
2