Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub sonesuke/google-patent-cliGoogle Patent CLI - Search and analyze patents from Google Patents with MCP integration
Share bugs, ideas, or general feedback.
An AI-ready search and fetch tool for Google Patents, designed for both humans and AI agents. It extracts structured data including title, abstract, filing date, assignee, description paragraphs, claims, and images.
description_paragraphs and claims.--limit option.--before and --after.--country (e.g., JP, US, CN).--language (e.g., ja, en).--raw flag for debugging.--head to show the browser.Linux & macOS:
curl -fsSL https://raw.githubusercontent.com/sonesuke/google-patent-cli/main/install.sh | bash
Note: On Linux, this installs to
~/.local/binwithout requiringsudo. Make sure~/.local/binis in yourPATH.
Windows (PowerShell):
irm https://raw.githubusercontent.com/sonesuke/google-patent-cli/main/install.ps1 | iex
If you have Rust installed, you can build from source:
cargo install --path .
google-patent-cli supports the Model Context Protocol, allowing AI agents (like Claude Desktop) to search and fetch patents directly.
| Tool Name | Description | Parameters |
|---|---|---|
search_patents | Search Google Patents matching a query, assignee, and date filters. | query, assignee, limit, before, after, country, language |
fetch_patent | Fetch details (metadata, description, claims) of a specific patent. | patent_id (required, e.g., "US9152718B2"), language, raw |
execute_cypher | Execute a Cypher query on a loaded patent dataset. | dataset (required), query (required) |
To start the MCP server over stdio:
google-patent-cli mcp
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"google-patent-cli": {
"command": "/path/to/google-patent-cli",
"args": ["mcp"]
}
}
}
google-patent-cli is also available as a Claude Code Plugin from the marketplace.
Install the plugin using the Claude Code CLI:
claude plugin marketplace add sonesuke/google-patent-cli
| Skill | Description |
|---|---|
patent-search | Search and analyze patents from Google Patents. Supports keyword search, assignee filtering, country filtering, date range filtering, and fetching patent details. |
patent-analysis | Analyze patent search results using Cypher queries on datasets loaded by the patent-search skill. |
Once installed, you can use the skills directly in Claude Code:
# Search for patents
/patent-search action:search query:"machine learning" limit:10
# Fetch patent details
/patent-search action:fetch patent_id:"US9152718B2"
# Analyze search results
/patent-analysis dataset:"search-abc123" analysis_type:count_by_assignee