Mychem logo

Mychem

Search and retrieve aggregated drug and chemical annotations from MyChem.info through MCP.

Install Mychem

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mychem": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-mychem"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

Mychem MCP server connects AI agents to MyChem.info, aggregating drug and chemical-compound annotations from sources such as ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, and FDA NDC. Its `query` tool resolves names, InChIKeys, and fielded searches into structured compound records, while `chem` retrieves merged annotations for a specific identifier. Use `metadata` to inspect indexed counts, source availability, and release versions. It can run locally over stdio or through the Pipeworx gateway, which also exposes shared gateway tools.

Use cases

  • Resolve drug names into structured identifiers
  • Retrieve merged compound annotations
  • Compare cross-references across chemical databases
  • Inspect MyChem.info source and build metadata

Key features

  • Name, InChIKey, and fielded compound search
  • Aggregated annotations from multiple biomedical sources
  • Lookup by InChIKey, DrugBank ID, or ChEMBL ID
  • Mechanism, indication, and pharmacology cross-references
  • Indexed-count and source-release metadata

Tools3

What Mychem lets your agent do. Expand a tool for its parameters.

Verified live~461 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 84d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup5 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age163 days
Maintainers1

Observed 2026-11-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @pipeworx/mcp-mychem (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads825Package downloads in the last 30 days.
Last commit21d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Mychem works

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:

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

The package can instead run locally without a Pipeworx account:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mychem

Mychem is an MCP server that connects AI agents to MyChem.info for aggregated drug and chemical data. Its main tools search compounds, retrieve merged annotations by identifiers such as InChIKeys or DrugBank IDs, and report indexed counts, annotation sources, and release metadata from databases including ChEMBL, DrugBank, PubChem, and ChEBI.

Install it by configuring an MCP client to run `npx -y @pipeworx/mcp-mychem` with standard input and output. This local mode requires no Pipeworx account. You can also connect to the hosted MCP URL at `https://gateway.pipeworx.io/mychem/mcp`.

Yes, Mychem works with Cursor through the hosted MCP URL or the local stdio configuration. Add the server under the client’s MCP settings, using either `https://gateway.pipeworx.io/mychem/mcp` or the `npx` command and package arguments.

Use the `query` tool with a drug name, InChIKey, or fielded expression such as `chembl.pref_name:aspirin`. The response returns aggregated hits and cross-references that can help identify the compound before calling `chem`.

Call the `chem` tool with an identifier, typically an InChIKey. DrugBank IDs, ChEMBL IDs, and other source identifiers are also accepted, and the result includes merged annotations with mechanism, indication, and pharmacology cross-references.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMychem AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mychem?style=directory)](https://allmcps.com/mcp/mychem)
HTML Embed
<a href="https://allmcps.com/mcp/mychem"><img src="https://allmcps.com/api/badge/mychem?style=directory" alt="Mychem on AllMCPs" /></a>