Google Patents MCP Server logo

Google Patents MCP Server

by KunihiroS

This project provides a Model Context Protocol (MCP) server that allows searching Google Patents information via the SerpApi Google Patents API. It offers an MCP tool `search_patents` to easily query patent data.

View on GitHub

Last updated: N/A

What is Google Patents MCP Server?

The Google Patents MCP Server is an MCP server that allows users to search Google Patents using the SerpApi Google Patents API. It provides a standardized interface for querying patent information within an MCP environment.

How to use Google Patents MCP Server?

The server is designed to be run using npx @kunihiros/google-patents-mcp. It requires a SerpApi API key, which can be provided either as an environment variable (SERPAPI_API_KEY) or in a .env file. Once running, it listens for MCP requests on standard input/output, specifically for the search_patents tool.

Key features of Google Patents MCP Server

  • Provides an MCP tool search_patents for Google Patents search.

  • Uses SerpApi as the backend.

  • Can be run directly using npx without local installation.

  • Supports various search parameters like query, page, number of results, sorting, date filters, inventor, assignee, country, language, status and patent type.

  • Supports filtering by patent status and type.

Use cases of Google Patents MCP Server

  • Integrating Google Patents search into MCP-based applications.

  • Automated patent research and analysis.

  • Providing a standardized interface for patent information retrieval.

  • Building AI agents that can access and utilize patent data.

FAQ from Google Patents MCP Server

What is SerpApi?

SerpApi is an API that provides structured data from search engine results pages (SERPs), including Google Patents.

How do I get a SerpApi API key?

You need to sign up for an account on the SerpApi website (serpapi.com) and obtain an API key from your dashboard.

What is MCP?

MCP stands for Model Context Protocol. It is a protocol for communication between different models and tools.

How do I configure the SerpApi API key?

You can configure the SerpApi API key by setting the SERPAPI_API_KEY environment variable or by creating a .env file with the key defined.

What are the supported search parameters for the search_patents tool?

The search_patents tool supports parameters like q (search query), page, num (number of results per page), sort, before (maximum date filter), after (minimum date filter), inventor, assignee, country, language, status, type, and scholar.