Skip to main content
Glama
Open Drug Data MCP
by knorby

Open Drug Data MCP

Codecov Tests npm version MCP Node TypeScript License

One research interface over open drug, supplement, and cosmetic data. A local MCP server that searches public databases by the kind of value you have, resolves identifiers across them, fetches full records with citations, and pulls literature and classification references.

The server is read-only, runs over stdio, and is launched by an MCP host. It does not cache, mirror, or redistribute any dataset.

Quick start

With an MCP host

Add the server to an MCP host. Most hosts accept a JSON block shaped like this (see your host's documentation if it nests servers under a different key):

{
  "mcpServers": {
    "open-drug-data": {
      "command": "npx",
      "args": ["-y", "@knorby/open-drug-data-mcp"],
      "env": {
        "OPENFDA_API_KEY": "your-key",
        "DSLD_API_KEY": "your-key"
      }
    }
  }
}

Both keys are optional. Omit the env block entirely if you have neither; keyless access works at a lower upstream rate limit.

Run drugdata_ping after connecting. It reports the server version, which sources are enabled, and whether each source's optional key is configured — never a key value.

Agent skills

npx skills add knorby/open-drug-data-mcp

Installs the bundled skills for source-guided search → resolve → get research and structured, cited product and ingredient reports.

From a local checkout

npm install
npm run build

Point the host at the built entrypoint instead:

{
  "mcpServers": {
    "open-drug-data": {
      "command": "node",
      "args": ["/absolute/path/to/open-drug-data-mcp/dist/index.js"]
    }
  }
}

Related MCP server: nih-supplements

Not medical advice

Informational and research use only — not medical advice.

This server does not diagnose, treat, prescribe, or recommend anything. It returns what public databases publish, and those databases carry their own limits: openFDA data is unvalidated, supplement labels are manufacturer statements, adverse-event reports do not establish causation, and regulatory listings are not a determination of safety or approval. Always consult a qualified physician, pharmacist, or other licensed professional before making a health decision, and read the operative regulation or product labeling rather than relying on a database summary.

The data comes from public sources with their own terms. Full disclaimers, licenses, attribution requirements, and source caveats are in docs/SOURCES.md.

What it does

  • Search by what you have. A product name, brand, ingredient, barcode, or NDC; an ingredient name, INCI name, UNII, CAS number, EC number, RxCUI, or PubChem CID. You never choose a database first — the server fans out to every source that can answer, then groups records into evidence-based entities.

  • Resolve identity across sources. One call walks the cross-source identity chain and returns trusted links (direct or derived) plus labeled candidates where the match is ambiguous. A link needs a direct identifier hit or a single top-tier name match; several plausible records stay candidates, and the chain never silently picks one.

  • Fetch the full record. Product and ingredient lookups return the owning database's record, its identifier crosswalk, deep links, and suggested next calls.

  • Follow the literature and classifications. A reference search covers PubMed, ClinicalTrials.gov, MeSH, MedlinePlus (topics, Genetics, Connect), UMLS, RxClass, and RxNorm's prescribable name list by name or identifier, returning titles, identifiers, and deep links — citations, not extracted article text.

  • Stay attributable. Every result is credited to the upstream database with a deep link and a retrieval timestamp. Client libraries are never named in tool output.

The loop is search → resolve → get, plus a reference step for literature and classification sources. Every search and resolution ends with nextSteps, so an agent can continue without inventing an identifier.

Environment variables

Variable

Default

Purpose

OPENFDA_API_KEY

unset

Optional openFDA key. Raises the upstream rate limit; keyless requests work.

DSLD_API_KEY

unset

Optional NIH DSLD key (from data.gov). Raises the limit from 1,000 to 10,000 requests per hour. Keyless requests work.

UMLS_API_KEY

unset

Required for the UMLS reference source only. A free UTS account API key under the UMLS Metathesaurus license. Without it, other sources work and the UMLS reference source returns a configuration error naming this variable.

NLM_PUBMED_API_KEY

unset

Optional NCBI E-utilities key for PubMed. Raises the rate limit.

NLM_PUBMED_EMAIL

unset

Optional contact address NCBI asks distributed software to send with PubMed requests.

NLM_PUBMED_TOOL

unset

Optional tool name NCBI asks distributed software to send with PubMed requests.

DRUGDATA_TIMEOUT_MS

30000

Per-request upstream timeout in milliseconds. Must be a positive integer when set; a blank value counts as unset.

DRUGDATA_SEARCH_TIMEOUT_MS

45000

Shared wall-clock deadline for search fan-out and enrichment. Returns completed results with source timeout statuses and partial when incomplete. Positive integer; blank means default. Does not change by-source lookup timeouts.

DRUGDATA_DISABLED_SOURCES

unset

Comma-separated adapter ids to switch off: openfda, cosing, nlm, drugcentral, dsld, inkeedecoder. nlm covers every NLM namespace (RxNorm, RxTerms, RxClass, DailyMed, MeSH, PubMed, MedlinePlus, UMLS, ClinicalTrials.gov) and the PubChem adapter, which shares the NLM client. Applies to searches, lookups, resolution, and reference searches. Unknown ids are a configuration error.

Configuration is read lazily when a tool runs, never at startup. A misconfigured server still answers tools/list and explains the problem through a tool result. Blank API-key values count as unset, and a blank DRUGDATA_TIMEOUT_MS falls back to the default; a non-blank value must be a positive integer.

Tools

Tool

Inputs

Returns

drugdata_ping

optional message

Server name/version, every source's enabled state and whether its key is configured (including UMLS and PubMed reference keys), never a key value. No network.

drugdata_search_products

type: name, brand, ingredient, barcode, ndc; query; optional category: medication, supplement, cosmetic; resolve_identities (default false); page; response_format

Product entities with original source records, confirmed links, conflicts, candidates, per-entity next steps, source statuses, coverage, and partial.

drugdata_search_ingredients

type: name, inci, unii, cas, ec, rxcui, cid; query; resolve_identities (default false); page; response_format

Ingredient entities with source-attributed identity evidence and the same coverage/status contract. PubChem answers name and CID searches.

drugdata_get_product

source: openfda, dsld, dailymed, inkeedecoder; id; include_label_sections (default false); include_ingredients (default true); include_ingredient_enrichment (default false); page; response_format

One product record, its ingredient rows and roles, source-specific details, links, and next steps. DailyMed usage sections and DSLD nutrient CAS/group enrichment are opt-in.

drugdata_get_ingredient

source: openfda, cosing, drugcentral, nlm, inkeedecoder, pubchem; id; include_clinical (default false); include_cosing_panel (default false); response_format

One ingredient profile: identifiers, names, functions, regulatory notices, clinical assertions, chemistry (PubChem), RxTerms presentation (RxNorm), links, and next steps. DrugCentral clinical data and the INKEEDecoder CosIng panel are opt-in.

drugdata_resolve_identifiers

exactly one of unii, ndc, rxcui, cid, cas, inci_name, substance_name, spl_setid, dsld_id; include_label_ingredients (default false); resolve_ingredients (default false); max_candidates (default 5); response_format

An identity graph for an ingredient, or a product's cross-source links plus its ingredient rows. links are trusted; candidates need judgment.

drugdata_search_references

source: prescribable, rxclass, mesh, pubmed, medlineplus, medlineplus_genetics, medlineplus_connect, umls, clinicaltrials; type: name (default), rxcui, ndc, cui; query; limit (default 10); cursor; response_format

Titles, identifiers (PMID, NCT, MeSH id, CUI, RxCUI, class id), and deep links from one NLM reference source per call. Paginated sources return an opaque cursor. UMLS requires UMLS_API_KEY.

Pagination is per call. One page applies to every source in a search fan-out, and each entry in sources reports its own hasMore. Lookups page their own collections. Reference searches page through the cursor the previous response returned. Nothing walks pages automatically.

Every result carries structuredContent validated against a closed schema, plus a readable markdown text block. Search, lookup, and resolve tools accept response_format; set it to json if a host wants JSON in the text block too.

Choosing the next call

  • Start free text with type: "name". Use brand deliberately for a brand-only search: fewer sources support it. Pass a product category when known; ingredient searches have no category filter.

  • Read entities, not the old groups field. Each entity contains original records, combined identifiers, resolver-confirmed links, grouping evidence, source-attributed conflicts, unconfirmed candidates, optional source-attributed resolution errors, resolution, and executable nextSteps for every source record. Names alone never merge records. Ingredients can join by UNII, RxCUI, dashed CAS, CID, or InChIKey; products by full package NDC, SPL set id, or UPC — not their ingredient RxCUI or application number.

  • Search defaults to lightweight evidence without identity resolution. Opt in with resolve_identities: true to enrich at most five initial entities, with three concurrent resolutions, within one 45-second default deadline. sources reports ok, error, or timeout, page, hasMore, and resultCount. coverage reports entity/record counts, attempted/completed resolutions, and whether the cap applied. Unrequested resolution has zero counts and is not partial. partial signals failed/timed-out sources or requested but incomplete enrichment, or response-budget omissions. Zero matches with hasMore: true is still a successful page.

  • For an existing source+id, call drugdata_get_product or drugdata_get_ingredient directly. Search does not return full profiles; open only those needed for the question, with costly flags off by default. PubChem uses get_ingredient(source: "pubchem", id: "56843331"); resolve a CID with resolve_identifiers(cid: "56843331").

  • DSLD product lookups fetch one label by default, retaining its own ingredient names, roles, quantities, UNIIs, and row categories/groups. include_ingredient_enrichment: true adds nutrient CAS/group metadata with up to 20 extra serial requests. include_ingredients: false skips DSLD row mapping and enrichment even when the enrichment flag is true. Other sources still fetch their base record; the tool omits unwanted ingredient output.

  • If a returned page or article URL contains needed detail absent from tool output, selectively fetch that supplied URL with the host's web tools. Do not crawl or walk all pages.

Responses are bounded to 25,000 characters. Search first shortens summaries and source errors, then removes derived evidence/candidates/links/conflicts, trailing entities (keeping at least one), trailing records, and finally large identifier arrays if necessary. A minimal entity shell is the last resort; an unrepresentable shell returns an explicit tool error, never a false empty successful page. truncated marks output loss; entitiesOmitted counts removed entities, and per-entity omitted counts removed summaries, collections, records, identifier values, and actions. Any loss sets partial: true; coverage counts remain pre-bound. Retained identifiers, URLs, and source+id actions remain exact.

NDC resolution links RxNorm concepts only from NLM package crosswalk evidence, not openFDA's label-wide RxCUI arrays. Product records still retain those source arrays. Ingredient UNIIs appear when supplied by the source; default openFDA directory ingredient rows can lack identifiers. To request SPL label UNIIs, use drugdata_resolve_identifiers with include_label_ingredients: true.

For the search design, see ADR-0006.

Historical worked example: aspirin

These calls were run against the live sources on 2026-10-22. Output is abridged and show the older source-grouped rendering; current searches use the entity contract above and may already supply the links found in step 2.

1. Search by name.

{ "type": "name", "query": "aspirin" }

drugdata_search_ingredients returns (among others):

### openFDA — 1 result (page 1)
- **ACETYLSALICYLIC ACID** · UNII: R16CO5Y76E · CAS: 50-78-2 · https://api.fda.gov/other/substance.json?search=unii%3A%22R16CO5Y76E%22&limit=1

2. Resolve the UNII.

{ "unii": "R16CO5Y76E" }

drugdata_resolve_identifiers returns an ingredient graph:

## Identity — ACETYLSALICYLIC ACID
- Identifiers: UNII: R16CO5Y76E · CAS: 50-78-2 · EC: 200-064-1 · RxCUI: 1191
## Links (3)
- openFDA `R16CO5Y76E` — matched via unii (direct)
- CosIng `100042` — matched via inci (direct)
- RxNorm `1191` — matched via unii (direct)
## Candidates (2)
### DSLD — matched via ingredient-name (name-match)
- Acetylsalicylic acid — https://dsld.od.nih.gov/ingredient/Acetylsalicylic%20acid
### INKEEDecoder — matched via slug (name-match)
- Acetylsalicylic Acid · slug: acetylsalicylic-acid — https://inkeedecoder.com/ingredients/acetylsalicylic-acid
## Confidence
- 3 direct · 0 derived · 2 candidate sets

The DSLD and INKEEDecoder entries are deliberately weak, name-based candidates. The result never promotes them to links.

3. Fetch the full record from the database that owns it.

{ "source": "nlm", "id": "1191" }

drugdata_get_ingredient returns the RxNorm concept aspirin (term type IN), its identifiers, an RxTerms presentation block, source link, and next steps such as opening the CosIng ingredient or resolving a product NDC.

4. Pull the literature.

{ "source": "pubmed", "query": "aspirin" }

drugdata_search_references returns article titles with PMIDs and PubMed links (ten per page, with a cursor for more). Other reference sources answer the same shape of question: clinicaltrials for studies, mesh for descriptors, medlineplus for consumer health topics, umls for Metathesaurus concepts, rxclass for drug classes.

Sourcing and attribution

  • Cite the upstream database, not this server. Each result names the database that supplied it (openFDA, CosIng, RxNorm, RxTerms, RxClass, DailyMed, DrugCentral, DSLD, INKEEDecoder, MeSH, PubMed, MedlinePlus, UMLS, ClinicalTrials.gov, or PubChem) and includes a deep link.

  • Regulatory and label text is verbatim. Summarize or quote briefly with attribution; do not republish long passages.

  • Do not imply endorsement. This project is independent and is not affiliated with or endorsed by the FDA, the European Commission, NIH, NLM, the University of New Mexico, or INKEEDecoder.

  • Respect upstream limits. No bulk download or mirroring. The server honors a one-request-per-second pace for INKEEDecoder, supports optional openFDA, DSLD, and PubMed keys, requires a UMLS key for the UMLS reference source, and never auto-walks pagination.

  • Keep identifiers intact. Pass a database's own id back unchanged when following a result's nextSteps.

Attribution wording, licenses, and per-source caveats are in docs/SOURCES.md.

Data sources

Database

Covers

Identifiers

openFDA

US drug products, labels, and ingredient substances

NDC, UNII, CAS, SPL set id, application number

CosIng

EU cosmetic ingredients, functions, and annex listings

CosIng substance id, INCI name, CAS, EC

RxNorm

Normalized clinical drug concepts and the prescribable name list (NLM)

RxCUI, NDC, UNII

RxTerms

Presentation names for clinical drugs (NLM RxNav)

RxCUI

RxClass

Drug classifications across relationship sources (NLM RxNav)

class id, RxCUI

DailyMed

Structured Product Label documents (NLM)

SPL set id, NDC, label ingredient UNIIs

DrugCentral

Active-ingredient structures, crosswalks, ATC, clinical assertions, FAERS signals

structId, UNII, RxCUI, CAS, PUBCHEM_CID crosswalk, InChIKey

DSLD

US dietary supplement labels (NIH ODS)

DSLD label id, barcode, ingredient names, UNIIs, CAS

INKEEDecoder

Cosmetic products and ingredient pages

product/ingredient slug, INCI name, CAS, EC

MeSH

Biomedical subject headings and supplementary concept records (NLM)

MeSH descriptor id

PubMed

Biomedical literature citations (NLM/NCBI)

PMID

MedlinePlus

Consumer health topics, Genetics pages, Connect drug pages (NLM)

topic/page URL

UMLS

Metathesaurus concepts across vocabularies (NLM)

CUI

ClinicalTrials.gov

Registry of clinical studies (NLM)

NCT number

PubChem

Chemical compound records (NCBI)

CID, InChIKey

Not every source answers every search type. A source that cannot answer is simply absent from the result; a source that fails contributes an error status, and the completed entities remain valid. Zero matches are a normal result, not an error.

Development

Requirements: Node 22+ (Node 24 LTS recommended), npm, and the repository's git hooks if you are contributing. See AGENTS.md for the full setup.

npm install
npx husky                # .npmrc blocks lifecycle scripts
pre-commit install       # file hygiene + secret scanning

Command

What it does

npm run build

Build the ESM bundle and type declarations.

npm run dev

Run from source with a watch loop.

npm test

Run the Vitest suite.

npm run test:coverage

Run tests with 100% thresholds and LCOV output for Codecov.

npm run typecheck

Type-check src/ and tests/.

npm run lint

Biome lint and formatting check.

npm run check

Biome lint and format, writing changes.

npm run test:smoke

Inspector CLI tools/list against the built server.

npm run inspect

Open the MCP Inspector against the built server.

The suite uses an in-process MCP client for tool tests, a spawned stdio test for the built binary, and fixture-backed HTTP stubs for every source. No test requires an API key or the network.

Project layout

src/
  index.ts            stdio entrypoint
  server.ts           createServer(): registrations, fixed order, instructions
  config.ts           lazy environment configuration
  clients.ts          one shared client per source, uniform fetch policy
  sources/
    types.ts          adapter contract and capability declarations
    registry.ts       search fan-out and lookup routing
    openfda.ts        openFDA adapter
    cosing.ts         CosIng adapter
    nlm.ts            RxNorm + DailyMed adapter (with RxTerms profiles)
    nlm-references/   reference search handlers + cursors (one NLM source per call)
    drugcentral.ts    DrugCentral adapter
    dsld.ts           NIH DSLD adapter
    inkeedecoder.ts   INKEEDecoder adapter
    pubchem.ts        PubChem compound adapter (shares the NLM client)
    identity/         two-pass identity chain, SPL parsing, barcode parsing
  tools/              seven tool registrations
  resources/          server://info
  prompts/            research_drug
tests/                fixtures and integration tests
docs/SOURCES.md       source terms, licenses, attribution
docs/decisions/       architecture decision records

Releasing

Published to npm as @knorby/open-drug-data-mcp from GitHub Actions with OIDC trusted publishing — no npm tokens involved. A release is a version bump in a PR: update package.json, package-lock.json, server.json, and CHANGELOG.md together. Merging an unpublished version publishes the package, creates the GitHub Release, and publishes the Official MCP Registry record.

See docs/publishing-registries.md for registry retry and verification details.

Documentation

License

Apache-2.0 © Kali Norby (@knorby)

The software license does not relicense any upstream data. Each database keeps its own terms; see docs/SOURCES.md.

Available Tools

7 tools
drugdata_get_ingredientGet one ingredient profile from an open drug data sourceA
Read-onlyIdempotent

Use this for an existing source+id, including an entity record or confirmed link; do not repeat a broad search. Fetch only needed records; selectively fetch supplied URLs with host web tools if more page content is needed. Fetch one ingredient profile from openFDA, CosIng, DrugCentral, RxNorm, INKEEDecoder, or PubChem. The id is the database's own key: a UNII or dashed CAS number (openfda), a numeric substance id or exact INCI/glossary name (cosing), a numeric structure id, UNII, dashed CAS number, or a supported TYPE:value crosswalk identifier (drugcentral), a numeric RxCUI (nlm), an ingredient slug/URL (inkeedecoder), or a numeric PubChem CID (pubchem). The result carries the unified ingredient ref, the source's profile fields and identifier crosswalk, verbatim regulatory notices where the source publishes them, links, and suggested follow-up calls. include_clinical asks DrugCentral for indications, off-label uses, contraindications, and FAERS counts — extra requests, verbose, default false. include_cosing_panel asks INKEEDecoder to include its CosIng CAS/EC/IUPAC panel from the same page fetch — no extra request, default false. A malformed id is an error result naming the search tool that finds a valid one; an upstream miss is an error result, not an empty profile.

Inputs: id (required), source (required), response_format, include_clinical, +1 more. Returns: links, profile, nextSteps, ingredient, +1 more

drugdata_get_productGet one product record from an open drug data sourceA
Read-onlyIdempotent

Use this for an existing source+id, including an entity record or confirmed link; do not repeat a broad search. Fetch only needed records; selectively fetch supplied URLs with host web tools if more page content is needed. Fetch one product record from openFDA, DSLD, DailyMed, or INKEEDecoder. The id is the database's own key: a product NDC (openFDA), a numeric label id (DSLD), an SPL set id (DailyMed), or a product slug/URL (INKEEDecoder). The result carries the unified product ref, source-specific details, ingredient rows (roles, quantities, UNIIs when supplied by the source), links, and suggested follow-up calls. openFDA directory ingredient rows may lack identifiers. For SPL label UNIIs use drugdata_resolve_identifiers with include_label_ingredients: true. include_ingredients is true by default; false also skips DSLD ingredient mapping and enrichment. include_ingredient_enrichment adds DSLD nutrient CAS/group metadata with up to 20 extra serial requests, default false; it has no effect when ingredients are omitted. include_label_sections extracts DailyMed SPL usage sections — these are large and default false. page pages the ingredient and label-section collections one page at a time and re-fetches the record; it never walks pages automatically. A malformed id is an error result naming the search tool that finds a valid one; an upstream miss is an error result, not an empty product.

Inputs: id (required), source (required), page, response_format, +3 more. Returns: links, details, product, summary, +5 more

drugdata_pingPing the serverA
Read-onlyIdempotent

Check that the server is running and see which data sources this process will use. Reports the server name and version, each source's adapter id and whether it is enabled, and whether its API key is configured (never the key itself). Needs no credentials and no network — use it to verify connectivity before searching.

Inputs: message. Returns: ok, server, sources, referenceSources

drugdata_resolve_identifiersResolve one drug identifier across open data sourcesA
Read-onlyIdempotent

Resolve one identifier across openFDA, CosIng, RxNorm, DrugCentral, DailyMed, DSLD, INKEEDecoder, and PubChem. Pass exactly one of unii, ndc, rxcui, cid (PubChem compound id), cas, inci_name, substance_name, spl_setid, or dsld_id. Ingredient identifiers return an identity graph of confident cross-source links with labeled candidate sets for ambiguity; product identifiers (ndc, spl_setid, dsld_id) return the product's cross-source links plus its ingredient rows. include_label_ingredients parses SPL XML for ingredient UNIIs — extra request, default false. resolve_ingredients runs the full resolution per ingredient — many requests on multi-ingredient products, default false — and returns graphs for a prefix of the ingredient rows, capped at 20. max_candidates caps the options per ambiguous source result. Results carry a compact confidence count and suggested follow-up calls. An identifier of the wrong shape is an error result naming the search tool that finds a valid one; zero matches are ordinary and in-band.

Inputs: cas, cid, ndc, unii, +9 more. Returns: object

drugdata_search_ingredientsSearch ingredients across open drug and cosmetic data sourcesA
Read-onlyIdempotent

Search ingredients across openFDA, CosIng, DrugCentral, RxNorm, PubChem, and INKEEDecoder. Start free text with type 'name'; use inci, unii, cas, ec, rxcui, or cid when that is the value you have. There is no ingredient category filter. Returns evidence-grouped entities with original records, confirmed links, source-attributed conflicts, unconfirmed candidates, and per-entity nextSteps. For source+id use drugdata_get_ingredient instead. Default searches return lightweight evidence without identity resolution; resolve_identities: true opts in to enrichment of at most five entities, concurrency three, within the shared 45-second default deadline. Read partial, coverage, and sources (status ok/error/timeout); completed results survive a timeout. One page applies to every source and re-queries all of them; each source's hasMore is independent. Selectively fetch supplied URLs only when more page content is needed. No matches is normal, not an error.

Inputs: type (required), query (required), page, response_format, +1 more. Returns: page, type, query, partial, +6 more

drugdata_search_productsSearch products across open drug data sourcesA
Read-onlyIdempotent

Search products across openFDA, DSLD, INKEEDecoder, RxNorm, and DailyMed. Start free text with type 'name'; use 'brand' deliberately for brand-only search, which covers fewer sources. If a full product name has no matches, retry type 'name' with only the brand (Natrol) or only the ingredient (melatonin); compare brand, variant, strength, and dosage form before selecting a record. Use ingredient, barcode, or ndc when appropriate, and pass category medication/supplement/cosmetic when known. Returns evidence-grouped entities with original records, confirmed links, source-attributed conflicts, unconfirmed candidates, and per-entity nextSteps. A product RxCUI or shared name alone does not merge products. For source+id use drugdata_get_product instead. Default searches return lightweight evidence without identity resolution; resolve_identities: true opts in to enrichment of at most five entities, concurrency three, within the shared 45-second default deadline. Read partial, coverage, and sources (status ok/error/timeout); completed results survive a timeout. One page applies to every source and re-queries all of them; each source's hasMore is independent. Selectively fetch supplied URLs only when more page content is needed. No matches is normal, not an error.

Inputs: type (required), query (required), page, category, +2 more. Returns: page, type, query, partial, +7 more

drugdata_search_referencesSearch NLM reference sourcesA
Read-onlyIdempotent

Search NLM reference sources beyond product and ingredient records: Prescribable RxNorm (the currently prescribable drug dataset), RxClass (drug classes by name or member RxCUI), MeSH (medical subject descriptors), PubMed (biomedical literature), MedlinePlus (consumer-health topic pages), MedlinePlus Genetics (condition and gene pages), MedlinePlus Connect (drug pages by name, RxCUI, or NDC), UMLS (unified medical terminology; needs UMLS_API_KEY), and ClinicalTrials.gov (study registry). One call searches exactly one source — pass source plus the query. Results are link-first references: a title, the stable identifier (RxCUI, class id, MeSH id, PMID, CUI, or NCT number), and a deep link to the upstream record — not extracted article or study text. Each source accepts only some query types (for example MeSH searches by name only); an invalid pairing is rejected before any request. Continue with the returned cursor when hasMore is true. No matches is a normal empty result, not an error.

Inputs: query (required), source (required), type, limit, +2 more. Returns: type, query, groups, source, +2 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 7 tools

    Disambiguation4/5

    The product vs ingredient tools are clearly separated, and search/get/resolve roles are mostly distinct. There is some overlap around identifiers: an NDC can be used in search_products, get_product, and resolve_identifiers, though the descriptions explain the different purposes. Overall the boundaries are understandable but not perfectly crisp.

    Naming Consistency5/5

    All tools share a consistent `drugdata_` prefix and follow a predictable verb-plus-resource pattern such as search_products, get_product, and resolve_identifiers. `ping` is the only non-resource verb, but it is conventional and does not disrupt the pattern.

    Tool Count5/5

    Seven tools is a well-scoped set for a multi-source drug data server, with separate operations for products, ingredients, identifier resolution, references, and health checking. Each tool has a clear place and no bulk of redundant endpoints.

    Completeness4/5

    The surface covers searching and fetching products and ingredients, cross-source identifier resolution, reference search, and server health. Minor gaps exist in that reference results are link-first rather than retrievable records, and some specialized lookups depend on optional parameters, but core workflows are covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides access to the official FDA DailyMed database for comprehensive drug information, including drug labels, NDC codes, RxNorm mappings, pharmacologic classifications, and FDA application numbers through natural language queries.
      28
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and retrieving NIH Dietary Supplement fact sheets, NCCIH herb summaries, and real supplement product labels from the DSLD, including uses, safety, and medication interaction information.
      94 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to resolve genes, diseases, chemicals, variants and species to normalized ids, search ~36M PubMed abstracts and PMC full texts by free text or entity, and retrieve the machine-extracted relations between them with the supporting sentences and PMIDs. Supports auditing individual relations with full evidence passages and pulling per-article entity annotations with character offsets.
      81 npm
      MIT