Logo ops-patent-search

ops-patent-search

Tổ chức
navisbio

Unofficial MCP server for exploring patents via the EPO Open Patent Services (OPS) API. Not affiliated with the EPO. Covers the full global patent database (EP, US, WO, JP, CN, and more).

Nhà phát hànhnavisbio
Kho mãOPS-patent-search-mcp
Ngôn ngữTypeScript
Bản fork
9
Sao
20
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    ops-patent-search cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    20 sao và 9 bản fork từ kho mã được liên kết.

ops-patent-search

Unofficial MCP server for exploring patents via the EPO Open Patent Services (OPS) API. Not affiliated with the EPO. Covers the full global patent database (EP, US, WO, JP, CN, and more).

This is an exploratory tool — useful for quick searches, reading individual patents, checking legal status, and getting an initial sense of a technology area. It works well in Claude Desktop and other consumer MCP clients, but these environments have limited context windows and are subject to API rate limits, so results for broad queries will be incomplete.

For exhaustive patent landscape analysis, systematic FTO assessments, or large-scale prior art searches, use specialised frameworks designed for parallel retrieval and structured knowledge bases.

Tools

ToolDescription
search_patentsCQL search across title, abstract, applicant, inventor, IPC/CPC, dates, and forward citations. Supports auto-pagination for landscape searches.
get_patent_detailsTitle, abstract, applicants, inventors, classifications, dates, priorities. Batch mode up to 100 patents.
get_patent_claimsPaginated claims text. Auto-falls back to EP/WO family equivalent if needed.
get_patent_descriptionPaginated specification text. Same family fallback as claims.
search_in_patent_textKeyword search within claims + description. Returns snippets with paragraph indexes for targeted reading.
search_and_filter_fulltextSearch, then keep only the hits whose claims or description actually contain your terms. One call instead of a search plus one full-text call per hit.
get_patent_familyINPADOC patent family members across jurisdictions.
get_patent_legal_statusGrant, opposition, lapse, withdrawal events. Determines whether a patent is in force.
get_patent_citationsBackward citations (prior art) split into patent and non-patent literature.

Setup

  1. Register at developers.epo.org for a Consumer Key and Secret (free tier available).

  2. Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{
  "mcpServers": {
    "ops-patent-search": {
      "command": "npx",
      "args": ["-y", "ops-patent-search"],
      "env": {
        "PATENT_CONSUMER_KEY": "your_consumer_key",
        "PATENT_CONSUMER_SECRET_KEY": "your_consumer_secret"
      }
    }
  }
}

CQL query syntax

The search_patents tool uses EPO's CQL (Contextual Query Language). Key fields:

ta (title+abstract), ti (title), ab (abstract), pa (applicant), in (inventor), cl (IPC+CPC), ic (IPC), cpc (CPC), pd (publication date), pn (publication number), ct (forward citations).

Operators: AND, OR, NOT (uppercase). Wildcards: * (right truncation, on ta/ti/ab/pa/in only).

ta="CRISPR" AND pd>=2023
pa="Novartis*" AND ta="cancer" AND ic="A61K"
ta="antibody drug conjugate" AND pa="Roche*"
ct="EP3750919"

Full-text fields (claims, desc, ftxt) are unreliable for phrase searches and don't support wildcards. Use ta= for CQL filtering, then search_in_patent_text for keyword analysis within specific patents.

Examples

Search for CRISPR patents by the Broad Institute since 2020 and summarise the top 5.
Is EP3750919 currently in force? Check its legal status.
Find prior art on antibody-drug conjugates targeting HER2 by Roche. Search the most relevant result for 'linker' and summarise the key claims.

Skills (Claude Code plugin)

When installed as a Claude Code plugin, guided workflow skills become available. These provide structured starting points for common patent tasks — but keep in mind this is an exploratory tool, not a substitute for professional patent search platforms.

SkillDescription
Prior Art SearchGuided CQL query construction, result triage, keyword search in full text
Patent LandscapeSample-based overview of a technology area — top applicants, filing trends, classification clusters
FTO AnalysisSpot-check in-force patents and map claims against product features (not exhaustive)
Citation NetworkExplore backward/forward citations and identify key patents in a citation chain
LOE AnalysisLook up patent family coverage, legal status, and expiry timelines for a compound

