API & Data Console

Release 20261206-01

KEYLESS MODE ACTIVE

find_drug, resolve_ndc & verify_receipt, rate-limited.

Unlock / manage key

Release 20261206-01

Overview

Single-drug lookup is free across the site; this console connects Molecule's four verification and data engines—with sample packs and keyless /api/mcp queries active out of the box, and commercial keys unlocking full-catalog packs and all six signed lookup tools.

Advisor benchmarks
46,500+ NDC-11 benchmarks in the Advisor Pack
HCPCS J-code rates
1,150+ CMS Part B ASP, Oct 1, 2026 edition · Advisor history pack
Fill-date NADAC runs
850,000+ Jan 1, 2024 to Nov 25, 2026 · Advisor history pack
Screener versions
12,106 Drug versions indexed, as of Nov 25, 2026

Source editions CMS NADAC, week of Nov 25, 2026 · CMS Part B ASP, Oct 1, 2026 · VA FSS, Dec 1, 2026 · FDA Orange Book, Nov 13, 2026 · FDA NDC Directory, Dec 4, 2026 · FDA drug shortages, Dec 4, 2026 All sources

Four engines: keyless access vs. commercial tiers

  • Claims audit engine · Benefits advisors & CFOs

    Score a PBM claims file against fill-date benchmarks

    Scrubs HIPAA fields in this browser tab, nets reversals, prices each fill against 46,500+ NDCs and 850,000+ dated CMS NADAC intervals plus 1,150+ Part B J-code ASP rates, separates documented FDA shortages and DAW-1 controls, and builds a 4-page board PDF. Free 500-NDC sample; $299 single-plan pass (1 employer plan, 30 days) or $599/mo multi-client advisory practice.

  • Programmatic lookup API · Payer & engineering teams

    Query deterministic, receipt-signed drug records over HTTP

    Six JSON-RPC 2.0 and MCP endpoints at /api/mcp resolve names and NDCs without guessing, return cited CMS NADAC rates, FDA Orange Book A-rated comparators, and 12-NDC cohort triage, and attach a server-signed cryptographic receipt to every response. Keyless mode covers find_drug, resolve_ndc (5,000-NDC starter subset), and verify_receipt; $299/mo unlocks all six tools across the full catalog.

  • Portfolio screener engine · PharmDs & health systems

    Screen all 12,106 drug versions across 8 federal feeds

    Filter across listed patent and exclusivity expiries, ANDA and biosimilar approvals, Paragraph IV challenges, Part D gross spend, IRA status, REMS flags, and FDA shortages in one view. Free preview slice and feed diffs; $79/mo unlocks all 11,300+ exportable small-molecule drug versions.

  • Data feed engine · Quant & actuarial teams

    Mirror checksummed Parquet views with edition dates

    Reconciles FDA application, product, and package identities across 38 Parquet views and 2,500+ dated ingredient JSON documents with SHA-256 manifests. FDA Purple Book biologic rows are view-only on web pages and excluded from bulk Parquet/API exports pending FDA reuse confirmation. Free per-table page CSVs; $299/mo for full snapshots + /api/mcp.

Access key & keyless mode

Keyless mode active · No key needed

Requests to /api/mcp without an Authorization header run immediately (find_drug and resolve_ndc on a 5,000-NDC small-molecule starter subset, plus verify_receipt for any Molecule receipt, 30 req/min). Activate a paid key below to unlock all six tools across the full catalog.

Programmatic Lookup API (/api/mcp)

Connect over HTTPS JSON-RPC or MCP

Endpoint Guide URL https://moleculelineage.com/agent-onboarding/SKILL.md
HTTP JSON-RPC curl curl -fsS https://moleculelineage.com/api/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resolve_ndc","arguments":{"ndc":"00003-0894-21"}}}'

Programmatic Lookup API (/api/mcp)

HTTP JSON-RPC & MCP Client Setup

Query /api/mcp from any HTTP client, backend service, or standard MCP client. Without an Authorization header, keyless mode answers find_drug and resolve_ndc (5,000-NDC small-molecule starter subset) plus verify_receipt, rate-limited at 30 req/min.

Endpoint Guide URL https://moleculelineage.com/agent-onboarding/SKILL.md
HTTP JSON-RPC curl curl -fsS https://moleculelineage.com/api/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resolve_ndc","arguments":{"ndc":"00003-0894-21"}}}'
API Endpoint URL https://moleculelineage.com/api/mcp

Integration format

Keyless starter setup is shown. No key is needed for find_drug, resolve_ndc or verify_receipt.

HTTP / curl

List available tools (JSON-RPC 2.0 over HTTP POST)

curl -sS https://moleculelineage.com/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Resolve a package NDC (tools/call)

curl -sS https://moleculelineage.com/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"resolve_ndc","arguments":{"ndc":"00003-0894-21"}}}'

Endpoint guide & schema reference

Machine-readable endpoint guide and schema reference: https://moleculelineage.com/agent-onboarding/SKILL.md

JSON-RPC / Node & Python

Node.js 18+ (built-in fetch, zero dependencies; runs as .js or .mjs)

