Skip to main content
Glama
Augmented-Nature

Unofficial PubChem MCP Server

search_by_target

Find chemical compounds tested against specific biological targets like genes or proteins, with activity data such as IC50 values from PubChem's database.

Instructions

Find compounds tested against a specific biological target

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesTarget name (gene, protein, or pathway)
activity_typeNoType of activity (e.g., IC50, EC50, Ki)
max_recordsNoMaximum number of results (1-1000, default: 100)

Implementation Reference

  • The primary handler function implementing the 'search_by_target' tool logic. It is a placeholder that returns a 'not yet implemented' message with the input arguments.
    private async handleSearchByTarget(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Target search not yet implemented', args }, null, 2) }] }; }
  • src/index.ts:612-623 (registration)
    Registration of the 'search_by_target' tool in the ListToolsRequestSchema handler, including its name, description, and input schema definition.
    { name: 'search_by_target', description: 'Find compounds tested against a specific biological target', inputSchema: { type: 'object', properties: { target: { type: 'string', description: 'Target name (gene, protein, or pathway)' }, activity_type: { type: 'string', description: 'Type of activity (e.g., IC50, EC50, Ki)' }, max_records: { type: 'number', description: 'Maximum number of results (1-1000, default: 100)', minimum: 1, maximum: 1000 }, }, required: ['target'], },
  • The input schema defining the expected parameters for the 'search_by_target' tool.
    inputSchema: { type: 'object', properties: { target: { type: 'string', description: 'Target name (gene, protein, or pathway)' }, activity_type: { type: 'string', description: 'Type of activity (e.g., IC50, EC50, Ki)' }, max_records: { type: 'number', description: 'Maximum number of results (1-1000, default: 100)', minimum: 1, maximum: 1000 }, }, required: ['target'], },
  • src/index.ts:786-787 (registration)
    Dispatch case in the CallToolRequestSchema handler that routes calls to the 'search_by_target' tool to its handler function.
    case 'search_by_target': return await this.handleSearchByTarget(args);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Augmented-Nature/Augmented-Nature-PubChem-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server