# Mpep search

> Mpep search is an open-source agent skill for legal and government. Searches USPTO patent examination rules, statutes and regulations with hybrid retrieval. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/RobThePCGuy/Claude-Patent-Creator/tree/main/skills/mpep-search
- **Repository:** https://github.com/robthepcguy/claude-patent-creator
- **GitHub stars:** 222
- **License:** MIT
- **Skill name:** mpep-search
- **Collection:** https://github.com/RobThePCGuy/Claude-Patent-Creator
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent query a local index of the USPTO Manual of Patent Examining Procedure, Title 35 of the United States Code, Title 37 of the Code of Federal Regulations, and Federal Register updates published after January 2024. Searches combine a vector index with keyword matching, use a hypothetical-document expansion step, and rerank the candidates with a cross-encoder before returning ranked passages with source, section and relevance metadata.

Beyond free-text search, the skill can filter results by source or by content type such as statute, regulation or recent update, and it can pull the indexed text of a specific MPEP chapter or subsection. The retrieval tool reports truncation and coverage fields so the agent can tell when a section has not been returned in full.

The skill expects a built index on disk, which is managed through a separate Index Manager skill and a Python command-line tool that prints storage paths. It depends on sentence-transformers, FAISS and rank-bm25, and it falls back gracefully if the query expansion step fails.

## When your agent uses it

> Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/RobThePCGuy/Claude-Patent-Creator/tree/HEAD/skills/mpep-search)
- [No network calls found in its scripts](https://github.com/RobThePCGuy/Claude-Patent-Creator/tree/HEAD/skills/mpep-search)
- [License: MIT](https://github.com/RobThePCGuy/Claude-Patent-Creator/tree/HEAD/skills/mpep-search)

## Features

- **Hybrid passage search:** Combines vector similarity and keyword scoring, then reranks results with a cross-encoder.
- **Source and type filters:** Narrows results to MPEP, 35 USC, 37 CFR or post-2024 updates, or to statutes and regulations.
- **MPEP section retrieval:** Fetches indexed text for a chapter or subsection number, with truncation and coverage flags.
- **Recent update tracking:** Surfaces Federal Register changes published after January 2024 alongside the core rules.
- **Citation metadata:** Returns section numbers, section titles and Federal Register citations where available.

## Good for

- Find the MPEP guidance on enablement under 35 USC 112
- Check what 37 CFR says about patent fee schedules
- Pull the MPEP chapter on patentability for a claim review
- Look up recent USPTO changes on AI inventorship

## Install

### Claude Code

This skill ships in the `claude-patent-creator-standalone` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add RobThePCGuy/Claude-Patent-Creator
/plugin install claude-patent-creator-standalone@claude-patent-creator
```

Or copy only this skill to `~/.claude/skills/mpep-search`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mpep-search &&
cp -R "$tmp/skills/mpep-search" ~/.claude/skills/mpep-search &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/mpep-search` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/mpep-search` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mpep-search &&
cp -R "$tmp/skills/mpep-search" ~/.agents/skills/mpep-search &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/mpep-search` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/mpep-search` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mpep-search &&
cp -R "$tmp/skills/mpep-search" ~/.cursor/skills/mpep-search &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/mpep-search` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/RobThePCGuy/Claude-Patent-Creator.git --path skills/mpep-search
```

Or copy the folder to `~/.gemini/skills/mpep-search` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/mpep-search`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mpep-search &&
cp -R "$tmp/skills/mpep-search" ~/.copilot/skills/mpep-search &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/mpep-search` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git
```

Then copy `Claude-Patent-Creator/skills/mpep-search` into your agent's skills folder as `mpep-search`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Mpep search can search?

It needs a built index of the MPEP corpus with its FAISS, metadata and BM25 files on disk, which the Index Manager skill and the CLI health command help locate.

### Which sources does Mpep search cover?

The MPEP, Title 35 of the US Code, Title 37 of the CFR, and Federal Register updates published after January 2024.

### Can Mpep search return a whole MPEP chapter?

It can retrieve indexed chunks for a section number, up to 50 by default, but the skill warns that extraction can leave gaps and the result is not guaranteed to be complete text.

### How do I install Mpep search in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mpep-search to use it in all your projects, or to .claude/skills/mpep-search in one project. Or install the claude-patent-creator-standalone plugin, which includes it: /plugin marketplace add RobThePCGuy/Claude-Patent-Creator, then /plugin install claude-patent-creator-standalone@claude-patent-creator.

### Does Mpep search run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Mpep search?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Mpep search?

The closest alternatives to Mpep search are Epc search, Patent reviewer, Patent search, Prior art search and Epo patent search.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Epc search](https://ai-powered.com/skills/epc-search): Epc search is an open-source agent skill for legal and government.
- [Patent reviewer](https://ai-powered.com/skills/patent-reviewer): Patent reviewer is an open-source agent skill for legal and government.
- [Patent search](https://ai-powered.com/skills/patent-search-robthepcguy): Patent search is an open-source agent skill for legal and government.
- [Prior art search](https://ai-powered.com/skills/prior-art-search): Prior art search is an open-source agent skill for legal and government.
- [Epo patent search](https://ai-powered.com/skills/epo-patent-search): Epo patent search is an open-source agent skill for legal and government.
- [Patent claims analyzer](https://ai-powered.com/skills/patent-claims-analyzer): Patent claims analyzer is an open-source agent skill for legal and government.
- [Index manager](https://ai-powered.com/skills/index-manager): Index manager is an open-source agent skill for legal and government.
- [Bigquery patent search](https://ai-powered.com/skills/bigquery-patent-search): Bigquery patent search is an open-source agent skill for databases.

---
Source: https://ai-powered.com/skills/mpep-search
