pubchem-mcp
Verified Safeby openpharma-org
Overview
This server provides a Model Context Protocol (MCP) interface to the PubChem chemical database, enabling AI models or applications to perform chemical searches, retrieve compound information, analyze structures, fetch properties, access bioassay data, and query safety information.
Installation
node build/index.jsSecurity Notes
The server appears well-designed with robust input validation (using `isValid...Args` functions) for all implemented tools, which helps prevent common injection vulnerabilities when interacting with the external PubChem PUG REST API. All API calls to PubChem use `encodeURIComponent` for query parameters, further enhancing safety. There are no `eval` statements, explicit dangerous `child_process` calls (beyond the Node.js runtime itself), or direct sensitive file system operations detected in the provided source code. No hardcoded secrets (like API keys) are present, aligning with PubChem's public API policy. The server acts as a proxy, and its overall security model relies on the inherent security of the PubChem API. Potential for high volume data retrieval (e.g., from similarity searches or batch lookups with many records) exists, which could impact server resources if not managed by the caller, but this is an operational concern rather than a code vulnerability. Unimplemented methods gracefully return an `ErrorCode.MethodNotFound` error.
Similar Servers
rdkit-mcp-server
Enables language models to interact with RDKit cheminformatics functions through a Model Context Protocol server.
knowledgebase-mcp
A standardized Model Context Protocol (MCP) server that aggregates and provides AI systems with access to diverse biomedical knowledge bases and analysis tools.
opentargets-mcp
Serves as a Model Context Protocol (MCP) server exposing the Open Targets Platform GraphQL API as a set of structured tools for AI agents and other MCP-compatible clients to access biomedical data.
open-targets-platform-mcp
This server acts as a Model Context Protocol (MCP) endpoint, enabling AI assistants to interact with the Open Targets Platform GraphQL API for drug discovery and target-disease association data.