MCP Eu Sparql logo

MCP Eu Sparql

Searches EU legislation, CJEU case law, and GDPRhub decisions through live legal-data APIs.

Install MCP Eu Sparql

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-eu-sparql": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-sparql"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @matematicsolutions/mcp-eu-sparql

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 11d ago.

Overview

The mcp-eu-sparql MCP server queries EU legislation and Court of Justice of the European Union case law through the Publications Office SPARQL endpoint. It also searches GDPRhub for national data-protection authority decisions and GDPR commentary. The server runs over stdio and returns structured citation metadata, including titles, URLs, CELEX or ECLI identifiers, dates, snippets, and licenses when available. Reach for it when an agent needs current EU legal sources or CJEU materials identified by legal identifiers, dates, or title keywords.

Use cases

  • Find an EU act by CELEX number
  • Search CJEU judgments by ECLI or title keywords
  • Filter EU acts by date and document type
  • Locate national data-protection authority decisions
  • Return citations for EU legal research

Key features

  • CELEX and ECLI lookup
  • Date-range searches for EU acts
  • CJEU judgments, orders, and Advocate-General opinion search
  • GDPRhub full-text search
  • Structured citation metadata
  • Stdio transport

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 51d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 22h ago via OSV.dev · @matematicsolutions/mcp-eu-sparql (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads472Package downloads in the last 30 days.
Last commit14d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Eu Sparql works

What mcp-eu-sparql does

mcp-eu-sparql MCP server exposes searches across EU legal materials without requiring a local corpus. Its primary source is the European Commission Publications Office Cellar repository, accessed through its SPARQL endpoint. The available corpus includes EU acts and Court of Justice of the European Union materials such as judgments, orders, and Advocate-General opinions.

A separate search connects to GDPRhub, a MediaWiki-based project containing national data-protection authority decisions from across the EU and commentary on GDPR articles. GDPRhub content is marked with its CC BY-NC-SA 4.0 license in returned citation data.

How it works

The mcp-eu-sparql MCP server uses the MCP stdio transport. Cellar requests are sent as HTTP POST calls to the Publications Office SPARQL endpoint and parsed from SPARQL JSON results. GDPRhub requests use HTTP GET calls to its MediaWiki API. The source data is queried live rather than loaded from a bundled offline database.

Each tool response provides a structuredContent.citations array. Citation objects can contain a title, URL, CELEX identifier, ECLI identifier, publication date, document type, snippet, and license. This makes the results suitable for clients or legal interfaces that display source references separately from the answer text.

Setup and configuration

The published npm package can be launched with Node.js 18 or newer:

Terminal
npx -y @matematicsolutions/mcp-eu-sparql

A stdio client configuration uses npx as the command and passes -y plus the package name as arguments. To build locally, install dependencies, run the project build, and start node dist/index.js. No environment variables are documented as required. The server is also described as working with any MCP client that supports stdio.

Tools and capabilities

  • search_by_celex(celex, lang?) retrieves an EU act or judgment using a CELEX number.
  • search_by_date_range(date_from, date_to, document_type?, lang?, limit?) finds acts between two dates, optionally filtered by document type such as regulation, directive, decision, recommendation, or opinion.
  • search_cjeu(query?, date_from?, date_to?, document_type?, lang?, limit?) searches CJEU judgments, orders, and Advocate-General opinions. The optional query targets title text, including parties, case numbers, or keywords.
  • search_cjeu_by_ecli(ecli, lang?) retrieves a CJEU judgment by its ECLI identifier.
  • search_gdprhub(query, limit?) performs full-text searches across GDPRhub decisions and GDPR article commentary.

The Cellar CJEU collection is reported as containing judgments, orders, and Advocate-General opinions with CELEX and ECLI identifiers. The cited counts are time-sensitive because the source is queried live.

Limitations and notes

Queries depend on the availability and behavior of the remote Cellar and GDPRhub services. The tool-specific language, date, document-type, and result-limit parameters should be used according to each search operation’s documented interface. GDPRhub citations carry a non-commercial share-alike content license, even though the MCP project itself is licensed under MIT.

Results are source lookups, not legal advice. When using GDPRhub material, preserve the returned license information and citation metadata. The repository includes offline tests for query builders and parsers, plus a live smoke test for all five tools, but those tests do not remove the server’s dependence on its external data sources.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Eu Sparql

mcp-eu-sparql is an MCP server that connects AI clients to the EU Publications Office Cellar SPARQL endpoint and GDPRhub. Its main tools search acts by CELEX, CJEU materials by ECLI or query, acts by date range, and GDPRhub decisions or commentary, returning structured citations with source metadata.

Install it by running `npx -y @matematicsolutions/mcp-eu-sparql` or adding that command and its arguments to an MCP client’s stdio configuration. Local builds require Node.js 18 or newer, `npm install`, `npm run build`, and `node dist/index.js`.

It searches EU legislation and CJEU case law through the Publications Office Cellar SPARQL endpoint, plus national data-protection authority decisions and GDPR article commentary through GDPRhub. CJEU searches cover judgments, orders, and Advocate-General opinions.

Yes. The repository states that mcp-eu-sparql works with any MCP client, and it uses the standard stdio transport. Configure Cursor with the package’s `npx` command and arguments shown in the repository’s MCP client configuration example.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Eu Sparql AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-eu-sparql?style=directory)](https://allmcps.com/mcp/mcp-eu-sparql)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-eu-sparql"><img src="https://allmcps.com/api/badge/mcp-eu-sparql?style=directory" alt="MCP Eu Sparql on AllMCPs" /></a>