# Mychem [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-mychem  
**GitHub Stars:** 0  
**npm Downloads (last month):** 825  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mychem

## Description
MyChem.info MCP.

## Tools
Capabilities this server exposes over MCP:

- **mychem_query** — Search MyChem.info for drugs / chemical compounds. Accepts a plain drug name ("aspirin"), an InChIKey, or a fielded query (e.g. "chembl.pref_name:aspirin", "drugbank.name:Acetylsalicylic acid"). Returns aggregated hits with cross-references to ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, etc. Use this to resolve a drug name into structured identifiers.
- **chem** — Fetch the full aggregated annotation for a single chemical / drug by id. The id is typically an InChIKey (e.g. "BSYNRYMUTXBXSQ-UHFFFAOYSA-N"), but a DrugBank id, ChEMBL id, or other source id also works. Returns merged annotations from ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, etc., including mechanism, indication, and pharmacology cross-references.
- **mychem_metadata** — Returns MyChem.info build metadata: total indexed compound count, available annotation sources (ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, FDA NDC), and their current release versions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mychem": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-mychem"]
  }
}
```

## Documentation

## What Mychem does

Mychem provides MCP access to aggregated drug and chemical-compound data from MyChem.info. Records combine annotations from multiple biomedical sources, including ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, and FDA NDC. This makes it useful when an agent needs to identify a compound, connect identifiers across databases, or retrieve consolidated pharmacology information.

The server exposes three pack-specific tools:

- `query` searches for drugs and chemical compounds using a plain name, an InChIKey, or a fielded expression such as `chembl.pref_name:aspirin`.
- `chem` retrieves the full merged annotation for one chemical or drug.
- `metadata` reports the indexed compound count, available annotation sources, and source release versions.

## How it works

A name or identifier supplied to `query` is sent to MyChem.info and returned with cross-references to sources such as ChEMBL, DrugBank, PubChem, ChEBI, and DrugCentral. The tool is suited to resolving a common drug name into structured identifiers before making a more targeted lookup.

`chem` accepts an InChIKey as its typical identifier, but it can also resolve DrugBank IDs, ChEMBL IDs, and other source identifiers. Its response contains merged annotations, including mechanism, indication, and pharmacology cross-references.

The hosted endpoint is available at `https://gateway.pipeworx.io/mychem/mcp`. The gateway exposes the Mychem tools alongside shared Pipeworx meta-tools, including routing and discovery functions. A local package mode serves only the Mychem tool set over standard input and output.

## Setup and configuration

For a hosted connection, add the following MCP server entry to a compatible client:

```json
{
  "mcpServers": {
    "mychem": {
      "url": "https://gateway.pipeworx.io/mychem/mcp"
    }
  }
}
```

The package can instead run locally without a Pipeworx account:

```json
{
  "mcpServers": {
    "mychem": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-mychem"]
    }
  }
}
```

Run `npx -y @pipeworx/mcp-mychem` directly to start the stdio process. The hosted option also supports direct HTTP tool calls, such as posting JSON to `/v1/tools/mychem_query`.

## Tools and capabilities

- Search by drug name, InChIKey, or source-specific field.
- Retrieve cross-references among major chemical and drug databases.
- Fetch merged compound annotations by several identifier types.
- Inspect indexed totals and annotation-source release metadata.
- Use plain-language routing through the gateway's `ask_pipeworx` tool.

## Limitations and notes

The gateway endpoint includes shared Pipeworx tools in addition to the three Mychem tools, so its tool list is larger than the local package's list. The hosted and local modes use the same source and pack tools, but only the gateway provides cross-catalog routing through `ask_pipeworx`. The integration is independent and unofficial; it is not affiliated with, endorsed by, or published by MyChem.info.

_Full upstream README: https://allmcps.com/mcp/mychem/readme_

