Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docdb_mcp-0.1.1.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docdb_mcp-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file docdb_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: docdb_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 64.8 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

Hashes for docdb_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 57d1e2fa6570fdc4bbe3e78634de7c88dd27c182de954a9e4a8bd90523472747
MD5 db0bae799f4320c2129f40c3a781da98
BLAKE2b-256 64f94b9171be97f9ca095df2e29b581b1630d67699de4f232079e4a66e552409

See more details on using hashes here.

File details

Details for the file docdb_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: docdb_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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

Hashes for docdb_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 006f6919b37aefd49896477bd15ca78ce8cd8f49f085c8b41d517f894d2b3836
MD5 24aac2c3680d7d727137837a5ad8dc7c
BLAKE2b-256 d09167e95f220377ff874a5d19f94b4f29bb58d9c1471308a5c56f49e13f6890

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page