MCP server for DOCDB patent ID disambiguation
Project description
docdb-mcp
An MCP server that resolves patent publication numbers to their canonical DOCDB identifiers.
What it does
Given a country code and publication number, resolve_docdb_id returns candidate
records with canonical DOCDB ID (including kind code), first inventor, publication
date, and family ID. This is useful for asserting that DOCDB identifiers are
correct, or for recovering properly normalized DOCDB identifiers from
citations that appear in different formats across documents:
US 8,000,000 (Greenberg)→US8000000B2
Installation
Option 1 — Hosted endpoint (no install)
A public MCP server is available at https://docdb.sarl-graip.fr/mcp using the
streamable HTTP transport. Configure your MCP client to point at it directly:
{
"mcpServers": {
"docdb": {
"type": "streamable-http",
"url": "https://docdb.sarl-graip.fr/mcp"
}
}
}
No API key or credentials required.
Option 2 — Local install via uvx
Add this to your MCP client configuration (Claude Desktop, Continue, Cursor, etc.):
{
"mcpServers": {
"docdb": {
"command": "uvx",
"args": ["docdb-mcp"],
"env": {
"DOCDB_API_URL": "https://docdb.sarl-graip.fr"
}
}
}
}
uvx installs and runs the package in one step — no virtualenv needed.
Tool reference
resolve_docdb_id(cc, number)
| Parameter | Type | Description |
|---|---|---|
cc |
str |
Two-letter DOCDB country code, e.g. "US", "EP", "WO" |
number |
str |
Publication number without kind code, e.g. "8000000" |
Strip the kind code before calling. The kind code is the trailing letter+digit suffix (B2, A1, A2, U1). Passing it returns an empty list, not an error.
"US8000000B2" → cc="US", number="8000000"
"EP1234567A1" → cc="EP", number="1234567"
"US 8,000,000" → cc="US", number="8000000"
Returns a list of records (empty list = no match):
[
{
"docdb_id": "US8000000B2",
"inventor": "ROBERT J. GREENBERG",
"date_publ": "20110816",
"family_id": "39183031"
}
]
Multiple records mean the same publication number has several document variants (e.g. an A1 and a B2 of the same application).
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docdb_mcp-0.1.2.tar.gz.
File metadata
- Download URL: docdb_mcp-0.1.2.tar.gz
- Upload date:
- Size: 64.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.20 {"installer":{"name":"uv","version":"0.9.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa16e3be5f594c05b0c06785d2c4b5d88e54b9957b205ad9202b6c9d0c7eef9b
|
|
| MD5 |
6954057b7f498f149a3884e96517d204
|
|
| BLAKE2b-256 |
4297d855cb61b620f74f5e4936b676a111dfd2dc04f331299e70096e3f34a785
|
File details
Details for the file docdb_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: docdb_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.20 {"installer":{"name":"uv","version":"0.9.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae0d5c05b18427db44e74c0eaf5fd0fa91c63304496d61de1f7466a7e5e2b2c2
|
|
| MD5 |
085a25876668c05c56f47b75782cb1a8
|
|
| BLAKE2b-256 |
a762e8f6ad936a790a26aa334dd7d0f091043d4465138de26af2cb8a1eb4c2e0
|