mdexa-ai-native-database

mcp
Security Audit
Pass
Health Pass
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 204 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Mdexa, the biomedical database agents call directly: hosted, cleaned data with official codebook text, plus source-cited license and access records for datasets and open models.

README.md

Mdexa Database

Records license: CC BY 4.0 Updated 2026-11-15

The biomedical database your agent calls directly.

Teams building medical AI choose training and evaluation data from hosting pages, repositories, papers and terms pages that often disagree. A hosting platform tags a dataset MIT while the upstream exam body reserves all rights; a repository license covers the code but not the data; a "public" dataset turns out to require credentialed access. Mdexa resolves each resource into one dated, evidence-backed record, so a person or an agent gets the answer in one lookup instead of reading five pages.

This repository is the open snapshot of the verified records (datasets across modern medicine, traditional Chinese medicine and cross-cutting areas), together with the schema, the decision rules and a validator. It contains no dataset files.

What makes the records trustworthy

  • Evidence-bound verdicts. Every license statement on a card is a verbatim quotation tied to a dated snapshot of its source page. evidence-index/ lists each snapshot's address, retrieval time, SHA-256 and size. Quotations are checked word for word against their snapshots before each release, so every verdict can be traced back to its source.
  • Two axes, never collapsed. license_status records what the sources say; hosting records what Mdexa does. risk_flags capture what a license line cannot: exam-derived questions, scraped web content, real patient text, model-generated text. A permissive license with risk flags is not a clean bill, and a repository's code license is never read as a data license (it is kept apart in repo_license).
  • Conflicts are surfaced, not smoothed over. When sources disagree, the record says conflict and quotes each side. The decision rules are published in RULES.md and, machine-readable, in schema/adjudication-rules.json.
  • Versioned and reproducible. Every change is logged in changelog.json. Releases carry a fingerprint, and releases/first-release/ includes the script that recomputes it. tools/validate-cards.mjs checks every card against the JSON Schema (draft 2020-12), the controlled taxonomy and the rules.

Built for agents

  • MCP server at https://mcp.mdexa.com/mcp: rows, counts and official codebook text from the datasets Mdexa hosts; for the records in this repository, combined-filter search, full records, license evidence, access methods, similar datasets and change monitoring. The same database answers over HTTP (/v1/...), including /v1/batch-check for checking a whole dependency list in one call.
  • Decision-ready answers. One search with combined filters returns what an agent needs to decide. An empty result is a definite "not listed", so agents do not loop on reworded queries.
  • Bilingual. Records, search and medical synonyms work in English and Chinese.
  • Standard metadata. The website publishes schema.org Dataset and Croissant metadata for every record, plus llms.txt and an agent guide (/agents.md).

The live database also covers open models (code and weights licenses recorded separately) and a broader registered tier that is verified in batches. This repository contains the dataset cards only; live counts for every record type are at https://mdexa.com/v1/stats.

Other languages: 中文

What is in the database

Each card records a license_status (permissive, restricted, conflict, unstated, unverifiable), a hosting state (hosted, eligible, link-only, pending) and a system (modern medicine, traditional medicine, cross-cutting). The database is updated continuously: counts for this snapshot are in stats.json, and live counts are at https://mdexa.com/v1/stats.

Counts are computed from cards/ when this repository is generated.

How to read the two status fields

Every card has two separate fields. They answer different questions.

  • license_status: what the dataset's own license statements say. It records facts only. Values: permissive (statements agree and allow commercial use and redistribution), restricted (some statement forbids commercial use or adaptation, limits use to research, or the rights belong to a third party), conflict (statements disagree), unstated (no statement found), unverifiable (the page could not be opened or only second-hand information exists).
  • hosting: what Mdexa does with the dataset. Values: link-only (listed with a link to the original source), pending (the license question is unresolved), eligible (permissive and no risk flag, waiting for a human sign-off), hosted (files provided by Mdexa; requires a sign-off record). No dataset is currently hosted.

A permissive license does not make a dataset eligible if the card carries a risk flag (for example exam-derived questions, scraped content, or real patient text). The full rules are in RULES.md. A repository license (for example MIT on a GitHub repository) is not treated as a data license; it is recorded separately in repo_license.

Each license entry on a card includes a short quotation from the source, the link, the date checked, and a snapshot id. evidence-index/ lists the snapshots (address, time, SHA-256, size). The snapshot text itself is not published here because it is third-party web content.

Quickstart

Read the files directly: cards/<slug>.json for one dataset, catalog.json for the summary list, stats.json for counts. exports/cards.jsonl holds every card, one per line; exports/cards.csv holds flat columns for spreadsheets (slug, name, domains, license_status, conditions, risk_flags, access, card_url, last_verified).

Python, all cards from the JSON Lines file:

import json

with open("exports/cards.jsonl", encoding="utf-8") as f:
    cards = [json.loads(line) for line in f]

# a permissive license with risk flags is not a clean bill
for c in cards:
    if c["license_status"] == "permissive" and c["risk_flags"]:
        print(c["slug"], c["risk_flags"], c["last_verified"])

JavaScript (Node 18 or later):

import { readFileSync } from "node:fs";

const cards = readFileSync("exports/cards.jsonl", "utf8").trim().split("\n").map((line) => JSON.parse(line));
console.log(cards.filter((c) => c.license_status === "restricted").map((c) => c.slug));

HTTP, one record with GET /v1/datasets/{slug}. Every database call needs an API key; a free account is enough (https://mdexa.com/signup/):

curl -H "Authorization: Bearer YOUR_KEY" "https://mcp.mdexa.com/v1/datasets/cmb"
curl -H "Authorization: Bearer YOUR_KEY" "https://mcp.mdexa.com/v1/datasets/cmb/evidence"
curl -H "Authorization: Bearer YOUR_KEY" "https://mcp.mdexa.com/v1/datasets?content_type=benchmark-exam&language=zh&limit=3"
import json
import os
import urllib.request

# send your own User-Agent: the default Python-urllib agent is refused
req = urllib.request.Request("https://mcp.mdexa.com/v1/datasets/cmb", headers={"User-Agent": "my-app/1.0", "Authorization": "Bearer " + "YOUR_KEY"})
with urllib.request.urlopen(req) as r:
    rec = json.load(r)
print(rec["license_status"], rec["card"]["risk_flags"], rec["card_url"], rec["last_verified"])
const rec = await (await fetch("https://mcp.mdexa.com/v1/datasets/cmb", { headers: { Authorization: "Bearer " + "YOUR_KEY" } })).json();
console.log(rec.license_status, rec.card.risk_flags, rec.card_url, rec.last_verified);

MCP client configuration:

{
  "mcpServers": {
    "mdexa": {
      "url": "https://mcp.mdexa.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Client configuration formats differ; check your client's documentation. Runnable examples in Python, TypeScript and curl are in mdexa-ai/mcp.

Layout

cards/           one JSON information card per dataset
exports/         cards.jsonl (every card, one per line) and cards.csv (flat columns)
schema/          JSON Schema, taxonomy, tag vocabulary, license rules (adjudication-rules.json), license identifier map (license-map.json), field reference (English and Chinese)
evidence-index/  snapshot index per dataset (no snapshot text)
catalog.json     summary of all cards
stats.json       counts
changelog.json   change history of the cards
tools/           validate-cards.mjs (Node 22, no dependencies)
releases/first-release/  the frozen first release with its fingerprint and a script to recompute it
RULES.md         how license_status and hosting are decided

Field reference: schema/FIELDS.md (English), schema/FIELDS.zh.md (中文).

Check the cards: node tools/validate-cards.mjs

Corrections

If a card is wrong, open an issue. See CONTRIBUTING.md. Changes need a source link.

License

  • Information cards and aggregate data (cards/, exports/, catalog.json, stats.json, changelog.json, evidence-index/, documents): CC BY 4.0, see LICENSE-DATA.
  • Scripts and schema (tools/, schema/): MIT, see LICENSE-CODE.
  • Short quotations of license text, dataset names and other third-party material on the cards belong to their respective rights holders and are included only to show what each source states. This repository contains no files from any third-party dataset.
  • The cards record the license statements of each source. They are not legal advice.

See NOTICE.md for scope and how rights holders can contact us.

Relationship to the website

https://mdexa.com serves the same records live, with search, change alerts and accounts. This repository is exported from the database at each release. Mdexa is a product of UNILINK AI.

Reviews (0)

No results found