Patent Downloader

by Edison-A-N

431 downloads Not rated yet

About

A Python SDK for downloading patents from Google Patents with Model Context Protocol (MCP) support.

Explore

- Download patent PDFs from Google Patents
- Simple and clean API
- MCP (Model Context Protocol) server support
- Command-line interface
- Type hints and comprehensive error handling

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Patent Downloader
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

uv add patent-downloader

uv add "patent-downloader[mcp]"

uv add "patent-downloader[dev]"


python
from patent_downloader import PatentDownloader

You can also run the MCP server directly using uvx without installing the package:


- OUTPUT_DIR: Default output directory for downloaded files (default: ./downloads)

Example:

bash


pre-commit install

```bash

download_patent

Download a single patent PDF from Google Patents. Args: patent_number: The patent number to download (e.g., 'WO2013078254A1') output_dir: Directory to save the PDF file Returns: Success or error message

download_patents

Download multiple patent PDFs from Google Patents. Args: patent_numbers: List of patent numbers to download output_dir: Directory to save the PDF files Returns: Summary of download results

get_patent_info

Get detailed information about a patent. Args: patent_number: The patent number to get information for Returns: Formatted patent information

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "patent downloader": {
            "patent_downloader": {
                "command": "uvx",
                "args": [
                    "--from",
                    "git+https://github.com/Edison-A-N/[email protected]",
                    "--with",
                    "patent_downloader[mcp]",
                    "patent-downloader",
                    "mcp-server"
                ],
                "env": {
                    "OUTPUT_DIR": "/Users/nan.zhang/Downloads/patents"
                }
            }
        }
    }
}

McpServers

{
    "patent_downloader": {
        "command": "uvx",
        "args": [
            "--from",
            "git+https://github.com/Edison-A-N/[email protected]",
            "--with",
            "patent_downloader[mcp]",
            "patent-downloader",
            "mcp-server"
        ],
        "env": {
            "OUTPUT_DIR": "/Users/nan.zhang/Downloads/patents"
        }
    }
}

A Python SDK for downloading patents from Google Patents with Model Context Protocol (MCP) support.

Features

- Download patent PDFs from Google Patents
- Simple and clean API
- MCP (Model Context Protocol) server support
- Command-line interface
- Type hints and comprehensive error handling

Installation

Using uv (recommended)

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.