Skip to main content

MCP server for structured intellectual property data retrieval

Project description

uyanip-mcp

MCP (Model Context Protocol) server that provides structured intellectual property data retrieval via HTTP API. Supports CN, US, EP, JP, KR, WO/PCT, and other major authorities.

Built for AI agents to seamlessly retrieve IP information during software engineering, competitive research, and analysis tasks.

Features

  • Global coverage — CN / US / EP / JP / KR / WO / DE / CA / AU / GB / FR and more
  • Dual number formats — application numbers and publication numbers
  • Full content — bibliographic info, claims, description, drawings, PDF file download
  • Auto-login — RSA-encrypted authentication via environment variables
  • Session persistence — cookies and tokens survive restarts via disk cache
  • Token refresh — auto-refreshes expired access tokens transparently
  • Batch query — fetch multiple records with built-in rate-limit awareness

Prerequisites

  • Python 3.11+

Installation

pip install uyanip-mcp

Configuration

Set the following environment variables:

Variable Description
UYANIP_USERNAME Your account username (phone or email)
UYANIP_PASSWORD Your account password

Usage

With opencode

Register in opencode.jsonc:

{
  "mcp": {
    "uyanip-mcp": {
      "type": "local",
      "command": ["uvx", "uyanip-mcp"],
      "environment": {
        "UYANIP_USERNAME": "your-username",
        "UYANIP_PASSWORD": "your-password"
      }
    }
  }
}

Command-line

uvx uyanip-mcp

Python API

from uyanip_mcp.api_client import login_from_config, fetch_bibliographic

login_from_config()

info = fetch_bibliographic("CN115353203A")

Available Tools

Tool Description Input
login Authenticate with credentials username, password
fetch_bibliographic Get bibliographic information patent_no
fetch_claims Get claims text patent_no
fetch_description Get description text patent_no
fetch_drawings Get drawing image URLs patent_no
fetch_patent_content Get all content in one call patent_no
batch_fetch_patents Fetch multiple records (rate-limited) patent_nos (array)
fetch_patent_pdf Download PDF (base64-encoded) patent_no

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uyanip_mcp-1.0.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file uyanip_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: uyanip_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for uyanip_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edfcd9a306ce79e6e18f2817fc385379315ea4142fa799afbf9a19300986c3e6
MD5 c7cca693d66cd61ec35f5cb19f37025b
BLAKE2b-256 19b52c67e534fee7add17541be0334cd1090b95e9570baca39f84551ecf90f65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page