PatentRef for VS Code
io.github.patentref/patentref-mcp
PatentsView-compatible US patent API: claim trees, patent briefs and search, grants 1976 to now.
client:VS Code
transport:stdio
runtime:pypi
Install PatentRef in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "patentref-api-key",
"description": "PATENTREF_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "patentref-base",
"description": "PATENTREF_BASE",
"password": true
}
],
"servers": {
"patentref-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"patentref-mcp"
],
"env": {
"PATENTREF_API_KEY": "${input:patentref-api-key}",
"PATENTREF_BASE": "${input:patentref-base}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs