@matematicsolutions/mcp-eu-sparql 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -11
- package/dist/index.js +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -96,20 +96,15 @@ npm run smoke # live: all 5 tools against Cellar + GDPRhub
|
|
|
96
96
|
|
|
97
97
|
MIT.
|
|
98
98
|
|
|
99
|
-
## Part of
|
|
99
|
+
## Part of MateMatic
|
|
100
100
|
|
|
101
|
-
This
|
|
102
|
-
EU law, used by [Patron](https://github.com/matematicsolutions/patron)
|
|
103
|
-
(AGPL-3.0) and any other MCP-aware legal AI agent.
|
|
101
|
+
This connector queries its source live. It is one of the Polish and EU source connectors bundled in [PATRON](https://github.com/matematicsolutions/patron) and works with any MCP client.
|
|
104
102
|
|
|
105
|
-
-
|
|
106
|
-
- [mcp-
|
|
107
|
-
- [
|
|
108
|
-
- [mcp-isap](https://github.com/matematicsolutions/mcp-isap) - Polish legislation (Dz.U. + M.P.)
|
|
109
|
-
- [mcp-krs](https://github.com/matematicsolutions/mcp-krs) - Polish company registry (KRS)
|
|
103
|
+
- Poland, one server for all sources: [prawo-pl-mcp](https://github.com/matematicsolutions/prawo-pl-mcp) · each source on its own: [mcp-saos](https://github.com/matematicsolutions/mcp-saos) · [mcp-nsa](https://github.com/matematicsolutions/mcp-nsa) · [mcp-isap](https://github.com/matematicsolutions/mcp-isap) · [mcp-krs](https://github.com/matematicsolutions/mcp-krs) · [mcp-eureka](https://github.com/matematicsolutions/mcp-eureka) · [kio-orzeczenia-mcp](https://github.com/matematicsolutions/kio-orzeczenia-mcp)
|
|
104
|
+
- European Union: **mcp-eu-sparql** (this repo) (live) · [mcp-eu-compliance](https://github.com/matematicsolutions/mcp-eu-compliance) (offline corpus)
|
|
105
|
+
- A prepared corpus of Polish and EU law with a citation graph: [Repertorium](https://github.com/matematicsolutions/repertorium)
|
|
110
106
|
|
|
111
|
-
|
|
112
|
-
All five MCP servers share the same `structuredContent.citations`
|
|
107
|
+
`mcp-saos`, `mcp-nsa`, `mcp-isap`, `mcp-krs` and `mcp-eu-sparql` share one `structuredContent.citations`
|
|
113
108
|
contract: each tool returns an array of `{title, url, snippet?, ...metadata}`
|
|
114
109
|
that legal agents can render directly in their citation panel.
|
|
115
110
|
|
package/dist/index.js
CHANGED
|
@@ -297,7 +297,7 @@ function errorResult(text, code) {
|
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
const DATE_RE = /^\d{4}-\d{2}-\d{2}$/;
|
|
300
|
-
const server = new index_js_1.Server({ name: "mcp-eu-sparql", version: "1.2.
|
|
300
|
+
const server = new index_js_1.Server({ name: "mcp-eu-sparql", version: "1.2.1" }, { capabilities: { tools: {} }, instructions: INSTRUCTIONS });
|
|
301
301
|
server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
|
|
302
302
|
tools: TOOLS.map((t) => ({
|
|
303
303
|
name: t.name,
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matematicsolutions/mcp-eu-sparql",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "MCP server - EU legislation and CJEU case law via Publications Office SPARQL (Cellar / EUR-Lex)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"test:descriptors": "node test/descriptor-lock.mjs",
|
|
7
8
|
"build": "tsc",
|
|
8
9
|
"prepare": "tsc",
|
|
9
10
|
"start": "node dist/index.js",
|
|
@@ -11,7 +12,9 @@
|
|
|
11
12
|
"drift": "node test/drift.mjs",
|
|
12
13
|
"test:offline": "node test/offline.mjs",
|
|
13
14
|
"smoke": "node test/smoke.mjs",
|
|
14
|
-
"test": "npm run drift && npm run test:offline"
|
|
15
|
+
"test": "npm run drift && npm run test:offline",
|
|
16
|
+
"test:package": "node test/package-gate.mjs",
|
|
17
|
+
"test:package-gate": "node --test test/package-gate.test.mjs"
|
|
15
18
|
},
|
|
16
19
|
"keywords": [
|
|
17
20
|
"mcp",
|