An AI-powered patent creation and analysis system for Claude Code. I built this because I needed to file a patent myself.
> /plugin marketplace add RobThePCGuy/Claude-Patent-Creator> /plugin install claude-patent-creator-standalone@claude-patent-creator
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. You do not need to be a lawyer or a programmer. If you can describe your idea in a chat window, you can use this.
In plain terms, this tool lets you:
New to the vocabulary? Every term this page uses is explained in the Glossary in plain English.
This tool is built for people who cannot afford a mistake, so it is honest to a fault. Know what you are getting:
Never used Claude Code? It's Anthropic's AI assistant that runs in a terminal or as a desktop app — install it first (a paid Claude subscription is the only cost to start). Then come back here; setup is one command and the tool talks you through the rest.
Pick the path that fits your setup. All three get you to the same place.
If you're already using Claude Code, this is the fastest way in:
# Add the marketplace and install
/plugin marketplace add RobThePCGuy/Claude-Patent-Creator
/plugin install claude-patent-creator-standalone@claude-patent-creator
# Run setup
/claude-patent-creator-standalone:setup-patent-system
pip install git+https://github.com/RobThePCGuy/Claude-Patent-Creator.git && patent-creator setup
This handles everything automatically: installs dependencies, detects your GPU, downloads MPEP PDFs (~500MB), builds the search index, and registers the MCP server with Claude Code. Restart Claude Code when it finishes.
git clone https://github.com/RobThePCGuy/Claude-Patent-Creator.git
cd Claude-Patent-Creator
# Optional: use a virtual environment
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
pip install -e .
patent-creator setup
After any install path, run:
patent-creator health
You should see a status report showing which components are ready. If something's off, the output will tell you what to fix.
Here are some real examples. You can type these directly in Claude Code and the right skill or tool kicks in automatically. Say it in your own words — the "what to say" column is a starting point, not a required incantation.
| What you want to do | What to say | What happens |
|---|---|---|
| Find out if a rule applies to you | "Search MPEP for claim definiteness requirements" — or just "do my claims have to be written a certain way?" | The tool searches the examiner's rulebook and returns the relevant sections, with citations you can read yourself |
| See if your idea already exists | "Search for patents about [your idea]" — e.g. "self-heating coffee mug" | Searches 100M+ existing patents and shows you the closest matches, so you know what you're up against |
| Get your draft claims checked | "Review these claims" (paste them in) | Flags unclear wording, terms used before they're introduced, and structural problems — the mechanical mistakes an examiner rejects first |
| Check a whole application | /full-review | Runs the claims, description, and formatting checks together and reports everything at once |
| Go from idea to draft application | /create-patent | A guided workflow: describe the invention, the tool searches prior art, drafts, checks, and assembles a reviewable package (typically about an hour) |
| Make a drawing | "Create a block diagram showing [your system]" | Produces a patent-style figure, no design software needed |
| Dig deep on whether your idea is new | "Conduct a prior art search for [your invention]" | A thorough multi-angle hunt through existing patents, with an honest verdict on what it found |
Everything from here down gets progressively more technical. You do not need any of it to use the tool — the sections above plus the Glossary are enough. This part is for developers, patent professionals, and the curious.
The system has two modes that can work independently or together:
MCP Server is the engine. It exposes 20+ tools that any MCP-compatible client (Claude Code, Claude Desktop, etc.) can call programmatically. These tools handle search, analysis, and diagram generation.
Claude Code Plugin adds the interactive layer. Skills activate automatically based on what you're doing. Agents handle long-running tasks in the background. Slash commands give you quick access to common workflows.
Under the hood, patent regulation search uses a hybrid approach: FAISS vector search finds semantically similar content, BM25 lexical search catches exact terminology matches, and a cross-encoder reranker sorts the combined results by relevance. Patent search goes through Google BigQuery's public patent dataset.
You (Claude Code) ──> MCP Server ──> Search / Analysis / Diagrams
│
┌──────────────┼──────────────┐
v v v
MPEP/USC/CFR BigQuery Graphviz
(hybrid RAG) (100M+ patents) (diagrams)
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
pip install git+https://github.com/RobThePCGuy/Claude-Patent-Creator.git && patent-creator setup
If you go this route, remember to activate the venv before running any manual commands. Claude Code handles activation automatically.
claude --plugin-dir ./Claude-Patent-Creator
This loads the plugin directly from your local checkout without installing from the marketplace.
patent-creator setup # Full setup wizard (downloads, builds index, registers MCP)
patent-creator health # System health check (shows what's working and what isn't)
patent-creator status # Same as health
patent-creator verify-config # Check Claude Code MCP configuration
patent-creator serve # Run the MCP server manually
patent-creator rebuild-index # Rebuild the MPEP search index
patent-creator download-mpep # Download MPEP PDFs only
patent-creator download-all # Download all sources (MPEP + 35 USC + 37 CFR)
patent-creator check-bigquery # Test BigQuery connection
| Tool | What it does |
|---|---|
search_mpep | Hybrid RAG search across MPEP, 35 USC, and 37 CFR with filters |
get_mpep_section | Pull full content of a specific MPEP section |
search_patents_google | Full-text keyword search worldwide, claims included (recommended; free SerpApi key, 250 searches/month) |
search_patents_bigquery | Keyword search fallback when no SerpApi key is set (~$2 a search past the free monthly TiB) |
get_patent_bigquery | Get details on a specific patent (claims by default; abstract/description opt-in) |
get_patents_bigquery | Get details on up to 50 patents in one query, same cost as one |
search_patents_by_cpc_bigquery | Search by CPC classification code |
search_uspto_api | Search via the USPTO API |
get_uspto_patent | Get patent details from USPTO |
claude-patent-creator-standalone is a Claude Code plugin with 17 hand-picked skills, indexed on Flowy in the Legal category. Install it with the command on its page. It includes bigquery-patent-search, development-assistant, epc-search. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it