Skip to content
Skillpedia
Research33k · #9041

uspto-database

What it does

This skill guides the AI agent in using US Patent and Trademark Office data sources. It is for inventors, lawyers, analysts and researchers who need patent or trademark facts.

When to use it

  • ✓When you want to find patents about a topic, company or inventor.
  • ✓When you need the legal status or history of a trademark.
  • ✓When you are checking prior art before filing a patent.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/uspto-database/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/uspto-database/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you search US patents about battery cooling filed by Tesla in the last two years?”

5 new skills a week. 1 minute to read.

How it works

The agent queries official USPTO data services by keyword, owner, number or date, and summarizes what it finds.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

USPTO Database

Overview

USPTO provides specialized APIs for patent and trademark data. Search patents by keywords/inventors/assignees, retrieve examination history via PEDS, track assignments, analyze citations and office actions, access TSDR for trademarks, for IP analysis and prior art searches.

When to Use This Skill

This skill should be used when:

  • Patent Search: Finding patents by keywords, inventors, assignees, classifications, or dates
  • Patent Details: Retrieving full patent data including claims, abstracts, citations
  • Trademark Search: Looking up trademarks by serial or registration number
  • Trademark Status: Checking trademark status, ownership, and prosecution history
  • Examination History: Accessing patent prosecution data from PEDS (Patent Examination Data System)
  • Office Actions: Retrieving office action text, citations, and rejections
  • Assignments: Tracking patent/trademark ownership transfers
  • Citations: Analyzing patent citations (forward and backward)
  • Litigation: Accessing patent litigation records
  • Portfolio Analysis: Analyzing patent/trademark portfolios for companies or inventors

USPTO API Ecosystem

The USPTO provides multiple specialized APIs for different data needs:

Core APIs

  1. PatentSearch API - Modern ElasticSearch-based patent search (replaced legacy PatentsView in May 2025)

    • Search patents by keywords, inventors, assignees, classifications, dates
    • Access to patent data through June 30, 2025
    • 45 requests/minute rate limit
    • Base URL: https://search.patentsview.org/api/v1/
  2. PEDS (Patent Examination Data System) - Patent examination history

    • Application status and transaction history from 1981-present
    • Office action dates and examination events
    • Use uspto-opendata-python Python library
    • Replaced: PAIR Bulk Data (PBD) - decommissioned
  3. TSDR (Trademark Status & Document Retrieval) - Trademark data

    • Trademark status, ownership, prosecution history
    • Search by serial or registration number
    • Base URL: https://tsdrapi.uspto.gov/ts/cd/

Additional APIs

  1. Patent Assignment Search - Ownership records and transfers
  2. Trademark Assignment Search - Trademark ownership changes
  3. Enriched Citation API - Patent citation analysis
  4. Office Action Text Retrieval - Full text of office actions
  5. Office Action Citations - Citations from office actions
  6. Office Action Rejection - Rejection reasons and types
  7. PTAB API - Patent Trial and Appeal Board proceedings
  8. Patent Litigation Cases - Federal district court litigation data
  9. Cancer Moonshot Data Set - Cancer-related patents

Quick Start

API Key Registration

All USPTO APIs require an API key. Register at: https://account.uspto.gov/api-manager/

Set the API key as an environment variable:

export USPTO_API_KEY="your_api_key_here"

Helper Scripts

This skill includes Python scripts for common operations:

  • scripts/patent_search.py - PatentSearch API client for searching patents
  • scripts/peds_client.py - PEDS client for examination history
  • scripts/trademark_client.py - TSDR client for trademark data

Task 1: Searching Patents

Using the PatentSearch API

The PatentSearch API uses a JSON query language with various operators for flexible searching.

Basic Patent Search Examples

Search by keywords in abstract:

from scripts.patent_search import PatentSearchClient

client = PatentSearchClient()

# Search for machine learning patents
results = client.search_patents({
    "patent_abstract": {"_text_all": ["machine", "learning"]}
})

for patent in results['patents']:
    print(f"{patent['patent_number']}: {patent['patent_title']}")

Search by inventor:

results = client.search_by_inventor("John Smith")

Search by assignee/company:

results = client.search_by_assignee("Google")

Search by date range:

results = client.search_by_date_range("2024-01-01", "2024-12-31")

Search by CPC classification:

results = client.search_by_classification("H04N")  # Video/image tech

Advanced Patent Search

Combine multiple criteria with logical operators:

results = client.advanced_search(
    keywords=["artificial", "intelligence"],
    assignee="Microsoft",
    start_date="2023-01-01",
    end_date="2024-12-31",
    cpc_code
FAQ

Is this official government data?

Yes. The skill uses USPTO data services, which are provided by the US Patent and Trademark Office.

Can it check a trademark status?

Yes. The skill covers trademark lookups by serial or registration number.

Does it give legal advice?

No. The results are facts to review, and a patent attorney should confirm any legal decisions.

Details

Original description by the author

Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#9041
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills