mcp-eu-sparql
MCP server for EU law via the EUR-Lex / Cellar SPARQL endpoint — legislation (ELI/CELEX) and CJEU case-law (ECLI) with verifiable citations.
README
mcp-eu-sparql
MCP server dla prawa UE i orzecznictwa CJEU przez Publications Office SPARQL (Cellar / EUR-Lex).
Tooly
search_by_celex(celex, lang?)— pojedynczy akt po numerze CELEX (np.32016R0679= RODO).search_by_date_range(date_from, date_to, document_type?, lang?, limit?)— akty z zakresu dat, opcjonalnie zawęzone do typu (REG / DIR / DEC / RECO / OPIN).search_cjeu(date_from?, date_to?, lang?, limit?)— wyroki (JUDG) i postanowienia (ORDER) Trybunału Sprawiedliwości UE.
Każda zwrotka zawiera structuredContent.citations z polami title, url (EUR-Lex),
celex, publication_date, document_type — Patron czyta to pole i wystawia
w panelu UI jako sekcję "Akty prawa UE (EUR-Lex / CJEU)".
Stack
- Node 18+
@modelcontextprotocol/sdk- Stdio transport (jak
mcp-saos) - Backend: HTTP POST na
https://publications.europa.eu/webapi/rdf/sparqlzformat=application/sparql-results+json
Build + uruchomienie
npm install
npm run build
node dist/index.js # uruchomi serwer na stdio
Wpięcie do Patrona
W patron/backend/mcp-servers.json:
[
{
"name": "saos",
"transport": "stdio",
"command": "node",
"args": ["C:/Users/<TWOJ-UZYTKOWNIK>/mcp-saos/dist/index.js"]
},
{
"name": "eu-sparql",
"transport": "stdio",
"command": "node",
"args": ["C:/Users/<TWOJ-UZYTKOWNIK>/mcp-eu-sparql/dist/index.js"]
}
]
Smoke test
# RODO po CELEX, tytuł po polsku
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_by_celex","arguments":{"celex":"32016R0679","lang":"POL"}}}' \
| node dist/index.js
Powinno zwrócić Rozporzadzenie Parlamentu Europejskiego ... z polskim tytułem
i URL EUR-Lex.
Licencja
MIT.
Part of the MateMatic legal stack
This server is one of five MCP connectors covering Polish jurisdiction + EU law, used by Patron (AGPL-3.0) and any other MCP-aware legal AI agent.
- mcp-eu-sparql (this repo) — EU law + CJEU (EUR-Lex / Cellar)
- mcp-saos — common courts, SN, TK, KIO
- mcp-nsa — NSA + 16 WSA administrative courts
- mcp-isap — Polish legislation (Dz.U. + M.P.)
- mcp-krs — Polish company registry (KRS)
All five MCP servers share the same structuredContent.citations
contract: each tool returns an array of {title, url, snippet?, ...metadata}
that legal agents can render directly in their citation panel.
See matematicsolutions/.github for the full org profile.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.