
Patent
io.github.LAHutchins91v1.0.0更新于 Oct 5, 2026
Patent by Ouroboros: USPTO and EPO search for AI assistants, over MCP.
概览
检索 USPTO 与 EPO 专利记录,让助手检查某个想法是否已出现在公开专利文献中。
- 功能
- 提供四个工具:search_patents 按关键词、权利要求用语、CPC 分类、受让人、发明人和日期检索;get_patent 获取单条记录的摘要、权利要求、状态、同族和引用;find_patent_citations 查找引用某专利的文献以及该专利引用的文献;search_prior_art 输入一段想法描述,返回最接近的官方记录及其 Google Patents 链接。它查询 USPTO Open Data Portal,并在提供免费 consumer key 时查询 EPO Open Patent Services。结果中的专利号均取自官方响应,而非自行生成。
- 适用场景
- 适合发明人、创业者、专利代理人和工程师在早期核查某个想法是否已进入公开专利记录,或在深入研究前收集现有技术和引用背景。它是检索辅助工具,不是法律意见。
- 运行要求
- 远程 Streamable HTTP 端点;助手通过 OAuth 2.1 动态客户端注册与 PKCE 连接,client id 与 secret 留空。新账户含 14 天检索权限,之后 Pro 通过 Stripe Checkout 续订。自行部署需要 Node.js、公共源站地址、会话签名、可选的 USPTO 与 EPO 凭据、Stripe 计费密钥以及存储后端等环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Patent,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"patent": {
"type": "http",
"url": "https://patent-mcp.vercel.app/mcp"
}
}
}README
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:
Claude Code:
ChatGPT, 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). Its icon is https://patent-mcp.vercel.app/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.
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
The 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.
Tests 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:
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 local 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.blobstores the same document in Vercel Blob atSTORAGE_BLOB_PATH(defaultpatent/accounts.json). SetSTORAGE_BACKEND=blobon Vercel. The Blob client usesBLOB_READ_WRITE_TOKEN, which Vercel injects when a Blob store is connected. Reads bypass the CDN cache. Writes sendifMatchand retry when another instance updated the document first.
OAuth clients, authorization codes, access tokens, and refresh tokens are fields in that document. The consent screen posts the authorization request with the approval; nothing about the grant is kept in process memory. Expired codes and refresh tokens are removed on each write.
Deploy
Vercel: the Express app is the default export of api/index.ts. vercel.json sends every path to that function and bundles logo.jpg into it, so /logo.jpg is served by the app and repository files such as /package.json are not static assets. Set the environment variables above, including STORAGE_BACKEND=blob. Point the Stripe webhook at https://<your-host>/billing/webhook.
Docker:
What 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.
来源:README.md,提交 b4f4e5b
工具
0版本历史
1- v1.0.0最新Oct 5, 2026
