bigquery-patent-search
Fast, cloud-based patent searching across 100 million+ worldwide patents using Google BigQuery - keyword search, CPC…
Guides through installation, configuration, and first-time setup of the Claude Patent Creator system.
$ npx -y skills add RobThePCGuy/Claude-Patent-Creator --skill setup-assistant --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/setup-assistantContext preview
The summary Claude sees to decide when to auto-load this skill.
Guides through installation, configuration, and first-time setup of the Claude Patent Creator system.
name: setup-assistant description: Guides through installation, configuration, and first-time setup of the Claude Patent Creator system.
Expert system for installing, configuring, and setting up the Claude Patent Creator MCP server.
Installing first time, setting up new environment, configuring authentication, troubleshooting installation, migrating to new machine, updating dependencies, verifying health.
# 1. Create virtual environment python -m venv venv venv\Scripts\activate # Windows source venv/bin/activate # Linux/macOS # 2. Run installer python install.py # 3. Restart Claude Code # 4. Test # Ask Claude: "Search MPEP for claim definiteness"
**Requirements:**
**Verify:**
python --version # Should show 3.9-3.12 nvidia-smi # Optional: Check GPU
# Create venv python -m venv venv # Activate venv\Scripts\activate # Windows source venv/bin/activate # Linux/macOS # Verify which python # Should show venv path
**Important:** Always activate venv before running scripts!
**Automated (Recommended):**
python install.py # Handles: PyTorch order, GPU detection, MCP registration
**Manual (Advanced):**
# Install PyTorch FIRST (critical!) pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128 # Then install package (includes all dependencies) pip install -e .
**Why PyTorch order matters:** If installed after sentence-transformers, you get CPU-only version.
BigQuery adds 100M+ patent search but is NOT required. MPEP search, claims review, EPO analysis, and all other features work without it.
The setup auto-detects existing gcloud credentials. If already authenticated, BigQuery works automatically.
**If the user wants to enable BigQuery later:**
# One command — opens browser for Google sign-in (free, no credit card) ! gcloud auth application-default login
**Do NOT present BigQuery as a failure or required step.** It is a bonus feature.
**Automated:**
python install.py # Handles registration automatically
**Manual:**
# Get paths patent-creator verify-config # Register (use forward slashes!) claude mcp add --transport stdio claude-patent-creator --scope user -- \ "C:/path/to/venv/Scripts/python.exe" \ "C:/path/to/mcp_server/server.py" # Verify claude mcp list
**Critical:** Restart Claude Code after registration!
Create `.env`:
# Required GOOGLE_CLOUD_PROJECT=your_project_id ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> # Optional PATENT_LOG_LEVEL=INFO PATENT_LOG_FORMAT=human PATENT_ENABLE_METRICS=true # Windows only CLAUDE_CODE_GIT_BASH_PATH=C:\dev\Git\bin\bash.exe
patent-creator health
**Setup is complete when MPEP index is built and MCP server is registered.** BigQuery and EPO OPS are optional enhancements.
Present a clean summary table showing what's ready. Do NOT dump manual setup instructions for optional features. The system is fully functional for:
If BigQuery is also configured, mention patent search as available. If not, do NOT present it as a failure — just omit it from the "ready" list.
**Test with:**
"Search MPEP for claim definiteness requirements"
**If this works -> Setup complete. Tell the user they're ready.**
| Issue | Solution | |-------|----------| | PyTorch CPU-only | Reinstall PyTorch FIRST | | MCP not loading | Restart Claude Code, verify with `claude mcp list` | | Path errors | Use forward slashes (/) not backslashes (\\) | | BigQuery fails | Re-auth: `gcloud auth application-default login` | | Index not found | Build: `patent-creator rebuild-index` | | Import errors | Activate venv |
venv\Scripts\activate pip install -e . --upgrade python scripts/test_install.py
patent-creator rebuild-index # Wait 5-15 minutes
claude mcp remove claude-patent-creator python install.py # Restart Claude Code
# Setup python install.py patent-creator health claude mcp list # Testing python scripts/test_install.py python scripts/test_gpu.py python scripts/test_bigquery.py # Maintenance patent-creator rebuild-index patent-creator verify-config
An AI-powered patent creation and analysis system for Claude Code. I built this because I needed to file a patent myself. I used AI to build the system, used the system to file the patent, and it worked. Now it's open source so anyone can use it.
Fast, cloud-based patent searching across 100 million+ worldwide patents using Google BigQuery - keyword search, CPC…
Guides through adding new features, MCP tools, analyzers, and extending the patent creator system.
RAG search across EPC provisions, EPO Guidelines for Examination, and PCT rules for European and international patent law research
Automated analysis of patent applications for EPO compliance with Art. 84 EPC (claims clarity/support), Art. 83 EPC (sufficiency…
Search European patents using EPO OPS API (full-text, legal status, families) and BigQuery (100M+ patents, EP filter) for prior…
Manages MPEP index lifecycle including downloads, building, maintenance, and optimization.