Skip to main content
Glama
mymedi-ai-mcp-server

mymedi-ai-mcp-server

by MyMedi-AI

@mymedi-ai/mcp-server

用于医疗 AI 的 MCP 服务器。将 Claude Desktop、Cursor、VS Code 或任何 MCP 客户端连接到 20 种符合 HIPAA 标准的医疗账单与临床智能工具,这些工具由 8.1 万多个代码和 7 个免费政府数据源提供支持。

快速入门

有两种支付方式,任选其一:

选项 A:注册获取额度(赠送 10 个)

curl -X POST https://mymedi-ai.com/bot-marketplace/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent"}'
# → { apiKey, credits: 10 }

选项 B:匿名按次 USDC 付费(无需注册)

在 Base 链上向国库钱包发送 USDC,并在 X-402-Payment 标头中包含已签名的支付信息。真正的智能体对智能体商业模式。详情请参阅 /agent/v1/pricing。

或尝试免费版

curl "https://mymedi-ai.com/agent/v1/demo?code=99213"

返回基础代码元数据(每小时限流 10 次)。付费层级解锁 RVU、Medicare 报销(PFS + OPPS)、交叉参考以及 AI 功能。

Related MCP server: AutomatedRCM Billing MCP Server

客户端设置

Claude Desktop

