openfda-unii-identifiers
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openfda-unii-identifiers find the FDA UNII code for metformin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
openfda-unii-identifiers-mcp
Live OpenFDA Unique Ingredient Identifier (UNII) lookup over Model Context Protocol (MCP). Pharmaceutical formulary teams, SPL labeling engineers, clinical terminology specialists, and regulatory automation agents can resolve active ingredient names to official 10-character FDA UNIIs, run batch UNII verifications, and query ingredient counts with zero API keys and zero sign-up. It connects right away.
Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
https://openfda-unii-identifiers-mcp.lipmichal.workers.dev/mcpRelated MCP server: fdarecords
Available tools
Tool | Purpose |
| Search FDA Unique Ingredient Identifier (UNII) records by active ingredient name or UNII code |
| Fetch official FDA UNII identifier record and substance name by exact 10-character UNII code |
| Resolve an exact or partial pharmaceutical active ingredient name to its official FDA UNII identifier |
| Resolve up to 10 FDA UNII codes in a single query for formulary and SPL labeling verification |
| Aggregate FDA UNII dataset term counts grouped by substance name or UNII identifier |
Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
{
"mcpServers": {
"openfda-unii-identifiers": {
"url": "https://openfda-unii-identifiers-mcp.lipmichal.workers.dev/mcp"
}
}
}Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
npm install
npm run build
npm startCompliance and reliability
Every upstream request queries api.fda.gov/other/unii.json with a polite User-Agent header (mcpstamp-openfda-unii-identifiers/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version 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 with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsbatch_lookup_uniisBatch resolve FDA UNII codesARead-onlyIdempotentInspect
Resolve up to 10 FDA 10-character UNII codes in a single query for formulary, SPL labeling, and ingredient verification.
Inputs: uniis (required).
get_unii_by_codeGet FDA UNII record by codeARead-onlyIdempotentInspect
Fetch official FDA Unique Ingredient Identifier (UNII) metadata by exact 10-character UNII code.
Inputs: unii (required).
get_unii_statsGet FDA UNII dataset statisticsBRead-onlyIdempotentInspect
Aggregate FDA UNII dataset counts grouped by substance name or UNII code with optional ingredient filter.
Inputs: limit, query, group_by.
lookup_unii_by_nameResolve ingredient name to FDA UNIIARead-onlyIdempotentInspect
Resolve an exact or partial pharmaceutical active ingredient name to its official FDA UNII identifier(s).
Inputs: substance_name (required), exact, limit.
search_unii_recordsSearch FDA UNII recordsBRead-onlyIdempotentInspect
Search OpenFDA Unique Ingredient Identifier (UNII) records by pharmaceutical active ingredient name or UNII code.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools mostly map to distinct actions: stats, record search, exact code lookup, name resolution, and batch code lookup. Some overlap remains between search_unii_records and lookup_unii_by_name, and between single-code and batch-code retrieval, but descriptions make the intended use cases fairly clear.
Names generally follow a verb_noun pattern around UNII lookups, such as get_unii_stats, search_unii_records, get_unii_by_code, and lookup_unii_by_name. Minor inconsistency appears with batch_lookup_uniis using a batch prefix and plural noun compared with the singular patterns elsewhere.
Five tools is a well-scoped set for a focused FDA UNII identifier lookup service. Each tool has a distinct role: aggregate stats, search, exact code retrieval, name resolution, and batch code resolution.
The surface covers the core lifecycle for reference-data lookup: search, exact retrieval, name-to-identifier resolution, batch lookup, and aggregate stats. Minor gaps exist, such as batch name resolution or broader search/filter options, but the main UNII workflows are supported.
Maintenance
Related MCP Connectors
Live FDA NDC directory lookup for active ingredients, DEA schedules, packaging, and drug classes.
Search and export FDA drug labels by brand name, generic ingredient, or UNII code.
Live FDA NDC SPL Data Elements, package NDCs, marketing dates, dosage forms, and billing units.
Live NIH RxNorm RxCUI lookup, drug properties, FDA NDC codes, related drugs, and RxClass classes.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables drug terminology standardization and name normalization via RxNav API, supporting drug name search, generic/brand name conversion, ATC classification, and ingredient lookup.6GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables querying openFDA for drug label text, Drugs@FDA application records, and device submission and product-code classification data, including end-to-end validation of device application details. It also supports an experimental sweep of drug labels for real-world-evidence vocabulary.59 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables resolving generic or brand medication names to canonical RxCUIs, fetching FDA National Drug Codes, mapping related brand/ingredient/clinical drug equivalents, and looking up therapeutic and pharmacological classes through live NIH NLM RxNorm and RxClass APIs — with no API keys or sign-up. It ships as a free hosted Cloudflare Worker endpoint that also runs locally over stdio.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying live CMS Medicare Part D drug spending data — searching by brand, generic, or manufacturer, comparing drugs, and retrieving 2020–2024 spending, claims, beneficiary, and unit-cost trends — with no API key required. It supports both a hosted Streamable HTTP endpoint and local stdio use.MIT