{
  "markdown": "# MedData MCP Server\n\nmcp-name: io.github.anthesiallc/meddata\n\nA [Model Context Protocol](https://modelcontextprotocol.io) server that exposes the\n[MedData API](https://meddata.anthesia.io) as tools, so any MCP client (Claude\nDesktop, Cursor, ChatGPT connectors, or an agent framework) can look up drug and\nsupplement data and check interactions conversationally.\n\nIt's a thin wrapper: each tool maps to one MedData REST endpoint. All the data\nwork happens in the API.\n\n## Tools\n\n| Tool | What it does |\n|------|--------------|\n| `search_drugs` | Search drugs by brand or generic name; returns RxCUI + details |\n| `get_drug` | Full drug profile by RxCUI |\n| `get_drug_by_ndc` | Drug profile by NDC package code |\n| `search_supplements` | Search supplements by name; returns supplement IDs |\n| `get_supplement` | Full supplement fact sheet by ID |\n| `check_interactions` | Interactions across a mixed list of 2-10 drugs/supplements |\n| `get_usage` | Current billing period usage and plan limit |\n\n## Get an API key\n\nFree tier is 250 calls/month, no credit card:\n\n```bash\ncurl -X POST https://meddata.anthesia.io/api/v1/signup \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"email\":\"you@example.com\"}'\n```\n\nThe key comes back in the `api_key` field of the response.\n\n## Install and run\n\nThe easiest way is with [uv](https://docs.astral.sh/uv/) (no manual venv needed):\n\n```bash\n# stdio transport (default — for Claude Desktop, Cursor, most local clients)\nMEDDATA_API_KEY=md_your_key uvx meddata-mcp\n\n# streamable-HTTP transport (for remote / web clients)\nMEDDATA_API_KEY=md_your_key uvx meddata-mcp --http\n```\n\nOr install with pip into its own environment:\n\n```bash\npip install meddata-mcp\nMEDDATA_API_KEY=md_your_key meddata-mcp\n```\n\n> Note: install into a dedicated environment. The `mcp` SDK requires a newer\n> `starlette` than the MedData API app pins, so the two will conflict if installed\n> together.\n\nEnvironment variables:\n\n- `MEDDATA_API_KEY` (required) — your MedData API key.\n- `MEDDATA_BASE_URL` (optional) — defaults to `https://meddata.anthesia.io`.\n- `MEDDATA_TIMEOUT` (optional) — request timeout in seconds, default `30`.\n\n## Client configuration\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json` (Settings → Developer → Edit Config):\n\n```json\n{\n  \"mcpServers\": {\n    \"meddata\": {\n      \"command\": \"uvx\",\n      \"args\": [\"meddata-mcp\"],\n      \"env\": { \"MEDDATA_API_KEY\": \"md_your_key\" }\n    }\n  }\n}\n```\n\n### Cursor\n\nAdd the same block to `~/.cursor/mcp.json` (or the project `.cursor/mcp.json`).\n\n### Smithery (hosted, no install)\n\nThe server is hosted on [Smithery](https://smithery.ai/server/anthesiallc/meddata),\nso MCP clients that support Smithery can connect without installing anything. You\nprovide your MedData API key in the Smithery config and it routes to the server.\n\n### LangChain / LangGraph\n\nAny LangChain or LangGraph agent can use these tools through\n[`langchain-mcp-adapters`](https://github.com/langchain-ai/langchain-mcp-adapters):\n\n```python\n# pip install langchain-mcp-adapters langgraph \"langchain[anthropic]\"\nfrom langchain_mcp_adapters.client import MultiServerMCPClient\n\nclient = MultiServerMCPClient(\n    {\n        \"meddata\": {\n            \"transport\": \"stdio\",\n            \"command\": \"uvx\",\n            \"args\": [\"meddata-mcp\"],\n            \"env\": {\"MEDDATA_API_KEY\": \"md_your_key\"},\n        }\n    }\n)\ntools = await client.get_tools()\n# hand `tools` to a LangGraph/LangChain agent, e.g.\n# from langgraph.prebuilt import create_react_agent\n# agent = create_react_agent(\"anthropic:claude-opus-4-8\", tools)\n```\n\nLlamaIndex works the same way via its MCP tool spec.\n\n## Develop from source\n\n```bash\ngit clone https://github.com/anthesiallc/meddata-mcp && cd meddata-mcp\npython -m venv .venv\n.venv/Scripts/python -m pip install -e \".[http]\"   # Windows; [http] adds uvicorn for --http\n# .venv/bin/pip install -e \".[http]\"                # macOS/Linux\nMEDDATA_API_KEY=md_your_key .venv/Scripts/python -m meddata_mcp.server\n```\n\n## Notes\n\n- Data is for informational purposes only and is not medical advice.\n- Interaction data comes from established medical databases; an empty result\n  means none were found in those sources, not that a combination is proven safe.\n",
  "bytes": 4209,
  "sha": "e69cc483bb002f7887c5ca2be9d0aac1c302d33bc22c519b93ddc2b0dd897a62",
  "repo_slug": "anthesiallc/meddata-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_anthesiallc_meddata_2c0bc651/readme"
}