添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "mymedi-ai": {
      "command": "npx",
      "args": ["-y", "@mymedi-ai/mcp-server"],
      "env": {
        "MCP_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor / VS Code

添加到 MCP 设置:

{
  "mymedi-ai": {
    "command": "npx",
    "args": ["-y", "@mymedi-ai/mcp-server"],
    "env": {
      "MCP_API_KEY": "your-api-key"
    }
  }
}

Claude Code

claude mcp add mymedi-ai -- npx -y @mymedi-ai/mcp-server

工具 (20)

医疗编码

工具

描述

价格

code_lookup

查询 ICD-10、CPT、HCPCS 代码(8.1 万+ 代码)

$0.001

code_suggest

基于临床文本的 AI 代码建议

$0.01

code_validate

验证代码正确性及状态

$0.005

code_crossref

ICD-10/CPT/HCPCS 代码交叉参考

$0.02

code_reimbursement

Medicare PFS + OPPS 报销费率 (RVU, $)

$0.01

预授权与索赔

工具

描述

价格

pa_predict

预授权批准预测 (0–1)

$0.05

pa_status

查询预授权状态

$0.02

claims_validate

提交前索赔验证

$0.05

ner_extract

从临床文本中提取医疗实体

$0.02

compliance_audit

HIPAA 合规审计

$0.25

药物智能

工具

描述

价格

drug_lookup

OpenFDA 药物信息 + 不良反应

$0.01

drug_interactions

FDA 共同报告的不良反应信号

$0.03

drug_rxnorm

NIH RxNorm + 临床相互作用

$0.02

drug_enrich

AI 增强的药物智能

$0.03

提供商与市场

工具

描述

价格

provider_search

NPI 提供商目录搜索

$0.005

provider_enrich

AI 增强的提供商智能

$0.05

provider_payments

《阳光法案》医生付款信息 (CMS Open Payments)

$0.02

market_analysis

按州划分的专业市场分析

$0.10

临床与公共卫生

工具

描述

价格

trials_search

活跃临床试验 (ClinicalTrials.gov)

$0.03

disease_surveillance

CDC NNDSS 病例统计 + 趋势

$0.02

环境变量

变量

描述

默认值

MCP_API_KEY

注册获取的 API 密钥(匿名 USDC 支付可省略)

—

MCP_API_BASE_URL

API 基础 URL

https://mymedi-ai.com

支付

  • 免费层级:注册即送 10 个初始额度($0.01 示例 — 足以尝试 $0.001 和 $0.005 的层级)

  • 额度费率:每个额度 $0.001(1 个额度 = 1 次最便宜的调用)

  • x402 USDC:在 Base 链上按次付费 — 无需注册,原生智能体商业模式

  • Stripe:额度包购买请访问 mymedi-ai.com/bot-marketplace/credits/pricing

  • USDC 充值:发送至国库钱包并兑换为额度

额度余额标头

每次付费响应均包含:

标头

含义

X-Credits-Remaining

本次调用后的余额

X-Credits-Spent

本次调用消耗的额度

X-Credits-Warning

low (<50), critical (<10), depleted (0)

X-Credits-Action-Required

余额不足时显示 top-up 或 top-up-soon

您的 SDK/智能体可以监控这些标头以触发自动充值。

SDK

如需在非 MCP 环境下进行编程使用,请安装 SDK:

npm install @mymedi-ai/sdk
import { MyMediAI } from '@mymedi-ai/sdk';

const client = new MyMediAI({ apiKey: 'your-api-key' });
const result = await client.codeLookup('M79.3');

数据源

所有 7 个免许可政府数据源:

  • ICD-10 / HCPCS / CPT: CMS PFS RVU 2026 (公有领域)

  • NPI 提供商目录: CMS (公有领域)

  • OpenFDA: 药品标签、不良反应、相互作用

  • RxNorm: NIH 标准化药物术语

  • ClinicalTrials.gov: 活跃临床试验

  • CMS Open Payments: 《阳光法案》医生付款信息

  • CDC NNDSS: 法定传染病监测

链接

许可证

MIT

Available Tools

32 tools
account_statusAccount status — credit balance and usage (free)A
Read-onlyIdempotent
Inspect

Check your MyMedi-AI account: current credit balance, USD equivalent, transaction count, recent transactions, and last activity. Free — never bills credits. Uses your connector sign-in (or X-API-Key when self-hosted).

Inputs: no named parameters.

buy_creditsBuy credits — get a Stripe checkout linkAInspect

Top up your MyMedi-AI credits. Creates a Stripe Checkout session and returns a checkoutUrl for you to open and complete payment in the browser — calling this tool charges nothing by itself. It takes an amount (USD, min $1 = 1,000 credits) or a package (starter $1, basic $5, standard $25, professional $100, enterprise $500). 1 credit = $0.001; credits are added automatically after checkout.

Inputs: amount, package.

claims_validatePre-submission claim code and date checkA
Read-only
Inspect

Pre-submission check of a claim's codes and dates — no patient or provider identifiers needed or accepted. Checks that the diagnosis (ICD-10-CM) and procedure (CPT/HCPCS Level II) codes exist and are active on the date of service, that modifiers are well-formed, and that the date of service is not in the future; returns whether the claim passed, with the errors and warnings found. A CPT code missing from the loaded CMS fee schedule file, or a modifier this reference does not list for DMEPOS, is a warning, not an error. Up to 25 diagnosis codes, 50 procedure codes and 20 modifiers per claim. It applies no NCCI edits — neither procedure-to-procedure (PTP) pairs nor MUE unit limits — and does not assess medical necessity or prior authorization.

Inputs: claim (required).

code_crossrefMedical code cross-reference (ICD-10 / CPT / HCPCS)A
Read-only
Inspect

Related codes for an ICD-10-CM, CPT or HCPCS Level II code, across the three code systems. linkedCodes are curated: the DME code family (base item, accessories and supplies) and links across code systems that cite their CMS source — obstructive sleep apnea (G47.33) with the PAP devices CMS LCD L33718 covers and the sleep tests NCD 240.4.1 covers. crossReferences are other active codes whose descriptions best match this one, grouped by code system (up to 5 each) with a relevanceScore (0-1); weaker matches are left out, so a group can be empty, and a code with no related codes at all is refunded. Source: the MyMedi-AI code database (ICD-10-CM, CPT and HCPCS Level II code sets).

Inputs: code (required).

code_lookupMedical code lookup (ICD-10 / CPT / HCPCS)A
Read-only
Inspect

Look up a medical code (ICD-10, CPT, HCPCS). Returns description, category, active status, and related codes. For DMEPOS (HCPCS) codes it also returns a labeled fee schedule: per-modifier (RR/NU/UE) national min–max ranges, or — when a state is given — that state's exact non-rural and rural rates. Source: the current CMS DMEPOS fee schedule quarter.

Inputs: code (required), state, codeType.

code_lookup_basicBasic medical code lookup (free)A
Read-onlyIdempotent
Inspect

Look up basic metadata for a medical code: code, codeType, description, category, isActive. Basic metadata only. Free, no API key required.

Inputs: code (required).

code_lookup_batchBatch medical code lookup (up to 25 codes)A
Read-only
Inspect

Look up a list of medical codes (ICD-10, CPT, HCPCS) in one call. Each item returns what a single lookup does (description, category, active status, related codes, DMEPOS fee schedule with optional state filter). Priced per code — $0.001 × number of codes, max 25 per call; the full charge is refunded automatically when every code misses.

Inputs: codes (required), state, codeType.

code_reimbursementMedicare reimbursement rates (CMS PFS + OPPS)B
Read-only
Inspect

Look up Medicare reimbursement rates for a medical code. Returns RVU values and estimated payment amounts using the PFS conversion factor. Source: the current Medicare PFS (CMS RVU files).

Inputs: code (required), codeType.

code_suggestMedical code suggestions from clinical textA
Read-only
Inspect

Suggest ICD-10-CM, CPT and HCPCS Level II codes from a clinical or equipment description — a term search over the 90K-code CMS database, no language model. Works with natural sentences ("patient with obstructive sleep apnea prescribed CPAP" lists G47.33 and E0601 first), common abbreviations and alternate forms (CPAP, OSA, COPD, IG for immune globulin, type 2), and a typed side, sex or "without". Ranked by relevance (relevanceScore 0-1: how much of the description a code matches, and how closely), with two exceptions: the best code for each separate thing a description names (a diagnosis and a device) comes first, so the list is grouped rather than strictly sorted by relevanceScore; and a bare common condition ("hypertension") lists its ICD-10-CM default code first. Weak matches are left out rather than listed. Up to 500 characters, of which up to 10 distinct terms are searched, common words left out. Automatically refunds the call when nothing matches.

Inputs: description (required), limit, codeType.

code_validateMedical code validationA
Read-only
Inspect

Check that an ICD-10-CM, CPT or HCPCS Level II code exists and is valid on a date of service: termination and effective dates are applied, so a code deleted after that date still validates. dateOfService is YYYY-MM-DD (default today); asOf in the result is the date the code was judged for. Returns valid, active, warnings and errors.

Inputs: code (required), context, codeType, dateOfService, +1 more.

code_validate_batchBatch medical code validation (up to 25 codes)A
Read-only
Inspect

Validate up to 25 medical codes in one call, each judged as in a single validation: exists, and is valid on the date of service (dateOfService, YYYY-MM-DD, applied to every code; default today). Each item returns valid, active, asOf, warnings, errors and codeDetails. Priced per code — $0.005 × number of codes, max 25 per call. An invalid code is a billable answer (valid:false).

Inputs: codes (required), context, codeType, dateOfService, +1 more.

compliance_auditDMEPOS order documentation audit (SWO, F2F/WOPD, prior auth)A
Read-only
Inspect

Audit one DMEPOS order's documentation against the Original Medicare requirements that apply to its HCPCS code on the date of service: the standard written order (SWO) elements (42 CFR 410.38(d)(1)(i)); for items on the current CMS Required Face-to-Face Encounter & Written Order Prior to Delivery List, a face-to-face encounter within the 6 months before the order and the written order before delivery, otherwise the written order before the claim; and for items on the current CMS Required Prior Authorization List, an affirmed decision before delivery. Some items are phased in by state: without a state such an order is refused (refunded) unless an affirmed decision is reported. A code the HCPCS set does not hold, one not valid on the date of service, or one the CMS DMEPOS Jurisdiction List bills to the A/B MAC (Part B) rather than a DME MAC, or a discontinued code that list does not show, is refused (refunded); for a code under joint jurisdiction the answer gives CMS's wording of when the A/B MAC takes it. Each fact is a true/false flag; no names, identifiers, signatures or other values are taken. Each requirement comes back pass or fail with its citation; a fact not reported fails, and any failed requirement fails the order (result: fail). It checks the facts reported, not the documents themselves. Not checked: LCD coverage criteria and medical-necessity documentation, proof of delivery and billing modifiers. Costs 250 credits per call.

Inputs: data (required), auditType.

denial_code_infoDME denial code explainer (free)A
Read-onlyIdempotent
Inspect

Explain a DME claim denial code (CARC). Returns title, meaning, common DME causes, fixes, appealability, and related codes. Free, no API key required.

Inputs: code (required).

disease_surveillanceDisease surveillance case counts (CDC NNDSS)A
Read-only
Inspect

Look up disease surveillance data including case counts and trends by condition and geography. Source: CDC National Notifiable Diseases Surveillance System (NNDSS) weekly data on data.cdc.gov.

Inputs: code, state, condition.

drug_enrichDrug label data with an LLM summary (openFDA)A
Read-only
Inspect

Look up a drug by brand or generic name in openFDA and return its first matching FDA label: brand and generic name, manufacturer, NDCs, route, substance, product type, and the label's indications, warnings, dosage and administration, adverse reactions and drug-interactions sections (null when the label has no such section). Adds an LLM-generated summary, labelled as such: the therapeutic class and the indications the label states. It gives no treatment advice, does not check interactions between drugs, and makes no prior-authorization, coverage or cost determination. A failed call (drug not found, openFDA or the model unavailable) is refunded.

Inputs: drugName (required), searchField.

drug_interactionsDrug-combination adverse-event disproportionality (FDA FAERS)A
Read-only
Inspect

Adverse event reports that name drugs together: coReportCount, the number of FAERS reports naming every listed drug; the reactions most often named in them; and for each reaction a proportional reporting ratio (PRR) with a 95% confidence interval against the reports of each drug without the others. A reaction is marked disproportionate when it has at least 3 co-reports and the lower bound exceeds 1 against every drug (null when a comparison cannot be computed). Drugs are matched by the product name as reported: a brand name such as Coumadin is not merged with its generic, warfarin. A name no FAERS report names is refused (refunded), naming it. FAERS reports are unverified and can be duplicated: report counts and disproportionality are statistical associations, not evidence of an interaction or of causation, and no substitute for a clinical drug-interaction reference. Source: the FDA Adverse Event Reporting System (FAERS), via openFDA.

Inputs: drugs (required).

drug_lookupDrug label and adverse-event lookup (OpenFDA)C
Read-only
Inspect

Look up drug information including label data, adverse events, and related diagnosis codes. Source: openFDA (FDA drug labels and adverse-event reports); related diagnosis codes come from the MyMedi-AI code database.

Inputs: drugName (required), searchField.

drug_rxnormRxNorm drug normalization (NIH)A
Read-only
Inspect

Normalize a drug name with NIH RxNorm: returns the matching RxNorm concepts (RxCUI, name, synonym, term type) and the primary RxCUI. It does not check interactions. Source: RxNorm, from the U.S. National Library of Medicine (RxNav API).

Inputs: drugName (required).

fee_schedule_lookupDMEPOS fee schedule (state + modifier specific)A
Read-only
Inspect

Look up the CMS DMEPOS fee schedule for a DME/orthotic/prosthetic HCPCS code: rental (RR) vs purchase (NU new / UE used), non-rural vs rural, per state. With a state it returns that state's exact rates, without one national min–max ranges; a modifier narrows the answer to rental or purchase. Source: the current CMS DMEPOS fee schedule quarter. It has no professional-service (CPT) rates.

Inputs: code (required), state, modifier.

market_analysisHealthcare specialty market analysis by stateA
Read-only
Inspect

Specialty snapshot for a US state: how many providers one CMS NPPES registry query matches for the specialty (the query returns at most 200 records, so the figure is a floor, not a provider count), plus an LLM-generated estimate, labelled as such, of demand outlook, likely underserved areas and opportunities. Not a CMS or quality measure. A failed call (model unavailable) is refunded.

Inputs: state (required), specialty (required).

modifier_advisorDMEPOS billing-modifier advisor (free)A
Read-onlyIdempotent
Inspect

Editorial guidance on DMEPOS billing modifiers: the KX/GA/GY/GZ medical-necessity and liability family, RR/NU/UE rental-vs-purchase, capped-rental month markers (KH/KI/KJ), and RT/LT laterality. A HCPCS code scopes the guidance to that item's DMEPOS category (a category can also be given directly), and a scenario phrase (e.g., "ABN on file", "bilateral") surfaces the relevant modifiers. Original editorial content, not payer policy. PHI-free. Free, no API key required.

Inputs: code, category, scenario.

ner_extractExtract ICD-10-CM, HCPCS and CPT codes and dates from clinical textA
Read-only
Inspect

Extract the medical codes already present in de-identified text and check each against the MyMedi-AI code database: ICD-10-CM codes whole, dotted or undotted, with their 7th-character extensions (S72.001A, S72001A); HCPCS Level II codes (a letter A–V and four digits), with modifiers attached (E0601RR, E0601-RR) reported as modifiers — a glued suffix only when it is a known DMEPOS modifier; and CPT codes only where a keyword such as CPT or procedure code marks them (Category II and III and PLA codes such as 0001U included), so ZIP codes and other numbers are not read as codes, and a five-digit number that continues a marked list is kept only when the CPT set holds it. Codes are read in upper case, as code sets print them; lower-case text is not read as a code. Each code entity says whether the code set holds it (inCodeSet) and, when it does, gives its description and whether it is active; an undotted ICD-10-CM shape is returned only when the code set holds it, so words such as B12 are not read as codes. codeSets names the code-set releases checked. Also returns M/D/Y dates and one MEDICATION_INDICATOR entity when a dose unit (mg, mcg or mL) appears. It does not extract drug names and does not infer or suggest codes. PHI-free: for de-identified text only.

Inputs: text (required), entityTypes.

order_readiness_checklistDMEPOS order-readiness checklist (free)A
Read-onlyIdempotent
Inspect

Blank pre-delivery checklist for a HCPCS DMEPOS code: the universal standard written order (SWO) elements (42 CFR 410.38(d)), whether the code is on the current CMS Required Face-to-Face Encounter & Written Order Prior to Delivery List (F2F/WOPD), and whether it is on the current CMS Required Prior Authorization List, on a date of service (default today). Some items are phased in by state: for those, paRequired is null until a state is given. Requirement definitions only; it takes no patient data (PHI-free). Free, no API key required.

Inputs: code (required), state, dateOfService.

pa_exposure_reportPA/WOPD catalog exposure report (up to 100 codes)A
Read-only
Inspect

Map a supplier HCPCS catalog against the current CMS Required Prior Authorization List and Required Face-to-Face Encounter & Written Order Prior to Delivery List on a date of service (default today). Per code: PA requirement and the date it applies from, F2F/WOPD requirement, documentation gates (SWO, UTN-before-claim, F2F/WOPD sequencing), and deterministic denial-risk flags — plus a catalog-level exposure summary. Some items are phased in by state: with a state the answer is definitive; without one they are reported as required in some states (paRequiredInSomeStates). Unknown or non-HCPCS codes are flagged and count as billable answers. Priced per code — $0.01 × number of codes, max 100 per call. Returns JSON. Original Medicare FFS scope. PHI-free: codes in, rules out.

Inputs: codes (required), state, dateOfService.

pa_predictPrior-auth approval rate + CMS requirement factsA
Read-only
Inspect

Historical prior-authorization approval rate for a procedure code, computed only from your organization's own decided prior authorizations for that code — never from other customers' records — and only from at least 10; an API key or account with no organization has no cohort. With a cohort it returns the rate with cohort size and confidence; without one it returns the verifiable facts instead — CMS Required Prior Authorization List status, category, and published review timeframes — and reports that no rate was computed (the call is refunded on this path). Either way its recommendation states the CMS requirement only. It reports past decisions and makes no coverage or prior-authorization determination. Original Medicare FFS scope.

Inputs: procedureCode (required), payerId.

pa_required_checkMedicare DMEPOS prior-auth required check (free)A
Read-onlyIdempotent
Inspect

Check whether a HCPCS code is on the current CMS Required Prior Authorization List (42 CFR 414.234) on a date of service (default today). Returns paRequired flag, category, nationwide-since date, and list version. Some items are phased in by state: for those, paRequired is null until a state is given. Original Medicare FFS scope. Free, no API key required.

Inputs: code (required), state, dateOfService.

pa_statusPrior authorization status checkA
Read-only
Inspect

Check the status of a prior authorization request tracked in your MyMedi-AI web workspace (by its MyMedi-AI PA id). Returns current status, dates, and expiration info. It does not query payers or say whether a code requires prior authorization, and returns not-found (refunded) if the PA was never entered in the web app.

Inputs: trackingNumber, authorizationId.

provider_enrichAI-enriched provider intelligence (NPI)A
Read-only
Inspect

Look up a provider by NPI in the CMS NPPES registry (name, credential, primary and other taxonomies, practice address, enumeration date) and add an LLM-generated estimate, labelled as such, of specialty demand, network gaps and referral categories for that type of provider. The model is given the provider type — specialty, taxonomy, credential, state, entity type and enumeration date — never the name or NPI. Not a CMS or quality measure. A failed call (unknown NPI, model unavailable) is refunded.

Inputs: npi (required).

provider_paymentsPhysician industry payments (CMS Open Payments)A
Read-only
Inspect

Look up pharmaceutical and device company payments to a physician (Sunshine Act data). Returns total payments, breakdown by type, and top paying companies. Source: CMS Open Payments.

Inputs: npi (required).

reimbursement_basicMedicare national payment rate (free)A
Read-onlyIdempotent
Inspect

Look up Medicare payment for a code. Returns the national facility and non-facility payment under the current Medicare PFS (CMS RVU × conversion factor) for professional services, plus ranges from the current CMS DMEPOS fee schedule quarter (rental/purchase, min–max across state fees) for DME items like E/K/L codes. Free, no API key required.

Inputs: code (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 32 tools

    Disambiguation3/5

    Descriptions are unusually explicit about what each tool does not do, which rescues many near-neighbors, but real overlaps remain: reimbursement_basic vs code_reimbursement vs fee_schedule_lookup (and code_lookup's embedded DMEPOS rates) all answer 'what does Medicare pay,' and code_lookup vs code_lookup_basic vs code_lookup_batch differ mainly by price and payload size. The PA family (pa_required_check, pa_predict, pa_status, pa_exposure_report, plus PA checks inside order_readiness_checklist and compliance_audit) is distinguishable only after careful reading. An agent can get there, but misselection is plausible.

    Naming Consistency4/5

    Overwhelmingly snake_case with a domain-ish prefix (code_*, drug_*, pa_*, provider_*), which is readable and mostly predictable. Deviations are ordering inconsistencies — reimbursement_basic vs code_reimbursement, fee_schedule_lookup vs code_lookup, denial_code_info — and a 'basic' suffix convention applied unevenly. Still far more consistent than not.

    Tool Count2/5

    32 tools is well past the 25+ threshold where a surface starts to feel heavy, and the count is inflated by tiered duplicates (basic/full/batch variants of lookup, validate and reimbursement) rather than genuinely distinct operations. A broad domain justifies many tools, but several here earn their place only as billing tiers, not as new capabilities.

    Completeness4/5

    Coverage of the medical coding lifecycle is strong: lookup, suggest, validate, crossref, batch variants, reimbursement/fee schedules, PA checks, claims pre-submission validation, compliance audit and NER extraction, plus adjacent drug, provider, trial and surveillance data. Gaps are acknowledged rather than hidden (no NCCI PTP/MUE edits, no payer-specific policy, drug interactions only statistical), so agents hit few dead ends for core workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to look up ICD-10-CM and HCPCS codes, explain insurance and billing terms, verify EOB arithmetic, and access guides for reading medical bills and explanations of benefits.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes 89 hosted, pay-per-call tools that let agents capture screenshots, scrape and search the web, convert and extract PDFs and documents, run OCR, handle text-to-speech and speech-to-text, process images, and parse invoices, contracts and compliance checks. Billing is flat per call and charged only on success, with cost and remaining balance returned in each response.
      MIT