Patents Mcp

io.github.tushariitr-19由 GitHub 账号 tushariitr-19 发布v1.0.0更新于 Oct 24, 2026

Patent search and prior art discovery via Google Patents on BigQuery

已验证STDIO仅桌面知识与记忆数据与分析

概览

AI 生成的概览

一个本地 MCP 服务器,让助手在 BigQuery 上检索 Google Patents 数据、获取专利详情和权利要求,用于现有技术调研。

可以做什么
按关键词、技术领域或发明人姓名在 BigQuery 的 Google Patents 公共数据集上检索专利。按公开号获取专利完整详情。获取指定专利的权利要求文本。支持现有技术查找以及按发明人或公司检索专利。
适用场景
适合需要助手协助专利调研的场景:查找某项技术的相关专利、申请前核查现有技术,或了解某公司、某发明人已申请的专利。
运行要求
以本地进程方式运行,需用 Go 1.21 或更高版本从源码构建。需要 Google Cloud 账号、已启用 BigQuery API、具备 BigQuery Job User 和 BigQuery Data Viewer 角色的服务账号及其 JSON 密钥。需设置 GOOGLE_APPLICATION_CREDENTIALS 为密钥文件路径、GCP_PROJECT_ID 为项目 ID,DEBUG 可选。需要访问 BigQuery 的网络连接。
安装前请注意
需要 Google Cloud 服务账号 JSON 密钥(由 GOOGLE_APPLICATION_CREDENTIALS 指定),请妥善保管并仅授予上述两个只读 BigQuery 角色。查询在你的 GCP 项目上执行并计入 BigQuery 用量,公共数据集有每月免费额度。专利查询与结果会发送至 Google BigQuery。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Patents Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

patents-mcp

[Go Version] [License: MIT] [tushariitr-19/patents-mcp MCP server]

An MCP (Model Context Protocol) server for patent search and prior art discovery, powered by the Google Patents public dataset on BigQuery.

Built with the official Go MCP SDK.

Why patents-mcp?

Existing patent MCP servers are either paid, single-source, or unmaintained. patents-mcp is:

  • Free — built on Google Patents public dataset (1TB/month free on BigQuery)
  • Open source — MIT licensed
  • Production grade — structured logging, graceful shutdown, clean architecture
  • Extensible — each tool is self-contained, easy to add new tools

Available Tools

ToolDescription
search_patentsSearch patents by keyword, technology area, or inventor name
get_patentFetch full patent details by publication number
get_patent_claimsFetch patent claims text

Prerequisites

  • Go 1.21+
  • A Google Cloud account (free)
  • BigQuery API enabled on your GCP project

Setup

1. Google Cloud Setup

  1. Create a GCP project at console.cloud.google.com
  2. Enable the BigQuery API
  3. Create a service account with the following roles:
    • BigQuery Job User
    • BigQuery Data Viewer
  4. Download the service account JSON key

2. Install

bash
git clone https://github.com/tushariitr-19/patents-mcpcd patents-mcpgo build -o patents-mcp-server ./cmd/server/

3. Configure

bash
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"export GCP_PROJECT_ID="your-gcp-project-id"
# Optional: enable debug loggingexport DEBUG=true

Usage with Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

json
{  "mcpServers": {    "patents-mcp": {      "command": "/path/to/patents-mcp-server",      "env": {        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json",        "GCP_PROJECT_ID": "your-gcp-project-id"      }    }  }}

Screenshots

Available Tools

[Available Tools]

Example Prompts

Once connected to Claude Desktop:

  • "Search for patents related to transformer neural networks"
  • "Find prior art for context-aware UI element hiding"
  • "What patents has Google filed related to quantum computing?"
  • "Find patents by inventor Yann LeCun"

Architecture

patents-mcp/├── cmd/server/main.go       ← entry point, env vars, graceful shutdown├── server/server.go         ← MCP server setup, tool registration├── tools/│   └── search.go            ← search_patents tool (self-contained)├── bigquery/│   └── client.go            ← BigQuery query execution├── logger/│   └── logger.go            ← structured logging via zap└── models/    └── patent.go            ← shared Patent struct

Each tool owns its own dependencies — the server is agnostic of what tools do internally. Adding a new tool is a single line in server/server.go.

Contributing

PRs welcome. To add a new tool:

  1. Create tools/<toolname>.go
  2. Define your input struct and tool definition
  3. Register it in server/server.go with one line

License

MIT

来源:README.md,提交 991b51f

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分