wikidata-google-knowledge-mcp 0.2.0__tar.gz
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.
- wikidata_google_knowledge_mcp-0.2.0/.claude-plugin/marketplace.json +28 -0
- wikidata_google_knowledge_mcp-0.2.0/.claude-plugin/plugin.json +33 -0
- wikidata_google_knowledge_mcp-0.2.0/.cursor-plugin/plugin.json +23 -0
- wikidata_google_knowledge_mcp-0.2.0/.gitignore +14 -0
- wikidata_google_knowledge_mcp-0.2.0/CHANGELOG.md +58 -0
- wikidata_google_knowledge_mcp-0.2.0/LICENSE +21 -0
- wikidata_google_knowledge_mcp-0.2.0/PKG-INFO +515 -0
- wikidata_google_knowledge_mcp-0.2.0/README.md +486 -0
- wikidata_google_knowledge_mcp-0.2.0/SECURITY.md +24 -0
- wikidata_google_knowledge_mcp-0.2.0/assets/logo.svg +14 -0
- wikidata_google_knowledge_mcp-0.2.0/benchmarks/replay_benchmark.py +226 -0
- wikidata_google_knowledge_mcp-0.2.0/benchmarks/results/live.json +74 -0
- wikidata_google_knowledge_mcp-0.2.0/benchmarks/results/replay.json +211 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/demo/demo.cast +933 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/demo/demo.txt +150 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/demo/record_demo.py +149 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/privacy.md +58 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/assets/site.css +126 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/assets/site.js +40 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/batch.md +103 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/benchmark.md +99 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/index.md +83 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/install.md +156 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/resolution.md +156 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/tools.md +61 -0
- wikidata_google_knowledge_mcp-0.2.0/docs/site/troubleshooting.md +92 -0
- wikidata_google_knowledge_mcp-0.2.0/examples/entities.jsonl +6 -0
- wikidata_google_knowledge_mcp-0.2.0/mcp.json +14 -0
- wikidata_google_knowledge_mcp-0.2.0/plugin.json +47 -0
- wikidata_google_knowledge_mcp-0.2.0/pyproject.toml +91 -0
- wikidata_google_knowledge_mcp-0.2.0/scripts/build_site.py +351 -0
- wikidata_google_knowledge_mcp-0.2.0/scripts/check_public_tree.py +251 -0
- wikidata_google_knowledge_mcp-0.2.0/scripts/make_example_bundle.py +37 -0
- wikidata_google_knowledge_mcp-0.2.0/scripts/mcp_smoke.py +44 -0
- wikidata_google_knowledge_mcp-0.2.0/scripts/mint_pypi_token.py +44 -0
- wikidata_google_knowledge_mcp-0.2.0/server.json +32 -0
- wikidata_google_knowledge_mcp-0.2.0/skills/wikidata-google-knowledge/SKILL.md +66 -0
- wikidata_google_knowledge_mcp-0.2.0/skills/wikidata-google-knowledge/reference.md +103 -0
- wikidata_google_knowledge_mcp-0.2.0/skills/wikidata-google-knowledge/resolution.md +164 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/__init__.py +1 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/arbitration.py +283 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/batch.py +367 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/budget.py +46 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/cache.py +157 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/cli.py +353 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/compact.py +114 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/config.py +174 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/errors.py +40 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/evidence.py +169 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/evidence_export.py +508 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/google_kg.py +165 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/kinds.py +166 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/mcp_server.py +154 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/normalize.py +356 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/policy.py +253 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/reconcile.py +456 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/redact.py +40 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/resolver.py +808 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/secrets.py +90 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/service.py +535 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/sparql_guard.py +87 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/store.py +103 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/wikidata.py +275 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/wikidata_bulk.py +387 -0
- wikidata_google_knowledge_mcp-0.2.0/src/wikidata_google_knowledge_mcp/wikidata_parse.py +180 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/__init__.py +0 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fakes.py +119 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fakes_bulk.py +277 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/resolver/evidence_bundle_example/decisions.jsonl +4 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/resolver/evidence_bundle_example/evidence.jsonl +4 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/resolver/evidence_bundle_example/manifest.json +15 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/resolver/evidence_bundle_example/validation.json +21 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/resolver/wikidata_captures.json +1324 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/hierarchy_Q193375_d1.txt +10 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/search_carnegie_hall.txt +50 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/search_fox_theatre.txt +50 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/search_primavera_sound_es.txt +25 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/search_tate_modern.txt +50 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/search_unmatched.txt +50 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/statements_Q193375.txt +128 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/fixtures/wikidata/values_Q193375_P131.txt +12 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_arbitration.py +147 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_batch.py +258 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_cache.py +54 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_cli_and_mcp.py +128 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_compact.py +45 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_evidence.py +113 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_evidence_export.py +357 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_google_kg.py +150 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_help_and_entrypoints.py +118 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_public_tree.py +71 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_resolver.py +470 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_resolver_units.py +133 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_service.py +245 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_site_build.py +124 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_skill_static.py +80 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_sparql_guard.py +77 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_wikidata_client.py +163 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/test_wikidata_parse.py +112 -0
- wikidata_google_knowledge_mcp-0.2.0/tests/world.py +171 -0
- wikidata_google_knowledge_mcp-0.2.0/uv.lock +1182 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wikidata-google-knowledge-mcp",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "DondeGo"
|
|
5
|
+
},
|
|
6
|
+
"description": "Wikidata + Google Knowledge Graph MCP: token-efficient Wikidata and Google Knowledge Graph MCP server and skill.",
|
|
7
|
+
"plugins": [
|
|
8
|
+
{
|
|
9
|
+
"name": "wikidata-google-knowledge-mcp",
|
|
10
|
+
"displayName": "Wikidata + Google Knowledge Graph MCP",
|
|
11
|
+
"source": "./",
|
|
12
|
+
"description": "Token-efficient MCP for Wikidata and Google Knowledge Graph search, entity resolution, relationships and deterministic identity reconciliation.",
|
|
13
|
+
"version": "0.2.0",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"mcp",
|
|
17
|
+
"wikidata",
|
|
18
|
+
"google-knowledge-graph",
|
|
19
|
+
"knowledge-graph",
|
|
20
|
+
"entity-resolution",
|
|
21
|
+
"entity-linking",
|
|
22
|
+
"semantic-web",
|
|
23
|
+
"ai-agents"
|
|
24
|
+
],
|
|
25
|
+
"repository": "https://gitlab.com/revanalex/wikidata-google-knowledge-mcp"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wikidata-google-knowledge-mcp",
|
|
3
|
+
"displayName": "Wikidata + Google Knowledge Graph MCP",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"description": "Token-efficient MCP for Wikidata and Google Knowledge Graph search, entity resolution, relationships and deterministic identity reconciliation.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "DondeGo",
|
|
8
|
+
"url": "https://dondego.com/"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://wikidata-google-knowledge-mcp-1be269.gitlab.io/",
|
|
11
|
+
"repository": "https://gitlab.com/revanalex/wikidata-google-knowledge-mcp",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"wikidata",
|
|
16
|
+
"google-knowledge-graph",
|
|
17
|
+
"knowledge-graph",
|
|
18
|
+
"entity-resolution",
|
|
19
|
+
"entity-linking",
|
|
20
|
+
"semantic-web",
|
|
21
|
+
"ai-agents"
|
|
22
|
+
],
|
|
23
|
+
"mcpServers": {
|
|
24
|
+
"wikidata-google-knowledge": {
|
|
25
|
+
"command": "uvx",
|
|
26
|
+
"args": [
|
|
27
|
+
"--from",
|
|
28
|
+
"git+https://gitlab.com/revanalex/wikidata-google-knowledge-mcp@v0.2.0",
|
|
29
|
+
"wikidata-google-knowledge-mcp"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wikidata-google-knowledge-mcp",
|
|
3
|
+
"description": "Token-efficient MCP for Wikidata and Google Knowledge Graph search, entity resolution, relationships and deterministic identity reconciliation.",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "DondeGo",
|
|
7
|
+
"url": "https://dondego.com/"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://wikidata-google-knowledge-mcp-1be269.gitlab.io/",
|
|
10
|
+
"repository": "https://gitlab.com/revanalex/wikidata-google-knowledge-mcp",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"mcp",
|
|
14
|
+
"wikidata",
|
|
15
|
+
"google-knowledge-graph",
|
|
16
|
+
"knowledge-graph",
|
|
17
|
+
"entity-resolution",
|
|
18
|
+
"entity-linking",
|
|
19
|
+
"semantic-web",
|
|
20
|
+
"ai-agents"
|
|
21
|
+
],
|
|
22
|
+
"logo": "https://gitlab.com/revanalex/wikidata-google-knowledge-mcp/-/raw/v0.2.0/assets/logo.svg"
|
|
23
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The project follows
|
|
4
|
+
[Semantic Versioning](https://semver.org/); before 1.0 minor versions may change behaviour.
|
|
5
|
+
|
|
6
|
+
## [0.2.0] - 2026-09-28
|
|
7
|
+
|
|
8
|
+
Discovery and first-use release. Resolver policy and decision records are unchanged.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Documentation site built from this repository (`scripts/build_site.py`) and published with
|
|
13
|
+
GitLab Pages: installation for Claude Code, Cursor and Codex, a tool reference generated from
|
|
14
|
+
the MCP tool schemas, entity resolution, batch and evidence, benchmark and troubleshooting.
|
|
15
|
+
- Reproducible offline benchmark (`benchmarks/replay_benchmark.py`) replaying captured Wikidata
|
|
16
|
+
MCP responses, and a recorded live demo with its recorder script and text transcript.
|
|
17
|
+
- `server.json` for the official MCP Registry (PyPI package, stdio) and the matching
|
|
18
|
+
`mcp-name` ownership marker in the README. The registry entry is published only after the
|
|
19
|
+
package is live on PyPI and the namespace's domain proof is in place.
|
|
20
|
+
- `wdkg --version`; `wikidata-google-knowledge-mcp --help` and `--version`, which answer without
|
|
21
|
+
starting the stdio protocol. Unknown arguments are reported on stderr, never on stdout.
|
|
22
|
+
- Release pipeline: build once, verify the wheel and sdist in clean environments, publish the
|
|
23
|
+
same files to PyPI with Trusted Publishing and attestations, attach checksums to the GitLab
|
|
24
|
+
release.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- `wdkg --help` and every subcommand's help now carry examples, a plain explanation of
|
|
29
|
+
`AUTO_MATCH`, `HOLD`, `AMBIGUOUS`, `CONFLICT` and `NO_CANDIDATE`, and the exit codes; every
|
|
30
|
+
`resolve` flag has a description.
|
|
31
|
+
- `--pretty` and `--no-cache` are accepted after the subcommand as well as before it.
|
|
32
|
+
- The missing Google key message says where to put the key and that Wikidata works without it;
|
|
33
|
+
`wdkg status` adds a `setup` hint for Google when no key is present. The error code
|
|
34
|
+
(`not_configured`) is unchanged.
|
|
35
|
+
- Package metadata: documentation URL, source URL, keywords; plugin manifests point to the
|
|
36
|
+
documentation site.
|
|
37
|
+
|
|
38
|
+
## [0.1.0] - 2026-09-27
|
|
39
|
+
|
|
40
|
+
First public release.
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
|
|
44
|
+
- Stdio MCP server `wikidata-google-knowledge-mcp` with five read-only tools: `kg_search`,
|
|
45
|
+
`kg_entity`, `kg_related`, `kg_resolve` and `kg_status`.
|
|
46
|
+
- `wdkg` CLI over the same core: `search`, `entity`, `related`, `sparql` (guarded),
|
|
47
|
+
`status`, `cache`, `resolve`, `resolve-batch`, `export-evidence`, `validate-evidence`.
|
|
48
|
+
- Compact outputs: at most 5 candidates (3 by default), selected properties, byte-budgeted
|
|
49
|
+
responses, bounded relationships and hierarchy.
|
|
50
|
+
- Deterministic entity resolution with closed-vocabulary evidence and conflict codes, kind
|
|
51
|
+
rules for places, organizations, people, events, event series and works, and explicit
|
|
52
|
+
`HOLD` / `AMBIGUOUS` / `NO_CANDIDATE` results.
|
|
53
|
+
- Optional Google Knowledge Graph support with exact joins to Wikidata P646 (`/m/`) and
|
|
54
|
+
P2671 (`/g/`), kept separate from local identity evidence.
|
|
55
|
+
- Resumable JSONL batch resolver with request budgets, cache reuse, per-row errors and an
|
|
56
|
+
auditable evidence export.
|
|
57
|
+
- Portable Agent Skill and plugin manifests for Claude Code, Codex, Cursor and the Agent
|
|
58
|
+
Plugins format.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DondeGo.com team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|