Searches Google Patents through the SerpApi Google Patents API with filters and sort options.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add google-patents --env SERPAPI_API_KEY='<SERPAPI_API_KEY>' -- npx -y @kunihiros/google-patents-mcp~/.codex/config.toml
[mcp_servers.google-patents]
command = "npx"
args = ["-y", "@kunihiros/google-patents-mcp"]
env = { SERPAPI_API_KEY = "<SERPAPI_API_KEY>" }
# codex mcp add google-patents --env SERPAPI_API_KEY='<SERPAPI_API_KEY>' -- npx -y @kunihiros/google-patents-mcp~/.cursor/mcp.json
{
"mcpServers": {
"google-patents": {
"command": "npx",
"args": [
"-y",
"@kunihiros/google-patents-mcp"
],
"env": {
"SERPAPI_API_KEY": "<SERPAPI_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"google-patents": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kunihiros/google-patents-mcp"
],
"env": {
"SERPAPI_API_KEY": "<SERPAPI_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-patents": {
"command": "npx",
"args": [
"-y",
"@kunihiros/google-patents-mcp"
],
"env": {
"SERPAPI_API_KEY": "<SERPAPI_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"google-patents": {
"command": "npx",
"args": [
"-y",
"@kunihiros/google-patents-mcp"
],
"env": {
"SERPAPI_API_KEY": "<SERPAPI_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-patents": {
"command": "npx",
"args": [
"-y",
"@kunihiros/google-patents-mcp"
],
"env": {
"SERPAPI_API_KEY": "<SERPAPI_API_KEY>"
}
}
}
}Environment variables
SERPAPI_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.