Patent by Ouroboros
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Patent by Ouroborossearch prior art for a solar-powered water bottle"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Patent by Ouroboros
Patent by Ouroboros is a remote MCP server for inventors, startup founders, patent agents and attorneys, and engineers who need to check whether an idea already appears in the public patent record.
It searches the USPTO Open Data Portal and, when you add a free consumer key, EPO Open Patent Services. Google Patents is used only as a link. Every patent number in a tool result is copied from an office response. The server does not fill in numbers when an office does not answer.
This is not legal advice. It is not a substitute for a registered patent attorney or agent. A result is not an opinion on patentability, infringement, validity, or freedom to operate.
Connect
The MCP address is your deployment origin plus /mcp. Locally that is http://127.0.0.1:8787/mcp.
Sign in when the assistant opens OAuth. Leave the client id and secret empty. The server supports OAuth 2.1 dynamic client registration and PKCE (S256). Do not paste a password or an office API key into the assistant.
Cursor, in ~/.cursor/mcp.json or a project .cursor/mcp.json:
{
"mcpServers": {
"patent": {
"url": "http://127.0.0.1:8787/mcp"
}
}
}Claude Code:
claude mcp add --transport http patent http://127.0.0.1:8787/mcpChatGPT, Claude, Gemini, Grok, and any other Streamable HTTP client: add the same URL, choose OAuth, and leave client id and secret blank. Full steps are on /connect.
A new account includes 14 days of search access. After the trial, Pro continues through Stripe Checkout. The amount is shown by Stripe, not in this repository.
server.json is the MCP Registry manifest (io.github.LAHutchins91/patent-mcp). Its icon is https://raw.githubusercontent.com/LAHutchins91/patent-mcp/main/logo.jpg. Before you publish the registry entry, set remotes[0].url and websiteUrl to the public origin. The file currently uses https://patent-mcp.vercel.app/mcp as the intended Vercel path.
Related MCP server: mcp-epo-ops
Tools
search_patents— keywords, claim language, CPC class, assignee, inventor, and datesget_patent— abstract, claims, status, family, and citations for one recordfind_patent_citations— documents that cite a patent, and documents that patent citessearch_prior_art— an idea description in, the closest office records and their Google Patents links out
Citation coverage is the USPTO grant document, USPTO office-action citations, and EPO citation search. The legacy PatentsView citation graph is not available: USPTO paused the PatentsView PatentSearch API when PatentsView moved to the Open Data Portal on 20 March 2026.
Run locally
npm install
cp .env.example .env
npm run devThe server listens on port 8787. GET /health returns JSON. billingConfigured is true only when STRIPE_SECRET_KEY, STRIPE_PRICE_MONTHLY, and STRIPE_PRICE_YEARLY are all set.
npm test
npm run typecheckTests call the public USPTO and EPO hosts. Office payloads that require keys are mocked. With USPTO_API_KEY or EPO consumer credentials in the environment, the live test uses those credentials instead of expecting the unauthenticated response.
Environment
Lawrence needs to supply:
Variable | Purpose |
| Public origin used as the OAuth issuer and Stripe return URL |
| Signs browser sessions. Required in production |
| Free USPTO Open Data Portal key, sent as |
| EPO OPS consumer key |
| EPO OPS consumer secret |
| Existing Stripe secret |
| Existing monthly price id |
| Existing yearly price id |
| Stripe webhook signature secret |
|
|
| JSON file used when the backend is |
| GET/PUT URL for one JSON document when the backend is |
| Optional bearer token for that URL |
Do not create Stripe products or prices in this app. Do not commit secrets.
USPTO key
Create a USPTO.gov account.
Verify and link ID.me. That link is one time.
Open Open Data Portal getting started and request an API key.
Set
USPTO_API_KEY.
Old PatentsView API keys do not work on the Open Data Portal.
EPO key
Register at developers.epo.org.
Create an app. EPO shows a consumer key and consumer secret.
Set
EPO_CONSUMER_KEYandEPO_CONSUMER_SECRET.
OPS is free within the EPO fair-use policy. The server sends grant_type=client_credentials to https://ops.epo.org/3.2/auth/accesstoken.
Accounts and storage
Patent tools are stateless searches of public offices. Trial and subscription state, OAuth clients, and tokens live in one JSON document behind AccountStore.
memorykeeps that document in the process. It is the default and is what tests use. It does not survive a restart or a second serverless instance.filewritesSTORAGE_PATH(default./data/patent-store.json). Use it for Docker or a long-running Node process.httpGETs and PUTs the same document atSTORAGE_URL. Point it at storage you already run. This server does not create a database.
Last write wins if two instances update the document at once.
Deploy
Vercel: the Express app is the default export of api/index.ts, and vercel.json rewrites every path to it. Set the environment variables above. Use STORAGE_BACKEND=http so OAuth and trial state survive across instances. Point the Stripe webhook at https://<your-host>/billing/webhook.
Docker:
docker build -t patent-mcp .
docker run --env-file .env -p 8787:8787 patent-mcpWhat was verified
Locally, over Streamable HTTP: tools/list and each of the four tools, OAuth registration with PKCE, trial expiry, Stripe checkout request shape, and webhook signature verification. The USPTO host answered without a key (unauthorized). The EPO token host answered without consumer credentials. No live Stripe charge was made, and the server was not deployed to Vercel from this workspace.
This server cannot be deployed
Maintenance
Related MCP Connectors
Patent search, USPTO data, patent landscape & pgvector prior-art search for agents.
AI-powered patent intelligence for search & analysis
Patent & trademark IP search — patents, assignees, and inventors via Google Patents.
EPO/USPTO search, citations, OCR, plus PATSTAT Portfolio Analytics, guarded SQL and Graph Analytics.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-powered patent search and analysis across 220M+ global patents. Semantic search, prior art discovery, novelty/patentability reports, and patent content retrieval.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables querying patent data from the European Patent Office, including bibliographic info, patent families, abstracts, and claims.699 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to perform patent search, portfolio analysis, technology trend tracking, and semantic prior-art search using USPTO data.MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to search and retrieve patent data from EPO OPS and Google Patents via natural language, supporting patent search, details, claims, and family information with OAuth authentication.MIT