Skip to main content
Glama
nih-ncats-gsrs-substances-mcp

nih-ncats-gsrs-substances-mcp

README.md
# nih-ncats-gsrs-substances-mcp

Live NIH NCATS and FDA Global Substance Registration System (GSRS) lookup over Model Context Protocol (MCP). Regulatory affairs teams, pharmaceutical chemists, and pharmacovigilance workflows can search active ingredients, inspect UNII records and molecular structures, retrieve official names, map WHO-ATC or CAS codes, and check substance relationships without an API key or account.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

```text
https://nih-ncats-gsrs-substances-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `search_gsrs_substances` | Search FDA and NIH NCATS GSRS pharmaceutical substances by name or keyword |
| `get_gsrs_substance_by_unii` | Retrieve molecular formula, SMILES, weight, and regulatory approval status by UNII |
| `get_gsrs_substance_names` | List official preferred names, systematic IUPAC names, and synonyms for a UNII |
| `get_gsrs_substance_codes` | Retrieve external codes such as WHO-ATC, CAS, RxCUI, DrugBank, and PubChem |
| `get_gsrs_substance_relationships` | Inspect active moieties, impurities, metabolites, and salt relationships |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "nih-ncats-gsrs-substances": {
      "url": "https://nih-ncats-gsrs-substances-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every request calls `gsrs.ncats.nih.gov/api/v1` with a polite `User-Agent` string (`mcpstamp-nih-ncats-gsrs-substances/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient 5xx or network errors. All five tools declare read-only, non-destructive, idempotent, and open-world annotations. The Worker also negotiates future protocol versions cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.nih-ncats-gsrs-substances-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

The search tool is clearly separated from the four UNII-scoped retrieval tools, and each getter targets a distinct facet (names, codes, relationships). The only mild ambiguity is get_gsrs_substance_by_unii described as returning 'full details,' which could be read as overlapping with the names/codes/relationships tools.

Naming Consistency4/5

All names follow a verb_noun pattern with a consistent gsrs_substance namespace prefix. The one deviation is the '_by_unii' qualifier on a single tool while the others use facet suffixes, but the set remains highly predictable.

Tool Count5/5

Five tools is well within the ideal range and each one maps to a real, non-redundant operation on the GSRS registry. Nothing feels padded or missing at the count level.

Completeness4/5

The surface covers discovery plus all major read facets of a substance record (details, names, registry codes, relationships), which is solid for a read-only registry. Minor gaps remain, such as structure/substructure search or batch/multi-UNII lookups, which an agent cannot work around via other tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues