KG

kunihiros/google-patents-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

42 stars 16 forks Качество 68 Тренд 0MIT

kunihiros/google-patents-mcp - кандидат на сервер MCP, импортированный из https://github.com/kunihiros/google-patents-mcp.

Обзор

kunihiros/google-patents-mcp - кандидат на сервер MCP, импортированный из https://github.com/kunihiros/google-patents-mcp.

Обзор (машинный перевод)

Этот проект предоставляет сервер Model Context Protocol (MCP), который позволяет искать информацию о патентах Google через API SerpApi Google Patents.

###Установка через Smithery

Для автоматической установки MCP-сервера Google Patents для Claude Desktop через Smithery:

Changelog

v0.2.0 (2025-04-17)

** Исправление: ** Внедрение пустых обработчиков для resources/list и prompts/list методов MCP. ** Исправление: ** Объявлена возможность prompts в инициализации сервера. *** Обновленная зависимость.

Эти изменения направлены на улучшение совместимости с MCP-клиентами, такими как Claude Desktop, для которых могут потребоваться эти стандартные конечные точки, хотя прямое тестирование с Claude Desktop еще не проводилось.

Особенности

Предоставляет инструмент MCP search_patents для поиска патентов Google. Использует SerpApi в качестве бэкэнда.

  • Может быть запущен непосредственно с использованием npx без локальной установки.

Предпосылки

** Node.js:** Рекомендуется версия 18 или выше. ** npm** Он должен был выполнять [5] приказ. ** API-ключ SerpApi** Для использования Google Patents API вам нужен действительный ключ API от SerpApi.

Быстрый старт (использование npx)

Самый простой способ запустить этот сервер — использовать npx.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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/list and prompts/list MCP methods.
  • Fix: Declared prompts capability 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_patents to search Google Patents.
  • Uses SerpApi as the backend.
  • Can be run directly using npx without local installation.

Prerequisites

  • Node.js: Version 18 or higher is recommended.
  • npm: Required to run the npx command.
  • 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:

  1. Environment Variable (Recommended for MCP Hosts): Set the SERPAPI_API_KEY environment variable when running the server. MCP Host configurations often allow setting environment variables for servers.

    Example MCP Host configuration snippet (config.json or 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"
Открыть полный README на GitHub

Установка

npx -y // Skips confirmation if the package isn't installed locally "@kunihiros/google-patents-mcp" // Use the correct package name
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "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" } } } }