# @pipeworx/mcp-patent-maintenance-fees [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/pipeworx-io/mcp-patent-maintenance-fees  
**GitHub Stars:** 0  
**npm Downloads (last month):** 737  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pipeworx-mcp-patent-maintenance-fees

## Description
USPTO Patent Maintenance Fee Events — complements the `patents` pack (fleet #3258), which has prosecution events and assignments but cannot say whether a US patent is still in force.

## Tools
Capabilities this server exposes over MCP:

- **get_patent_maintenance_status** — Look up a US patent's maintenance-fee history and in-force/expired status: every recorded maintenance-fee event (payments, surcharges, expiration for non-payment, reinstatement, entity-status changes) plus a computed status and a 4th/8th/12th-year fee-window breakdown (due date, grace-period end, whether paid). Give the patent number with or without commas ("10835610" or "10,835,610"). Design (D-prefixed) and plant (PP-prefixed) patents are statutorily exempt from maintenance fees and will report subject_to_maintenance_fees:false rather than a bare no-match. Sourced from USPTO's Patent Maintenance Fee Events (public domain, covers patents granted 1981-09-01 to present), refreshed from the weekly bulk file, every response carries data_as_of. Keyless. Does NOT determine full-term (20-year) expiration or any non-fee reason a patent could be invalid, this pack covers maintenance-fee lapses only; pair with the `patents` pack for prosecution history.
- **search_maintenance_fee_events** — Search USPTO maintenance-fee events across patents by event code, patent-number prefix, and/or event-date range, e.g. all 'EXP.' (expired for non-payment) events in a date window. Returns an exact total_matching count first, then a capped sample of the actual event rows (newest first), never a bare empty array on zero matches; the filters tried are always echoed back. Sourced from USPTO's Patent Maintenance Fee Events (public domain); every response carries data_as_of. Keyless.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-patent-maintenance-fees": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-patent-maintenance-fees"]
  }
}
```

## Documentation

## What @pipeworx/mcp-patent-maintenance-fees does

@pipeworx/mcp-patent-maintenance-fees exposes USPTO maintenance-fee event data through MCP. It focuses on US patents granted from September 1, 1981 onward and covers events such as maintenance-fee payments, surcharges, expiration for non-payment, reinstatement, entity-status changes, and petitions.

The pack complements prosecution-history data, which can show filing, publication, grant, and office-action events but does not include maintenance-fee fields. Its results can help determine whether a patent has maintenance-fee activity consistent with remaining in force or lapsing for non-payment. That is only one part of enforceability: the data does not establish full-term expiration, invalidity, reexamination results, or litigation status.

## How it works

The source is the USPTO Open Data Portal's cumulative Patent Maintenance Fee Events product. Because that product is distributed as bulk data without a per-patent query endpoint, the pack uses a Supabase mirror named `uspto_maintenance_fee_events`. Responses include `data_as_of`, based on when the mirror was loaded.

A refresh downloads the latest maintenance-fee archive, parses the fixed-width records, and reloads the cumulative dataset. The refresh workflow is manually dispatched and performs a full reload rather than incremental event processing. The dataset contains roughly 27 million event rows as of October 2026.

Both tools first verify that the mirror contains loaded rows. An empty table produces `dataset_unavailable`, preventing an empty but successful query from being mistaken for evidence that a patent has no fee events.

## Setup and configuration

Connect an MCP client to the scoped gateway endpoint:

```json
{
  "mcpServers": {
    "patent-maintenance-fees": {
      "url": "https://gateway.pipeworx.io/patent-maintenance-fees/mcp"
    }
  }
}
```

Claude Desktop, Cursor, and Windsurf are shown as supported client options. The endpoint also exposes shared Pipeworx gateway tools in addition to the pack-specific tools. Alternatively, connect to `https://gateway.pipeworx.io/mcp` to access the full gateway directly.

Dataset provisioning requires an ODP API key stored as the `USPTO_ODP_API_KEY` repository secret, followed by a dispatch of the maintenance-fees refresh workflow. The gateway authentication itself is keyless.

## Tools and capabilities

- `get_patent_maintenance_status(patent_number)` returns all recorded fee events for one patent, a computed status, and the fourth-, eighth-, and twelfth-year fee windows. Each window includes its due date, grace-period end, and payment state.
- `search_maintenance_fee_events(event_code?, patent_number_prefix?, date_from?, date_to?, limit?)` returns an exact matching-event count and a capped, newest-first sample. Filtering by `EXP.` and a date range can identify expiration events in a period.
- Design patents beginning with `D` and plant patents beginning with `PP` are recognized as exempt from maintenance fees. The status tool reports `subject_to_maintenance_fees:false` with an explanation for those prefixes.
- Event responses retain the raw USPTO code. Known codes receive descriptions; unrecognized codes remain available with a null description rather than being inferred.

## Limitations and notes

This pack covers maintenance-fee history, not the complete legal status of a patent. A patent can expire at the end of its statutory term despite a complete payment history, and other legal events can affect enforceability.

Design and plant patents do not appear in the maintenance-fee dataset. Patent-number normalization around leading zeros is handled by checking both the supplied normalized value and a version with leading zeros removed.

The mirror must be populated before queries can return data. Until the initial API-key setup and refresh have completed, both tools fail loudly with `dataset_unavailable`.

_Full upstream README: https://allmcps.com/mcp/pipeworx-mcp-patent-maintenance-fees/readme_