(async () => {
  const res = await fetch("https://moleculelineage.com/api/mcp", {
    method: "POST",
    headers: {
        "Content-Type": "application/json",
        "Accept": "application/json, text/event-stream"
    },
    body: JSON.stringify({"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resolve_ndc","arguments":{"ndc":"00003-0894-21"}}}),
  });
  const { result } = await res.json();
  // result.structuredContent.receipt signs everything except itself and issued_at
  console.log(result.structuredContent);
})().catch((err) => {
  console.error(err);
  process.exitCode = 1;
});

Python 3.11+ (standard library urllib.request)

import json, urllib.request

req = urllib.request.Request(
    "https://moleculelineage.com/api/mcp",
    data=json.dumps({"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resolve_ndc","arguments":{"ndc":"00003-0894-21"}}}).encode(),
    headers={
    "Content-Type": "application/json",
    "Accept": "application/json, text/event-stream",
    "User-Agent": "molecule-client/1.0",
    },
)
with urllib.request.urlopen(req, timeout=15) as resp:
    print(json.load(resp)["result"]["structuredContent"])

MCP JSON Config

Standard .mcp.json (mcpServers HTTP transport)

{
  "mcpServers": {
    "molecule": {
      "type": "http",
      "url": "https://moleculelineage.com/api/mcp"
    }
  }
}

Workspace servers JSON (servers HTTP transport)

{
  "servers": {
    "molecule": {
      "type": "http",
      "url": "https://moleculelineage.com/api/mcp"
    }
  }
}

TOML Client Config

TOML client configuration (config.toml)

[mcp_servers.molecule]
url = "https://moleculelineage.com/api/mcp"

HTTPS endpoint & authentication headers

URL: https://moleculelineage.com/api/mcp
Authentication: none (keyless starter mode)

With a commercial key stored in this browser, the snippets include your Authorization header: masked on screen, complete when copied. Treat any copied snippet holding a key as a secret. Full request and response schemas are in the machine-readable endpoint guide.

Programmatic Lookup API

Live API playground

Send a live JSON-RPC 2.0 tools/call request to /api/mcp and inspect the response, its federal file-and-row citations, and its signed receipt.

Endpoint tool

The live browser runner needs JavaScript. The same call works from any terminal:

curl -sS https://moleculelineage.com/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_drug","arguments":{"query":"apixaban"}}}'

Receipts

Verify receipt

Paste an API outcome receipt (mlin_rcpt_v1…) or a claims audit run fingerprint (mlin_run_v1:…).

Interactive verification needs JavaScript. Both formats are documented below, and verify_receipt on /api/mcp is free over HTTP POST.

API outcome receipt

mlin_rcpt_v1.<digest>.<signature>

Every /api/mcp answer ends with one. This page recomputes the canonical SHA-256 digest in your browser and calls /api/mcp (verify_receipt, free and keyless) to verify both payload binding and the server's cryptographic signature. Paste the whole structuredContent or the bare answer: both verify.

body
structuredContent minus receipt and the unsigned issued_at stamp; receipt_meta { tool, arguments, release_id } is signed
digest
base64url SHA-256 of the key-sorted compact JSON of the body (43 characters)
signature
base64url keyed SHA-256 signature over "mlin_rcpt_v1.<digest>" with the server key (43 characters)
determinism
same tool, arguments and release give a byte-identical receipt; issued_at only dates the call

Audit run fingerprint

mlin_run_v1:<16 hex>

Deterministic client-side SHA-256 fingerprint printed on every claims audit report over the release ID, benchmark count, scrubbed claim rows, and Module A/B/C totals. Zero claim data leaves the browser, so Molecule servers never sign or store run hashes — verify a run by re-scoring the same CSV against that release's benchmark pack.

Access

Access key & tiers

Keys live in this browser's local storage only (one slot each for the data feed, the audit, and the screener) and are never stored in plaintext on Molecule servers. Always copy and back up your key in a password manager or secure .env file.

Storing and checking a key in this browser needs JavaScript. Checkout below works without it.

Plans

  • Single Audit Pass

    $299

    Single-plan audit pass · 30 days — licensed for 1 employer plan evaluation across the 46,500+-NDC Advisor Pack, fill-date CMS NADAC and Part B ASP history, cited CSV export, and 4-page board PDF.

  • Advisor Unlimited

    $599/mo

    Multi-client advisory practice · unlimited client evaluations & white-label board reports across all 46,500+ NDCs and fill-date history, plus all six signed /api/mcp lookup tools.

  • Screener Pro

    $79/mo

    Interactive screening, watchlists, and CSV export across all 11,300+ small-molecule drug versions, plus view-only FDA Purple Book biologic browsing on web pages.

  • Commercial Data Feed

    $299/mo

    All six signed /api/mcp lookup tools, 38 entity-resolved Parquet views, and 2,500+ dated ingredient JSON documents with SHA-256 manifests. FDA Purple Book biologic rows are view-only on web pages and excluded from bulk Parquet/API exports pending FDA reuse confirmation.

Paid through Stripe Checkout. After payment, keys returning to this console open directly in the backup banner above so you can copy them into your password manager or .env file; direct Data Feed checkouts also display a standalone key receipt page. Keyless mode needs no key (find_drug, resolve_ndc, and verify_receipt, rate-limited). Questions: access@moleculelineage.com.