Meddata logo

Meddata

Look up drug and supplement data, inspect profiles, and evaluate interactions through the MedData API.

Install Meddata

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "meddata-2": {
      "command": "uvx",
      "args": [
        "meddata-mcp"
      ],
      "env": {
        "MEDDATA_API_KEY": "YOUR_VALUE_HERE",
        "MEDDATA_BASE_URL": "YOUR_VALUE_HERE",
        "MEDDATA_TIMEOUT": "YOUR_VALUE_HERE"
      }
    }
  }
}

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

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx meddata-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The meddata MCP server connects MCP clients to the MedData API for drug and supplement lookups and interaction checks. It provides tools for searching by name, retrieving records by RxCUI, NDC, or supplement ID, and assessing mixed routines of 2–10 items. Use it when an agent needs source-backed medication data, interaction findings, timing details, or food-condition information. The server uses stdio by default and also supports streamable HTTP.

Use cases

  • Search for a drug by brand, generic name, RxCUI, or NDC
  • Retrieve supplement fact sheets for an ingredient
  • Check interactions across a mixed medication and supplement list
  • Assess a routine with source references, timing, and food conditions
  • Monitor current API usage and plan limits

Key features

  • Drug search and profile retrieval
  • Supplement search and fact sheets
  • Mixed drug and supplement interaction checks
  • Routine assessments with coverage statuses
  • Timing, food, and source reference details
  • Usage and plan-limit reporting

Tools8

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

Self-reported~124 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.

20/24 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · meddata-mcp (PyPI)

Adoption & maintenance

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

Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed8Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Meddata works

What meddata does

The meddata MCP server exposes the MedData REST API as MCP tools. It covers prescription and over-the-counter drug searches, supplement fact sheets, interaction checks, and routine assessments. Drug searches accept brand or generic names and return RxCUI identifiers with details. Drug records can also be retrieved by RxCUI or NDC package code, while supplements use supplement IDs.

The interaction tools serve different purposes. check_interactions returns a flat result for a mixed list of two to ten drugs or supplements. assess_routine provides a more explainable assessment, including how submitted names were resolved, which pairs were checked, the sources consulted, and relevant timing or food conditions. get_usage reports usage for the current billing period and the account’s plan limit.

How it works

Each MCP tool maps to a MedData API endpoint; the server handles the MCP interface while the API performs the data lookup and assessment work. Clients can run the server locally over stdio or connect through its streamable-HTTP mode.

Routine assessments distinguish several outcomes. A finding pair includes one or more results, no_finding_in_sources means a relevant source was checked without a reported finding, not_covered means no source covered that pair type, and unresolved means an item could not be identified. This distinction matters because an empty or missing finding is not proof that a combination is safe.

With class_matching enabled, routine assessment can compare a drug with therapeutic classes named by a supplement record, in addition to explicit drug-name matches. Results identify whether the basis was formulation, ingredient, or class. Timing and food fields use three states, including not_documented, and references include document versions and quoted passages.

Setup and configuration

The meddata MCP server requires a MedData API key. The free tier provides 250 calls per month without requiring a credit card; the key can be requested from the MedData signup endpoint. The default API base is https://meddata.anthesia.io.

The simplest local launch uses uvx:

bash
MEDDATA_API_KEY=md_your_key uvx meddata-mcp

Add --http to use streamable HTTP instead of the default stdio transport. The package can also be installed with pip, or checked out and installed from source. Keep it in a dedicated environment because the MCP SDK and the MedData API application require incompatible starlette versions when installed together.

Configuration variables are MEDDATA_API_KEY, optional MEDDATA_BASE_URL, and optional MEDDATA_TIMEOUT, whose default is 30 seconds. Claude Desktop and Cursor can launch the stdio command with the API key in their MCP configuration. Smithery provides a hosted option where the key is entered in the Smithery configuration. LangChain and LangGraph agents can load the tools through langchain-mcp-adapters; LlamaIndex can use the MCP tool specification.

Tools and capabilities

  • search_drugs: Find drugs by brand or generic name and return RxCUI details.
  • get_drug: Retrieve a complete drug profile using an RxCUI.
  • get_drug_by_ndc: Retrieve a drug profile using an NDC package code.
  • search_supplements: Find supplements by name and return supplement IDs.
  • get_supplement: Retrieve a supplement fact sheet by ID.
  • check_interactions: Check a mixed list containing two to ten drugs or supplements.
  • assess_routine: Analyze pair coverage, findings, sources, timing, and food conditions for a routine.
  • get_usage: Show current-period usage and the plan limit.

Limitations and notes

The meddata MCP server provides informational data and is not medical advice. Its interaction records come from established medical databases. A result with no reported interaction means none was found in the consulted sources; it does not establish that the combination is safe. Some supplement-to-supplement pairs may be outside the available source coverage, and unresolved names cannot be assessed.

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 Meddata

meddata is an MCP server that connects MCP clients to the MedData API for drug and supplement data. Its main tools search drugs and supplements, retrieve profiles, check interactions across mixed lists, assess routines with sources and conditions, and report current usage against the account plan limit.

Install it with `uvx meddata-mcp` or `pip install meddata-mcp`, then provide `MEDDATA_API_KEY` when launching it. The default transport is stdio; add `--http` for streamable HTTP. A source checkout can also be installed into a dedicated virtual environment.

Yes, meddata works with Cursor through its MCP configuration. Add the server command and `MEDDATA_API_KEY` to `~/.cursor/mcp.json` or the project’s `.cursor/mcp.json` file.

`check_interactions` returns a flat list of findings, while `assess_routine` explains resolution, pair coverage, consulted sources, timing, and food conditions. Use the routine assessment when the result needs to be explained or acted on.

An empty result means no finding was returned from the consulted sources, not that the combination is proven safe. `assess_routine` separates `no_finding_in_sources` from `not_covered` and `unresolved`, which provide more context than a flat empty list.

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 PreviewMeddata AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/meddata-2?style=directory)](https://allmcps.com/mcp/meddata-2)
HTML Embed
<a href="https://allmcps.com/mcp/meddata-2"><img src="https://allmcps.com/api/badge/meddata-2?style=directory" alt="Meddata on AllMCPs" /></a>