search_patents
Find chemical patents and intellectual property information using PubChem Compound ID or a custom query. Access detailed patent data from the Unofficial PubChem MCP Server.
Instructions
Search for chemical patents and intellectual property information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | No | PubChem Compound ID (CID) | |
| query | No | Patent search query (alternative to CID) |
Implementation Reference
- src/index.ts:1199-1201 (handler)The main handler function that executes the logic for the 'search_patents' tool. Currently implemented as a placeholder indicating that patent search is not yet implemented.private async handleSearchPatents(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Patent search not yet implemented', args }, null, 2) }] }; }
- src/index.ts:699-706 (schema)The input schema defining the parameters for the 'search_patents' tool, including optional cid and query fields.inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, query: { type: 'string', description: 'Patent search query (alternative to CID)' }, }, required: [], },
- src/index.ts:696-707 (registration)The registration of the 'search_patents' tool in the ListToolsRequestSchema handler, including name, description, and schema.{ name: 'search_patents', description: 'Search for chemical patents and intellectual property information', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, query: { type: 'string', description: 'Patent search query (alternative to CID)' }, }, required: [], }, },