
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

An MCP server that provides Claude Desktop and other MCP clients with tools for searching USPTO patent and trademark data, prosecution history, PTAB proceedings, and trademark status.
USPTO Patent & Trademark MCP Server is cataloged as an MCP server attributed to riemannzeta. An MCP server that provides Claude Desktop and other MCP clients with tools for searching USPTO patent and trademark data, prosecution history, PTAB proceedings, and trademark status. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for USPTO Patent & Trademark MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. The server can serve the MCP endpoint over HTTP so one deployment can back a whole team, and requests are stateless by default for running behind a load balancer.
No. The PPUBS patent tools, trademark search tools and trademark assignment search work without any API key, while ODP/PTAB tools need an ODP key and TSDR tools need a separate TSDR key.
README.md · 64282299bc90 · 采集于 2026-11-13 09:03:36 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
An MCP server (Python SDK 2.x, MCPServer) for accessing United States Patent and Trademark Office (USPTO) patent and trademark data through multiple APIs including the Patent Public Search API, the Open Data Portal (ODP) API, PTAB API v3, the TSDR trademark status API, and USPTO trademark search. Using this server, Claude Desktop can pull data from USPTO APIs, search through PTAB proceedings and decisions, research prosecution history, run trademark clearance searches, track trademark status, and more:

For an introduction to MCP servers see Introducing the Model Context Protocol.
Special thanks to Parker Hancock, author of the amazing Patent Client project, for blazing the trail to understanding of the string of requests and responses needed to pull data through the Public Search API.
This server provides 42 tools across six live USPTO data sources (23 more, for APIs USPTO has shut down, stay in the code behind ENABLE_LEGACY_TOOLS):
It runs locally over stdio for Claude Desktop and Claude Code, or over HTTP as a shared, stateless service — see Remote hosting over HTTP.
Note on unavailable APIs: The PatentsView API (search.patentsview.org) was shut down on March 20, 2026, with its data migrated to ODP bulk datasets. The Office Action and Enriched Citation APIs (developer.uspto.gov) were decommissioned in early 2026; office action search, rejections and citations have since returned on ODP (
odp_search_office_actions,get_office_action_rejections,get_office_action_citations). The Patent Litigation API is not offered on the USPTO Open Data Portal; litigation data is available as a bulk download. The 23 affected tools stay in the code but are not registered by default, since their schemas cost every client about 6k tokens per session and they can only fail; setENABLE_LEGACY_TOOLS=trueto register them, and each returns workaround guidance pointing to a live tool.
| Source | Description | Auth Required | Status |
|---|---|---|---|
| ppubs.uspto.gov | Full text documents, PDF downloads, advanced search (daily updates) | No | Active |
| api.uspto.gov (ODP) | Metadata, continuity, transactions, assignments, prosecution history | Yes (ODP API Key) | Active |
| PTAB Trial API | IPR/PGR/CBM proceedings, decisions, appeals | Yes (ODP API Key) | Active (ODP v3.0) |
| tsdrapi.uspto.gov (TSDR) | Trademark status, prosecution documents, mark images | Yes (TSDR API Key — separate from ODP) | Active |
| tmsearch.uspto.gov | Full-text trademark search (internal API behind the TESS replacement) | No | Active (unofficial) |
| assignmentcenter.uspto.gov | Trademark ownership transfer records (1955-present) | No | Active |
| Patent Litigation API | 74,000+ district court patent cases | N/A | Not offered on ODP (issue #16) |
| PatentsView API | Disambiguated inventor/assignee data, advanced search | N/A | Shut down March 2026 |
| ODP Office Action Search | Office actions 2007 on: text search, statutes, art units (text returned to 500 chars) | Yes (ODP API Key) | Active (2026-10) |
| ODP Petition Decisions | Decisions on patent petitions, 1991 on | Yes (ODP API Key) | Active (2026-10) |
| ODP Office Action Rejections & Citations | Claim-level rejections (2012 on) and cited references per office action | Yes (ODP API Key) | Active (2026-10) |
| Office Action APIs (developer.uspto.gov) | Office action text and search | N/A | Decommissioned early 2026 |
mcp>=2,<3)If you're a Python developer but still unfamiliar with uv, you're in for a treat. It's faster and easier than having a separate Python version manager (like pyenv) and setting up, activating, and maintaining virtual environments with venv and pip.
If you don't already have uv installed:
curl -LsSf https://astral.sh/uv/install.sh | sh
uvx downloads and runs the published package on demand. Point Claude Desktop at it in claude_desktop_config.json, passing your API keys in the environment:
{
"mcpServers": {
"patents": {
"command": "uvx",
"args": ["patent-mcp-server"],
"env": {
"USPTO_API_KEY": "your_odp_key",
"TSDR_API_KEY": "your_tsdr_key"
}
}
}
}
or in Claude Code:
claude mcp add patents -e USPTO_API_KEY=your_odp_key -e TSDR_API_KEY=your_tsdr_key -- uvx patent-mcp-server
The keys are optional (see API Key Setup); the PPUBS patent tools, trademark search and assignment search work without any. A .env file is read from the working directory, which under uvx is wherever the client started the server, so pass keys through env as above.
Clone this repository:
git clone https://github.com/riemannzeta/patent_mcp_server
cd patent_mcp_server
Install dependencies with uv:
uv sync
Verify installation:
uv run patent-mcp-server
Should output:
INFO Starting USPTO Patent MCP server with stdio transport
To use the api.uspto.gov tools (ODP, PTAB), you need an Open Data Portal API key. Without it, these endpoints return 403 Forbidden. The Patent Litigation API is not offered on ODP and does not require an API key.
Create a USPTO.gov account at data.uspto.gov (requires ID.me verification)
Once signed in, visit "My ODP" in the site navigation to get your API key
See the Getting Started guide for detailed instructions
Complete your data.uspto.gov customer profile (job title, organization, intended use). ODP deactivates keys whose profile is incomplete, and a key that stops working with 401/403 usually means this.
Create a .env file in the patent_mcp_server directory:
USPTO_API_KEY=your_actual_key_here
Note: The PPUBS patent tools, trademark search (tm_* search tools), and trademark assignment search work without any API key.
The TSDR tools (tsdr_*) require a TSDR-specific API key sent as the USPTO-API-KEY header. The ODP key does not work for TSDR — it passes the gateway's auth check, but every request then fails with BACKEND RESPONSE STATUS: 404.
.env:
TSDR_API_KEY=your_tsdr_key_here
TSDR rate limits (peak hours 5am-10pm ET): 60 requests/minute general, 4 requests/minute for PDF document bundles (120/12 off-peak). Use tsdr_list_trademark_documents (metadata only, not rate-limited like PDFs) before downloading bundles.
tm_search_trademarks / tm_get_trademark use the internal API behind tmsearch.uspto.gov, which sits behind AWS WAF. It currently answers plain requests, but if USPTO tightens the WAF and searches start failing with 403/202 errors, copy the aws-waf-token cookie from a browser session on tmsearch.uspto.gov (valid ~4 days) and set:
TMSEARCH_WAF_TOKEN=your_cookie_value_here
The server can be configured using environment variables in your .env file. All settings are optional with sensible defaults:
# API Keys
USPTO_API_KEY=your_key_here # ODP/PTAB tools
TSDR_API_KEY=your_tsdr_key_here # TSDR trademark tools (separate key — see above)
TMSEARCH_WAF_TOKEN=... # Optional - only if trademark search hits the WAF
# Tool registration
ENABLE_LEGACY_TOOLS=false # Also register the 23 tools for shut-down APIs (they return API_UNAVAILABLE)
# Logging
LOG_LEVEL=INFO # Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# MCP Transport (see "Remote hosting over HTTP" below)
MCP_TRANSPORT=stdio # stdio (default) or streamable-http
MCP_HOST=127.0.0.1 # Bind address when serving over HTTP
MCP_PORT=8000 # Port when serving over HTTP
MCP_PATH=/mcp # URL path of the MCP endpoint
MCP_STATELESS=true # Keep no per-client state between HTTP requests
MCP_JSON_RESPONSE=false # Reply with plain JSON instead of an SSE stream
# HTTP Settings
REQUEST_TIMEOUT=30.0 # Request timeout in seconds
MAX_RETRIES=3 # Maximum number of retry attempts
RETRY_MIN_WAIT=2 # Minimum wait time between retries (seconds)
RETRY_MAX_WAIT=10 # Maximum wait time between retries (seconds)
# Session Management
SESSION_EXPIRY_MINUTES=30 # How long to cache ppubs sessions
ENABLE_CACHING=true # Enable/disable session caching
# API Endpoints (usually don't need to change)
PPUBS_BASE_URL=https://ppubs.uspto.gov
API_BASE_URL=https://api.uspto.gov # ODP API endpoint (NOT data.uspto.gov)
TSDR_BASE_URL=https://tsdrapi.uspto.gov/ts/cd
TMSEARCH_BASE_URL=https://tmsearch.uspto.gov
TM_ASSIGNMENT_BASE_URL=https://assignmentcenter.uspto.gov
CPC_SCHEME_BASE_URL=https://www.uspto.gov/web/patents/classification/cpc/html
To integrate this MCP server with Claude Desktop:
Update your Claude Desktop configuration file (claude_desktop_config.json):
{
"mcpServers": {
"patents": {
"command": "uv",
"args": [
"--directory",
"/Users/username/patent_mcp_server",
"run",
"patent-mcp-server"
]
}
}
}
You can find claude_desktop_config.json on a Mac by opening the Claude Desktop app, opening Settings (from the Claude menu or by Command + ' on the keyboard), clicking "Developer" in the sidebar, and "Edit Config."
Replace /Users/username/patent_mcp_server with the actual path to your patent_mcp_server directory.
When integrated with Claude Desktop, the server will be automatically started when needed and doesn't need to be run separately.
To integrate this MCP server with Claude Code for a particular project, from the project root:
claude mcp add-json patents '{"command": "uv", "args": ["--directory", "/path/to/patent_mcp_server", "run", "patent-mcp-server"]}'
If you're already running Claude Code, you'll have to /exit and restart. Then /mcp to verify that it's configured.
The server speaks stdio by default, which is what the Claude Desktop and Claude Code configurations above launch. It can instead serve the MCP endpoint over HTTP, so one deployment can back a whole team rather than every person running their own copy with their own API keys:
patent-mcp-server --transport streamable-http --host 0.0.0.0 --port 8000
The endpoint is then at http://<host>:8000/mcp. Point an MCP client at
that URL — in Claude Code:
claude mcp add --transport http patents http://your-host:8000/mcp
This endpoint has no authentication of its own, and it holds your USPTO
and TSDR API keys. Anyone who can reach it can spend your USPTO rate
limits. Bind to 127.0.0.1 (the default) and put an authenticating reverse
proxy in front of it, or otherwise restrict network access. The server logs
a warning at startup when it is bound to anything other than loopback.
Requests are stateless by default: the server keeps no per-client state between them, so it can run behind a load balancer with several replicas and no session affinity. Each worker holds its own upstream USPTO Public Search session, which it establishes on demand and refreshes when it expires.
| Flag | Default | Purpose |
|---|---|---|
--transport | stdio | stdio or streamable-http |
--host | 127.0.0.1 | Bind address for HTTP |
--port | 8000 | Port for HTTP |
--path | /mcp | URL path of the MCP endpoint |
--stateful / --no-stateful | off | Keep per-client session state; needs session affinity to scale |
--json-response / --no-json-response | off | Reply with plain JSON instead of an SSE stream |
Each flag has a matching environment variable (see Configuration above); the command line wins where both are set.
| Tool | Description |
|---|---|
check_api_status | Check status of all USPTO APIs |
get_cpc_info | CPC title at any depth (section to subgroup) with hierarchy and children; groups come live from USPTO's scheme pages |
get_status_code | Look up USPTO status code meaning |
get_trademark_class_info | Look up a Nice/international trademark class (1-45) |
get_trademark_status_code | Look up a USPTO trademark status code meaning |
| Tool | Description |
|---|---|
ppubs_search_patents | Search granted patents (full-text, daily updates) |
ppubs_search_applications | Search published patent applications |
ppubs_get_full_document | Get a document by GUID; sections picks biblio, abstract, claims or description |
ppubs_get_patent_by_number | Get a patent's text by number ("US 10,000,000 B2", "D845123" and "RE49123" all work), with the same sections option |
ppubs_get_citing_patents | Forward citations: later granted patents that cite a patent |
ppubs_download_patent_pdf | Download patent as PDF |
| Tool | Description |
|---|---|
odp_get_application | Get basic application data |
odp_search_applications | Search applications with filters |
odp_get_application_metadata | Get comprehensive metadata |
odp_get_continuity | Get patent family/continuity data |
odp_get_assignment | Get ownership/assignment records |
odp_get_adjustment | Get patent term adjustment data |
odp_get_attorney | Get attorney/agent of record |
odp_get_foreign_priority | Get foreign priority claims |
odp_get_transactions | Get prosecution transaction history |
odp_get_documents | List file wrapper documents, filtered by document code (CTNF, CTFR, NOA, REM, CLM, 892…) and direction |
odp_download_document | Read one file wrapper document as plain text (format="text": office actions, remarks, claims with amendment markup) or as PDF |
odp_search_office_actions | Search office actions across applications by text, document code, rejection statute, art unit and date; previews are cut at 500 characters, so read hits with odp_download_document(format="text") |
get_office_action_rejections | Claims rejected, objected to or allowed in each office action, by statute (101/102/103/112/DP), with Alice/Mayo/Myriad/Bilski flags; filter by application, patent, date, art unit or case law |
get_office_action_citations | References each office action cited, with the 102/103 section; cited_reference finds every application whose examiner cited a given patent or publication |
odp_search_petition_decisions | Search petition decisions by text, petition type, outcome, deciding office and date, with outcome counts |
odp_search_datasets | Search bulk data products |
odp_get_dataset | Get dataset product details |
| Tool | Description |
|---|---|
ptab_search_proceedings | Search IPR/PGR/CBM proceedings by patent number, party, status |
ptab_get_proceeding | Get details for a specific proceeding by number |
ptab_get_documents | List documents filed in a proceeding |
ptab_search_decisions | Search PTAB decisions |
ptab_get_decision | Get a specific decision by trial number |
ptab_search_appeals | Search ex parte appeals |
ptab_get_appeal | Get details for a specific appeal |
| Tool | Description |
|---|---|
tsdr_get_trademark_status | Get authoritative live status by serial or registration number |
tsdr_list_trademark_documents | List prosecution document metadata (no rate limit, no downloads) |
tsdr_download_trademark_documents | Download prosecution document bundle as PDF (4/min rate limit) |
tsdr_get_trademark_image | Get the mark image (drawing) as base64 |
| Tool | Description |
|---|---|
tm_search_trademarks | Full-text search by mark text, owner, goods/services, class, live/dead status |
tm_get_trademark | Get a trademark's search-index record by serial number |
tm_search_assignments | Search recorded ownership transfers, 1955-present (Assignment Center, no key) |
Note:
tm_search_trademarksandtm_get_trademarkuse the undocumented internal API behind tmsearch.uspto.gov (the TESS replacement) — the same situation as the PPUBS patent search API. USPTO offers no official REST API for full-text trademark search. The request/response contract was verified live on 2026-06-10, but these tools may break without notice if USPTO changes the internal API. TTAB proceedings (oppositions/cancellations) have no REST API; daily TTAB XML is available as bulk datasets viaodp_search_datasets.
ENABLE_LEGACY_TOOLS=true)The 23 tools below are for APIs USPTO has shut down. They stay in the code and keep their names, but the server registers them only when ENABLE_LEGACY_TOOLS=true, because their schemas cost every client about 6k tokens per session and every call returns API_UNAVAILABLE. Each response carries a workaround naming the live tool that covers the need.
All 4 Litigation tools return API_UNAVAILABLE. The Patent Litigation API is not listed in the ODP Swagger catalog. The OCE Patent Litigation dataset (74,000+ district court cases) is distributed as a bulk download at https://www.uspto.gov/ip-policy/economic-research/research-datasets/patent-litigation-docket-reports-data.
| Tool | Workaround |
|---|---|
search_litigation | OCE Patent Litigation bulk dataset |
get_litigation_case | OCE Patent Litigation bulk dataset |
get_patent_litigation | OCE Patent Litigation bulk dataset or ppubs_search_patents |
get_party_litigation | OCE Patent Litigation bulk dataset |
All 14 PatentsView tools return API_UNAVAILABLE with workaround guidance. PatentsView data has been migrated to the USPTO Open Data Portal as bulk downloadable datasets. Use ppubs_search_patents for patent search, odp_search_datasets to find bulk datasets.
| Tool | Workaround |
|---|---|
patentsview_search_patents | ppubs_search_patents |
patentsview_get_patent | ppubs_get_patent_by_number |
patentsview_search_assignees | ppubs_search_patents with "name".as. query |
patentsview_get_assignee | odp_search_datasets (bulk data) |
patentsview_search_inventors | ppubs_search_patents with "name".in. query |
patentsview_get_inventor | odp_search_datasets (bulk data) |
patentsview_get_claims | ppubs_get_full_document |
patentsview_get_description | ppubs_get_full_document |
patentsview_search_by_cpc | ppubs_search_patents with code.cpc. query |
patentsview_lookup_cpc | get_cpc_info |
patentsview_search_attorneys | odp_get_attorney (per-application) |
patentsview_get_attorney | odp_get_attorney (per-application) |
patentsview_search_by_ipc | ppubs_search_patents with IPC query |
patentsview_lookup_ipc | odp_search_datasets (bulk data) |
These 2 Office Action tools return API_UNAVAILABLE; odp_search_office_actions replaces them. get_office_action_citations and get_office_action_rejections are live again on ODP (v1.8.0).
| Tool | Workaround |
|---|---|
get_office_action_text | odp_search_office_actions(app_num=...) then odp_download_document |
search_office_actions | odp_search_office_actions |
All 3 Enriched Citation tools return API_UNAVAILABLE. Forward citations come from ppubs_get_citing_patents; the references a patent cites are on its front page (ppubs_get_patent_by_number(sections=["biblio"])).
| Tool | Workaround |
|---|---|
get_enriched_citations | ppubs_get_citing_patents (forward) and ppubs_get_patent_by_number(sections=["biblio"]) (backward) |
search_citations | ppubs_get_citing_patents |
get_citation_metrics | ppubs_get_citing_patents — total is the forward-citation count |
The server also provides MCP Resources (accessible via @ mentions):
patents://cpc/{code} - CPC classification information at any depth (groups from USPTO's scheme pages)patents://status-codes - USPTO status code definitionspatents://sources - Data source informationpatents://search-syntax - Query syntax guide (patents and trademarks)trademarks://classes - Nice/international trademark classes (1-45)trademarks://status-codes - Trademark status code definitionsAnd MCP Prompts (workflow templates). Each takes optional arguments; whatever you give is placed in a Subject section ahead of the steps, so the workflow starts with your specifics instead of asking for them:
prior_art_search (invention, keywords, cpc_codes) - Comprehensive prior art search guidepatent_validity_analysis (patent_number) - Patent validity analysis workflowcompetitor_portfolio_analysis (company, technology) - Competitor portfolio analysisptab_proceeding_research (patent_number, proceeding_number, party) - PTAB proceeding research guidefreedom_to_operate (product, cpc_codes) - FTO analysis workflowpatent_landscape (technology, cpc_codes) - Technology landscape mappingtrademark_clearance_search (mark, goods_services, classes) - Trademark clearance/knockout search guidetrademark_portfolio_review (owner) - Trademark portfolio and deadline reviewtrademark_status_monitoring (serial_numbers, mark) - Trademark status and conflict watchingThe project includes comprehensive test suites:
# Run unit tests (default - skips integration tests)
uv run pytest
# Run with verbose output
uv run pytest -v
# Run integration tests (requires network access)
uv run pytest -m integration
# Run all tests including integration
uv run pytest -m ""
# Run with coverage report
uv run pytest --cov=patent_mcp_server
Integration tests save each tool's output to test/test_results/ for inspection. The directory is git-ignored: the files are rewritten on every run and nothing reads them back. Recorded responses that tests depend on belong in test/fixtures/.
The unit suite also runs in CI on every push to main and every pull request, across Python 3.10–3.13 (.github/workflows/tests.yml). Integration tests stay deselected there, so CI needs no API keys.
To install development dependencies:
uv sync --dev
Releases go out through the Publish to PyPI GitHub Actions workflow (.github/workflows/publish.yml), which uploads with PyPI trusted publishing, so no API token is stored anywhere. After the version bump (pyproject.toml and the USER_AGENT in config.py) is merged to main, run the workflow from the Actions tab. It refuses a version PyPI already has, runs the tests, builds, publishes, and creates the vX.Y.Z tag and GitHub release.
To build locally:
rm -rf dist/ && uv run python -m build
Issues and PRs welcome. See CONTRIBUTING.md for the contribution guide, and AGENTS.md for guidance specific to AI agents. Use the bug report or feature request templates when filing an issue — they prompt for the tool call, the constructed request URL/body, and the raw API response, which is usually enough to land a fix in one turn.
get_office_action_rejections pages by dataset rows but returns office actions, so when the token budget dropped actions, metadata.next_offset still pointed past their rows and the next page never showed them. It now points at the first row of the first dropped action, and rows_returned counts only the rows kept. get_office_action_citations had the same gap row for row and gets the same fix.has_more remains true. Continue at offset + count to retrieve the omitted records. Pages shortened only by stripping heavy fields keep their original pagination state.get_office_action_rejections and get_office_action_citations are live again, on ODP's claim-level datasets (/api/v1/patent/oa/oa_{rejections,citations}/v2/records) instead of the decommissioned developer.uspto.gov paths. Rejections come grouped by office action: the statutes it applies (101, 102, 103, 112, double patenting), the Alice, Mayo, Myriad and Bilski flags, and which claims were rejected, objected to or allowed. Filter by application or patent number, mail date, date range, statute, case law, document code and art unit, so case_law="alice", art_unit="3689" finds an art unit's Alice rejections. Citations list each reference an action cited and the section it was applied under; cited_reference runs the lookup in reversedocument_id, which odp_download_document(format="text") readsENABLE_LEGACY_TOOLS)odp_download_document takes format="text" and returns a paper's body as plain text from the XML USPTO publishes beside the PDF, so an office action (typically 10–20k characters) no longer has to be read as a base64 PDF. It covers office actions, notices of allowance, petition decisions, and applicant papers such as remarks (REM), claims (CLM) and IDS forms; amended claims keep their markup as ~~deleted~~ and ++inserted++. Long papers come in 24k-character pages split at paragraph breaks (text_offset / next_offset). A document without XML returns NO_TEXT_AVAILABLE, and the PDF remains the default formatodp_search_office_actions searches ODP's Office Action dataset (19.9M actions mailed since mid-2007) by full text, document code, rejection statute (101/102/103/112/double patenting), art unit, date and patent number. Every response carries facet counts by document code and statute for the whole match set, so limit=1 answers counting questions. The API returns only the first 500 characters of each action; a hit's document_id is the file-wrapper documentIdentifier, so odp_download_document reads the restodp_search_petition_decisions searches 1.1M petition decisions (1991 on) by text, petition type code or words, outcome, deciding office, technology center, date and final-agency-action flag, with outcome, office and type facets. Query matches in the excerpt are marked «like this»; include_full_text adds each decision's full OCR textget_office_action_text and search_office_actions legacy stubs now point to the new tool; check_api_status lists both datasets as activeENABLE_LEGACY_TOOLS)get_cpc_info (and patents://cpc/{code}) used a bundled table that stopped at the class level, so G06N 3/08 came back as "Computing; Calculating; Counting". Subclasses, main groups and subgroups now come from USPTO's published CPC scheme page for the subclass (www.uspto.gov/web/patents/classification/cpc/html/cpc-G06N.html; no key), fetched once a day per subclass: G06N 3/08 → "Learning methods", with the hierarchy G06N › 3/00 › 3/02 › 3/08 and the subgroups beneath it. Accepts every form the other tools print (G06N3/08, G06N 3/08, H04B7/0417 20130101). A code the scheme does not contain returns NOT_FOUND with the subclass's main groups; if the page cannot be fetched, the static section and class titles come back with a scheme_errorCPC_SCHEME_BASE_URL setting; new cpc_scheme entry in check_api_statushttpx → httpx2 for the nine USPTO clients and the logging transport. httpx2 is the successor from the same author (now under the pydantic organization) and is what mcp 2 already depends on; httpx 0.28.1 (December 2024) and httpcore 1.0.9 (April 2025) have stopped moving. The API is the same for everything this code uses (AsyncClient, AsyncHTTPTransport, Cookies, build_request/send(stream=True), the exception classes), so the change is a rename across 20 files; httpx and httpcore leave the dependency tree entirely. The PPUBS session handling, PDF print job, TSDR XML document list, tmsearch, Assignment Center v3 and the ODP document download redirect were each re-verified live on 2026-09-26 (whole suite, nothing deselected)mcp>=2,<3 (MCPServer, the renamed FastMCP), which lifts the mcp<2 pin v1.2.1 added. Tool names, arguments and results are unchanged; the --host/--port/--path/--stateful/--json-response flags and MCP_* variables keep their meaning. Under the hood the transport settings move from the server constructor to run_streamable_http_async(), the protocol tests use mcp 2's in-memory Client, and the dependency drops the [cli] extra (empty in 2.x)structured_content, against an output schema of "any object" — measured at 2.0x wire size on documents and searches. Tools register with structured_output=False, so results travel once, as beforeclick>=8.3.3 (PYSEC-2026-2132; a transitive dependency via uvicorn that predates this release) so pip-audit is clean on the new treeuvx install from the built wheel; stdio and streamable-http smoke tests through mcp 2's own clientmcp[cli]>=1.27 resolved to mcp 2.x, which renamed mcp.server.fastmcp to mcp.server.mcpserver, so uvx patent-mcp-server and pip install patent-mcp-server crashed on import (ModuleNotFoundError: No module named 'mcp.server.fastmcp'). mcp 2.0.0 shipped on 2026-07-28, so v1.1.1 and v1.2.0 were both affected; the checked-in uv.lock (mcp 1.28.1) hid it from local runs and CI. The dependency is now mcp[cli]>=1.27,<2. Migrating to the mcp 2 API is a separate piece of work"US 9,876,543 B2" was read as 98765432 (the kind code folded into the number) and "D845123" as 845123, a 1907 utility patent. Numbers now keep their D/RE/PP prefix and lose separators, a leading "US" and the kind code. The lookup also dropped a dead patentNumber:"…" query that returned nothing and cost ~3 s per callsections on ppubs_get_full_document and ppubs_get_patent_by_number: choose biblio, abstract, claims, description. A whole document is ~24k tokens; ["biblio", "claims"] is ~6k. Empty and search-highlight fields are dropped from every documentppubs_search_* default to limit=20 (the truncation step cut larger responses to 20 anyway)odp_download_document fetches a file-wrapper document (office action, response, notice of allowance…) as PDF, following ODP's signed 30-second redirect; documents over 4 MB are refused. odp_get_documents gains document_code and direction filters, paging, and a per-code count of the whole wrapperppubs_get_citing_patents: forward citations via the .urpn. field of granted patents; total is the citation countENABLE_LEGACY_TOOLS=true to register them; the functions, names and workaround messages are unchangedpatentsview_* workaround messages and this README still taught the slash-prefix search syntax that stopped working in August (AN/, IN/, CPC/); all now use .as., .in., .cpc. and @pdtest/test_patents.py: two script-style live checks that logged errors instead of asserting, so they always passed while calling USPTO and rewriting json/ and pdfs/ on every default pytest run, including CI. The default suite now makes no network callstm_search_assignments: Assignment Center moved its search API from /ipas/search/api/v2/ to /v3/, and CloudFront now refuses POST on the old path with a 403 HTML page. Same request body and response envelope; only the path changedMAX_RETRIES instead of returning the 429 to the caller. api.uspto.gov limits per key, so a burst of tool calls tripped ittest/test_tools.py and test/test_tools_pytest.py were duplicates; the pytest one survives under the shorter name, minus eight skipped PatentsView tests, with its patentNumber:"…" queries and numFound assertions (neither matched the live API or the tool envelope any more) fixed, and with live tests for sections, prefixed numbers, ppubs_get_citing_patents, the odp_get_documents filter and odp_download_document. uv run pytest -m "" runs the whole suite, unit and live, and passes.pn. with D/RE prefixes, .urpn., the ODP document listing and download redirect, Assignment Center v3ENABLE_LEGACY_TOOLS)ppubs_download_patent_pdf: USPTO moved the PDF download endpoint — the old /api/internal/print/save/{pdfName} path now returns 404; the client uses the live /api/print/save/{pdfName} endpoint (verified live 2026-08-05 with a real search, document fetch, and PDF download)TTL/, IN/, AN/, CPC/) no longer work on the live API — they silently return 0 results, and TTL/"phrase" returns a server 500. Search tool docstrings, the prior-art prompt, and the patents://search-syntax guide now teach the working dotted-suffix forms (.ti., .ab., .clm., .spec., .in., .as., .pn., .cpc., @pd/@ad date ranges), each verified live--transport streamable-http mode serves the MCP endpoint over the network, so one deployment can back a whole team instead of every user running a local copy. stdio remains the default, so existing Claude Desktop and Claude Code configurations are unchanged. New flags --host, --port, --path, --stateful, --json-response, each with a matching MCP_* environment variable. See "Remote hosting over HTTP" for the security caveat — the endpoint holds your API keys and does not authenticate callersatexit hook that spun up a fresh event loop; it now runs in the loop the clients were opened on. Deliberately not a FastMCP lifespan — in stateless HTTP mode that runs once per request, which would close the clients after the first tool call>=1.27 (was >=1.3.0, which allowed installs to resolve an SDK without streamable HTTP)tsdr_get_trademark_status, tsdr_list_trademark_documents, tsdr_download_trademark_documents, tsdr_get_trademark_image) — official trademark status/document API. Requires a TSDR-specific key (the ODP key does not work); error responses detect the wrong-key signature and explain how to get the right one. Document bundles above 4 MB are rejected with filter guidance (full wrappers can exceed 10 MB)tm_search_trademarks, tm_get_trademark) — full-text search by mark text, owner, goods/services, and Nice class via the internal Elasticsearch API behind tmsearch.uspto.gov (no official REST API exists). Verified live; handles AWS WAF rejections with TMSEARCH_WAF_TOKEN supporttm_search_assignments) — USPTO Assignment Center public API (assignmentcenter.uspto.gov, no key required), searchable by serial/registration number, assignee, assignor, and reel/frame. Replaced the legacy assignment-api.uspto.gov XML API decommissioned June 5, 2026get_trademark_class_info, get_trademark_status_code, trademarks://classes, trademarks://status-codes (all 45 Nice classes, common trademark status codes)trademark_clearance_search, trademark_portfolio_review, trademark_status_monitoringppubs_download_patent_pdf (called download_image with the wrong signature, raising TypeError)TSDR_API_KEY, TMSEARCH_WAF_TOKEN, TSDR_BASE_URL, TMSEARCH_BASE_URL, TM_ASSIGNMENT_BASE_URLptab_search_proceedings, ptab_get_proceeding, ptab_get_documents, ptab_search_decisions, ptab_get_decision, ptab_search_appeals, ptab_get_appeal (issue #23). PTAB data relocated to ODP /api/v1/patent/trials/* and /api/v1/patent/appeals/* (paths not in the ODP Swagger UI); the standalone-API decommission (issue #16) was correct for the Patent Litigation API, but PTAB moved rather than disappeared.ppubs_search_patents / ppubs_search_applications query semantics (issue #21): default operator changed from OR to AND, so multi-word queries like machine learning no longer match the entire corpus and collapse into the latest-grants fallback under date_publ desc sort.search_query.copy() → copy.deepcopy(...)), eliminating a concurrency hazard between parallel calls.odp_search_applications filters being silently ignored upstream (issue #21): switched from GET query-string params to POST with a Lucene-style q body. assignee_name, inventor_name, application_number, patent_number, and filing-date ranges are now properly AND-combined into the search. Tool now returns MISSING_FILTER rather than dumping the full 12.8M-record corpus when called with no filters.ppubs_search_patents / ppubs_search_applications / odp_search_applications docstrings to reflect the corrected semantics and document Lucene query support on ODP.CONTRIBUTING.md, AGENTS.md, bug-report + feature-request issue templates, and a PR template.ptab_* tools and 4 litigation tools now return API_UNAVAILABLE with workaround guidance pointing to PPUBS tools and USPTO bulk datasetscheck_api_status, resources.py data sources, client docstrings, and README to reflect the shutdownpatentsview_* tools return API_UNAVAILABLE with workaround guidanceAPI_UNAVAILABLE with workaround guidancetest/unit/test_unavailable_tools.py for decommissioned tool testingapi.uspto.gov is the correct API endpoint (not data.uspto.gov which is the web portal)patentsview_search_attorneys, patentsview_get_attorney)patentsview_lookup_ipc, patentsview_search_by_ipc)search_publications method (pagination options not being passed)odp_ prefix for clarityquery instead of q)MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for USPTO Patent & Trademark MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/patent_mcp_server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.