Home / MCP / PatSnap MCP Server
Provides access to PatSnap API data for trend analysis, keyword insights, and competitive intelligence via MCP endpoints.
Configuration
View docs{
"mcpServers": {
"patsnap_mcp": {
"command": "npx",
"args": [
"@kunihiros/patsnap-mcp"
],
"env": {
"PATSNAP_CLIENT_ID": "your_patsnap_client_id_here",
"PATSNAP_CLIENT_SECRET": "your_patsnap_client_secret_here"
}
}
}
}You can run the PatSnap MCP Server to collect patent-related information from PatSnap's API for trend analysis and reporting. It exposes a set of tools to explore trends, keywords, innovation wheels, and key players, helping you derive insights across technology domains.
You will run the PatSnap MCP Server as an MCP endpoint that your MCP client can invoke. After starting the server, use the available tools to query PatSnap data with your search criteria. You can perform trend analysis, generate word clouds from recent publications, explore innovation relationships, identify top patents or inventors, and assess legal status and litigation involvement. To access these tools, you need valid PatSnap API credentials and to supply your search terms as part of the tool requests. If both keywords and an IPC class are provided for a query, the IPC classification takes precedence in several tools.
Key tools include get_patent_trends, get_word_cloud, get_wheel_of_innovation, get_most_cited_patents, get_top_authorities_of_origin, get_top_inventors, get_top_assignees, get_simple_legal_status, and get_most_litigated_patents. Each tool returns specific insights such as trends over time, commonly occurring terms, two-tier keyword associations, most cited patents, priority origins, top inventors and assignees, simple patent status, and litigation counts. Ensure you set either keywords or IPC classification for your searches; if both are provided, IPC is preferred for several endpoints.
# Prerequisites
# Ensure Node.js and npm are installed on your system
node -v
npm -v
# 1) Clone the repository
git clone https://example.com/kunihiros/patsnap-mcp.git
cd patsnap-mcp
# 2) Install dependencies
npm install
# 3) Build the project
npm run build
# 4) Start the server
npm startThe MCP server is designed to be run via a local command that your MCP Host can invoke. You will provide PatSnap API credentials as environment variables when you run the MCP server. The following configuration enables your MCP Host to invoke the PatSnap MCP server using npx, passing along credentials securely.
{
"mcpServers": {
"@kunihiros/patsnap-mcp": {
"command": "npx",
"args": ["@kunihiros/patsnap-mcp"],
"env": {
"PATSNAP_CLIENT_ID": "your_patsnap_client_id_here",
"PATSNAP_CLIENT_SECRET": "your_patsnap_client_secret_here"
},
"disabled": false,
"autoApprove": []
}
}
}You must provide PatSnap API credentials to access the service. Set the environment variables PATSNAP_CLIENT_ID and PATSNAP_CLIENT_SECRET in your MCP Host configuration or in the environment where you start the MCP server. These credentials authorize requests to PatSnap's API for all MCP interactions.
If you encounter authentication errors, verify that your PatSnap credentials are valid and that they are correctly exported as environment variables before starting the server. Check that your Node.js version meets any minimum requirements listed by the project. If a tool returns no results, refine your search to ensure you are providing either keywords or an IPC classification. Restart the server after changing credentials or environment settings.
Keep PatSnap API credentials secure. Do not commit credentials to version control. Use your MCP Host’s secret management capabilities to store and inject PATSNAP_CLIENT_ID and PATSNAP_CLIENT_SECRET into the server process at runtime.
Analyze annual patent application and issued trends for patents related to technology fields or keywords; requires either keywords or IPC classification, with IPC prioritized if both are provided.
Return a snapshot of frequently occurring keywords/phrases from the most recent 5,000 published patents; returns up to 100 keywords; requires keywords or IPC classification.
Provide a two-tiered hierarchical view of keywords/phrases in a technology space based on the most recent 5,000 publications; requires keywords or IPC classification.
Return the top patents cited most frequently by others; requires keywords or IPC; IPC takes precedence if both are provided.
Return top priority countries of origin for patents matching the criteria (keywords or IPC).
Show the top inventors in the technology field; requires keywords or IPC; IPC prioritized if both are provided.
Show the top companies with the largest patent portfolios; requires keywords or IPC; IPC prioritized if both are provided.
Provide a breakdown of simple legal status (Active, Inactive, Pending) for patents in the field; requires keywords or IPC; IPC prioritized if both are provided.
Identify patents involved in the most litigation cases; returns Top 10 by litigation count; requires keywords or IPC; IPC prioritized if both are provided.