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 分