mcp-eu-sparql
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)".
Related MCP server: cellar-wrapper
Stack
Node 18+
@modelcontextprotocol/sdkStdio 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 stdioWpię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.jsPowinno 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.
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/mcp-eu-sparql'
If you have feedback or need assistance with the MCP directory API, please join our Discord server