MCPInstall

setup-assistant

Guides through installation, configuration, and first-time setup of the Claude Patent Creator system.

Installs
56
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/robthepcguy/claude-patent-creator --skill setup-assistant
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads setup-assistant automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Setup Assistant Skill

Expert system for installing, configuring, and setting up the Claude Patent Creator MCP server.

When to Use

Installing first time, setting up new environment, configuring authentication, troubleshooting installation, migrating to new machine, updating dependencies, verifying health.

Quick Setup (5 Minutes)

# 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"

Complete Setup Lifecycle

Phase 1: Pre-Installation Checks

Requirements:

  • Python 3.9-3.12 (3.11 recommended)
  • 8GB+ RAM (16GB recommended)
  • 5GB free disk
  • Optional: NVIDIA GPU with CUDA 12.x

Verify:

python --version  # Should show 3.9-3.12
nvidia-smi        # Optional: Check GPU

Phase 2: Virtual Environment

# 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!

Phase 3: Dependency Installation

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.

Phase 4: BigQuery Authentication (Optional)

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.

Phase 5: MCP Server Registration

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!

Phase 6: Configuration Files

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

Phase 7: Health Check

patent-creator health

Phase 8: Present Results

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:

  • MPEP/USC/CFR/EPC/PCT legal search
  • Claims analysis (US + EPO)
  • Specification analysis (US + EPO)
  • Formalities checking (US + EPO + PCT)
  • Patent diagram generation
  • Patent application drafting

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.

Common Setup Issues

IssueSolution
PyTorch CPU-onlyReinstall PyTorch FIRST
MCP not loadingRestart Claude Code, verify with claude mcp list
Path errorsUse forward slashes (/) not backslashes (\)
BigQuery failsRe-auth: gcloud auth application-default login
Index not foundBuild: patent-creator rebuild-index
Import errorsActivate venv

Platform-Specific Notes

Windows

  • PowerShell: Use venv\Scripts\activate
  • Git Bash required for MCP commands
  • Paths: Always forward slashes in MCP config
  • CUDA: Install NVIDIA drivers + toolkit

Linux

  • venv: source venv/bin/activate
  • FAISS-GPU: Available on Linux only
  • Permissions: May need sudo

macOS

  • Apple Silicon: Use MPS (auto-detected)
  • Intel: Use CPU or external GPU
  • Homebrew: May need for dependencies

Update & Maintenance

Updating Dependencies

venv\Scripts\activate
pip install -e . --upgrade
python scripts/test_install.py

Rebuilding Index

patent-creator rebuild-index
# Wait 5-15 minutes

Re-registering MCP

claude mcp remove claude-patent-creator
python install.py
# Restart Claude Code

Quick Reference

Essential Commands

# 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

Critical Files

  • .env - Environment variables
  • requirements.txt - Dependencies
  • mcp_server/index/ - MPEP search index
  • pdfs/ - MPEP PDF files

FAQ

What does the setup-assistant skill do?

Guides through installation, configuration, and first-time setup of the Claude Patent Creator system.

How do I install setup-assistant?

Run npx skills add https://github.com/robthepcguy/claude-patent-creator --skill setup-assistant in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/setup-assistant/ (personal) or .claude/skills/setup-assistant/ (project).

Which AI agents can use setup-assistant?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is setup-assistant safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains setup-assistant?

It is published by robthepcguy in robthepcguy/claude-patent-creator. It has 56 recorded installs.

More from robthepcguy/claude-patent-creator

View all →

patent-application-creator

robthepcguy/claude-patent-creator

End-to-end patent campaign from ANY raw material ("here is some information; make a patent") to a filing-ready provisional package - invention mining, worth-it economics (design-around cost, detectability), exhaustive adversarial prior art, claims-first drafting, machine-verified compliance, hostile-examiner attack pass, and an honest no-go when nothing clears the bar or the fence is not worth the money

Testing & QA825 installs

patent-claims-analyzer

robthepcguy/claude-patent-creator

Open the skill to read its SKILL.md instructions.

451 installs

patent-diagram-generator

robthepcguy/claude-patent-creator

Open the skill to read its SKILL.md instructions.

Docs & Writing313 installs

prior-art-search

robthepcguy/claude-patent-creator

Open the skill to read its SKILL.md instructions.

Media & Creative247 installs

bigquery-patent-search

robthepcguy/claude-patent-creator

Open the skill to read its SKILL.md instructions.

Data & Databases99 installs

patent-reviewer

robthepcguy/claude-patent-creator

Open the skill to read its SKILL.md instructions.

86 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs