bigquery-patent-search
Fast, cloud-based patent searching across 100 million+ worldwide patents using Google BigQuery - keyword search, CPC…
Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.
$ npx -y skills add RobThePCGuy/Claude-Patent-Creator --skill mpep-search --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mpep-searchContext preview
The summary Claude sees to decide when to auto-load this skill.
Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.
name: mpep-search description: Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.
Search MPEP corpus through hybrid RAG (FAISS vector + BM25 keyword + HyDE + cross-encoder reranking).
**Sources:**
**Inputs:**
**Outputs:**
{
"rank": int,
"source": str,
"section": str,
"file": str,
"page": int,
"has_statute": bool,
"has_mpep_ref": bool,
"has_rule_ref": bool,
"is_statute": bool,
"is_regulation": bool,
"is_update": bool,
"relevance_score": float,
"text": str,
# Optional for SUBSEQUENT:
"doc_type": str,
"fr_citation": str,
"effective_date": str
}**Examples:**
# Basic search
search_mpep("enablement requirement 35 USC 112", top_k=5)
# Search only statutes
search_mpep("written description", top_k=10, is_statute=True)
# Search recent updates
search_mpep("AI inventorship", is_update=True)
# Filter by source
search_mpep("fee schedule", source_filter="37_CFR")Retrieve all content from specific MPEP section.
**Inputs:**
**Outputs:**
{
"section": str,
"total_chunks": int,
"chunks": [
{
"text": str,
"metadata": {
"source": str,
"file": str,
"page": int,
"section": str,
"has_statute": bool,
"has_mpep_ref": bool,
"has_rule_ref": bool,
"is_statute": bool,
"is_regulation": bool,
"is_update": bool
}
}
]
}**Error Response:**
{"error": "No content found for MPEP section {section_number}"}**Examples:**
# Get MPEP 2100 (Patentability)
get_mpep_section("2100", max_chunks=50)
# Get subsection
get_mpep_section("608.01")**Query validation:**
**Section number validation:**
**Limits:**
**Index Location:**
**Search Architecture:** 1. HyDE Query Expansion (hypothetical documents) 2. Hybrid Retrieval (FAISS vector + BM25 keyword via RRF) 3. Cross-Encoder Reranking (final relevance scores) 4. Metadata Filtering (source/type filters)
**Dependencies:**
**Error Handling:**
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.