setup-patent-creator

setup-patent-creator is a command for Claude Code from Raw1mage/patentmcp. It costs 19 tokens per session (284 once invoked), scanned A, a copy of setup-patent-creator, MIT.

A command that performs the complete installation of the Claude Patent Creator system, including legal-source downloads, search-index building, cloud search configuration, and MCP registration.

In plain words
What is it for?
Run it from the project root when setting up the system, installing its dependencies and patent-law sources, building the search index, and connecting it to Claude Code.
Why use it?
It combines the main installation steps and reports whether the index, server registration, and health check completed successfully.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-patent-creator-standalone plugin — 17 skills, 16 commands, 13 agents, 2 hooks shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Raw1mage/patentmcp
Claude Code
/plugin install claude-patent-creator-standalone

Made for: Claude Code.

Or install claude-patent-creator-standalone, the plugin that ships this one along with the rest of its 17 skills, 16 commands, 13 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-patent-creator

README.md
[![agentmods](https://agentmods.dev/badge/commands/raw1mage/patentmcp/setup-patent-creator.svg)](https://agentmods.dev/commands/raw1mage/patentmcp/setup-patent-creator)
Your own site
<a href="https://agentmods.dev/commands/raw1mage/patentmcp/setup-patent-creator"><img src="https://agentmods.dev/badge/commands/raw1mage/patentmcp/setup-patent-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00284
Opus 5 $0.00010 $0.00142
Sonnet 5 $0.00004 $0.00057
Haiku 4.5 $0.00002 $0.00028

Measured 5d ago against content hash 39d9f19dbb82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

setup-patent-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to setup-patent-creator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

refs/Claude-Patent-Creator/commands/setup-patent-creator.md · 51 lines

What it actually says

Setup Patent Creator

Complete installation and configuration of the Claude Patent Creator MCP server.

Instructions

  1. Verify we're in the project root (the directory containing pyproject.toml)
  2. Run the patent-creator setup command
  3. Monitor progress through:
    • PyTorch installation
    • MPEP PDF downloads (500MB)
    • Index building (5-15 min GPU, 35-65 min CPU)
    • BigQuery configuration
    • MCP server registration
  4. Verify successful setup

Command

# Replace with your plugin path or use CLAUDE_PLUGIN_ROOT
cd ${CLAUDE_PLUGIN_ROOT}
python install.py

Or if already installed:

patent-creator setup

What This Does

  • Detects OS and hardware (GPU/CPU)
  • Installs PyTorch with correct CUDA version
  • Downloads USPTO examination rules (MPEP, 35 USC, 37 CFR)
  • Builds hybrid search index (FAISS + BM25)
  • Configures BigQuery for patent search
  • Registers MCP server with Claude Code

Expected Output

  • Installation confirmation
  • Index build completion message
  • MCP server registration success
  • Health check passing
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 51 lines · 19 tokens per session scan A 39d9f19dbb82

Subscribe to this mod's changes

setup-patent-creator is a command published in the GitHub repository Raw1mage/patentmcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 284 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to setup-patent-creator, differing in 0 lines, and is treated as a copy.