
kunihiros/google-patents-mcp 是从 https://github.com/kunihiros/google-patents-mcp. 导入的 MCP 服务器候选服务器。
概览
kunihiros/google-patents-mcp 是从 https://github.com/kunihiros/google-patents-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
该项目提供了一个模型上下文协议(MCP)服务器,允许通过 SerpApi Google 专利 API 搜索谷歌专利信息。
通过Smithery安装
通过Smithery自动安装Google Patents MCP Server for Claude Desktop:
更新日志
v0.2.0 (2025-04-17)
- 修复: 为
resources/list和prompts/listMCP 方法实现了空处理程序。 - 修复: 在服务器初始化中声明了
prompts能力。 - 家务: 更新依赖关系。
这些变更旨在提升与 Claude Desktop 等可能需要这些标准端点的 MCP 客户端的兼容性,尽管尚未进行过 Claude Desktop 的直接测试。
特色
- 提供一个MCP工具
search_patents,用于搜索谷歌专利。 - 后端使用 SerpApi。
- 可直接使用
npx运行,无需本地安装。
先修条件
- Node.js: 建议使用18版及以上版本。
- npm: 运行
npx命令必修。 - SerpApi API 密钥: 使用 Google 专利 API 需要 SerpApi 的有效 API 密钥。
快速入门(使用NPX)
运行该服务器最简单的方法是使用 npx。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Google Patents MCP Server (google-patents-mcp)
This project provides a Model Context Protocol (MCP) server that allows searching Google Patents information via the SerpApi Google Patents API.
Installing via Smithery
To install Google Patents MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @KunihiroS/google-patents-mcp --client claude
Changelog
v0.2.0 (2025-04-17)
- Fix: Implemented empty handlers for
resources/listandprompts/listMCP methods. - Fix: Declared
promptscapability in server initialization. - Chore: Updated dependencies.
These changes aim to improve compatibility with MCP clients like Claude Desktop which may require these standard endpoints, though direct testing with Claude Desktop has not yet been performed.
Features
- Provides an MCP tool
search_patentsto search Google Patents. - Uses SerpApi as the backend.
- Can be run directly using
npxwithout local installation.
Prerequisites
- Node.js: Version 18 or higher is recommended.
- npm: Required to run the
npxcommand. - SerpApi API Key: You need a valid API key from SerpApi to use the Google Patents API.
Quick Start (Using npx)
The easiest way to run this server is using npx. This command downloads (if necessary) and runs the server directly.
npx @kunihiros/google-patents-mcp
Note: Replace @kunihiros/google-patents-mcp with the actual published package name if it differs.
The server will start and listen for MCP requests on standard input/output.
Configuration
The server requires your SerpApi API key. You can provide it in one of the following ways:
-
Environment Variable (Recommended for MCP Hosts): Set the
SERPAPI_API_KEYenvironment variable when running the server. MCP Host configurations often allow setting environment variables for servers.Example MCP Host configuration snippet (
config.jsonor similar):{ "mcpServers": { "google-patents-mcp": { "command": "npx", "args": [ "-y", // Skips confirmation if the package isn't installed locally "@kunihiros/google-patents-mcp" // Use the correct package name ], "env": { "SERPAPI_API_KEY": "YOUR_ACTUAL_SERPAPI_KEY" // Optional: Set log level // "LOG_LEVEL": "debug"
安装
npx -y // Skips confirmation if the package isn't installed locally
"@kunihiros/google-patents-mcp" // Use the correct package name配置
{
"mcpServers": {
"google-patents-mcp": {
"command": "npx",
"args": [
"-y", // Skips confirmation if the package isn't installed locally
"@kunihiros/google-patents-mcp" // Use the correct package name
],
"env": {
"SERPAPI_API_KEY": "YOUR_ACTUAL_SERPAPI_KEY"
// Optional: Set log level
// "LOG_LEVEL": "debug"
}
}
}
}