Development

bash
npm install
npm run build              # Compile TypeScript → dist/
npm test                   # Integration tests (requires PATENT_CONSUMER_KEY and PATENT_CONSUMER_SECRET_KEY in .env)

Scenario tests:

bash
npx tsx integration_tests/run-all.ts

Smoketest (end-to-end eval harness via headless Claude Code):

bash
./smoketest/run.sh                          # all tests
./smoketest/run.sh basic-search             # single test
SMOKETEST_MODEL=sonnet ./smoketest/run.sh   # pick the evaluator model (default: CLI default)

Each smoketest runs a 3-message conversation: execute the task using the MCP tools, verify entities against the database (hallucination check), then collect structured feedback on what worked and what should be improved. Results land in smoketest/results/<timestamp>[_model]/ as .task.txt, .hallucination.txt, and .feedback.txt per test. The evaluator runs from a scratch directory outside the repo so the repo's own .mcp.json is not loaded a second time as a project server.

Three things measure the result, none of them the evaluator's own opinion: ground-truth assertions per scenario (smoketest/grade.py), a separate judge model that scores each report from the tool log and can compare two runs pairwise (smoketest/judge.py), and a findings index that tracks which issues recur across runs (smoketest/findings.py). Two scenarios are hold-outs whose critiques are never collected. The fix protocol, from reproduce-before-fix to marking a finding resolved, is in smoketest/README.md.

Run as Claude Code plugin (local dev):

bash
claude --plugin-dir /path/to/ops-patent-search

.mcp.json is the plugin server manifest: its ${CLAUDE_PLUGIN_ROOT} path is only expanded when the server is loaded as a plugin. Enabling it as a plain project MCP server instead leaves the variable unexpanded and the server exits with Cannot find module '.../${CLAUDE_PLUGIN_ROOT}/dist/index.js'. Use --plugin-dir as above, or register a separate absolute-path server with claude mcp add.

What must never be committed

This is a public repository. The following stay local and are enforced by both .gitignore and a pre-commit hook in .githooks/:

PathWhy
.envEPO OPS credentials
.claude/local permission grants and machine paths
.beads/, .dolt/issue tracker database — never synced to this remote
docs/internal write-ups and client-adjacent analyses
smoketest/results/full evaluator transcripts naming real companies
*.mcpb, dist/, server/build output

.claude-plugin/ is not in this list — it ships with the plugin.

The hook also scans staged content for credential-shaped strings and for client-identifying terms, so scenario prompts and examples stay generic. The term list itself is not in the repo — a curated list of client names would be the disclosure. Put it in .githooks/client-terms.local (gitignored), one regex per line; without that file the term check is inactive and the hook says so. The hook is enabled automatically by npm install; to enable it by hand:

bash
git config core.hooksPath .githooks

A deliberate exception for one commit: ALLOW_SENSITIVE=1 git commit ...

Privacy

This server communicates only with the EPO OPS API (ops.epo.org) using your credentials. No data is collected or sent to third parties.

License

MIT

Cài đặt

TypingMind
{
  "mcpServers": {
    "ops-patent-search-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ops-patent-search"
      ],
      "env": {
        "PATENT_CONSUMER_KEY": "<PATENT_CONSUMER_KEY>",
        "PATENT_CONSUMER_SECRET_KEY": "<PATENT_CONSUMER_SECRET_KEY>"
      }
    }
  }
}

Dùng MCP ops-patent-search với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối ops-patent-search, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm ops-patent-search làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của ops-patent-search.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "ops-patent-search-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ops-patent-search"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của ops-patent-search, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của ops-patent-search.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng ops-patent-search giúp tôi làm việc này không?
ops-patent-search
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng ops-patent-search.

Câu hỏi thường gặp

Máy chủ MCP ops-patent-search dùng để làm gì?

ops-patent-search là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP ops-patent-search với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng ops-patent-search với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP ops-patent-search với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối ops-patent-search, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP ops-patent-search với TypingMind?

ops-patent-search hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP ops-patent-search cung cấp những công cụ nào trong TypingMind?

ops-patent-search cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP ops-patent-search không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu ops-patent-search yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