跳到正文
DEV Community· RegDataLab·· 58 分鐘前AI 評分49

如何將 RegDataLab 的 FDA MCP 伺服器連接至 Claude、ChatGPT 和 Cursor

How to add an FDA MCP server to Claude, ChatGPT, and Cursor

AI 導讀

RegDataLab 提供的託管 MCP 伺服器可連接至 Claude、ChatGPT 和 Cursor,讓用戶以自然語言查詢公開 FDA 記錄。伺服器提供 54 項 MCP 工具,包括 53 項唯讀工具及免費的 submit_feedback 工具,結果附有 fda.gov 來源連結。透過 Claude 或 ChatGPT 的連接流程以電郵登入,毋須 API key。

正文

This post is from the RegDataLab team (Wasatch Crest Holdings LLC). RegDataLab is the hosted MCP server this guide sets up. We are not affiliated with, endorsed by, or sponsored by the U.S. Food and Drug Administration.

You can add a hosted MCP server for public FDA records to Claude, ChatGPT, Cursor, VS Code, Codex or Claude Code and then ask about a company's inspections, Form 483s, warning letters, recalls and approvals in plain English. This is a connection guide. The canonical setup page, with the same steps and longer examples, is https://www.regdatalab.com/fda-mcp-server.

The server URL is:

https://www.regdatalab.com/mcp

It talks Streamable HTTP. There are 54 MCP tools (53 read-only tools plus a free submit_feedback tool). Results include fda.gov source links. The server only reads public records.

This is a different article from our earlier DEV post on what an openFDA MCP server covers and what it misses. That comparison is also on the site at https://www.regdatalab.com/openfda-mcp. This post is the how-to for connecting the hosted server.

What you can look up

Compliance records that are not openFDA endpoints: inspection classifications (NAI, VAI, OAI), inspection citations, warning letters, Form 483s FDA has posted in its reading room, compliance actions, import alerts, import refusals, debarments, OPDP untitled letters, device supply notices and biologics product deviation summaries.

Product and event records openFDA also publishes, joined here to the same company and its FEI numbers: drug and device recalls, 510(k) and PMA decision records, device registration, drug applications, the NDC directory, drug labels, drug shortages and adverse event reports.

A start-here tool, fda_manufacturing_risk_summary, returns one company's inspections, warning letters, published Form 483s, import risk, debarments and recalls in one call. Comparing two to five companies uses fda_compare_companies.

A Form 483 lists the observations an investigator made at the end of an inspection. A warning letter is FDA's formal notice that a firm has violated the law. Inspection classifications: NAI means no action indicated, VAI means voluntary action indicated, and OAI means official action indicated (regulatory or administrative action is recommended).

How to connect Claude or ChatGPT

Both apps add the server as a custom connector and sign you in by email. No API key is required for that flow.

Claude (claude.ai, Desktop, Cowork)

  1. Open claude.ai/directory/regdatalab and click Connect. On Team and Enterprise plans, an owner adds it in Organization settings → Connectors first, then you click Connect.
  2. On the RegDataLab page that opens, enter your email and open the sign-in link we send, in the same browser. Pasting a key also works. Then approve.
  3. In a chat, turn RegDataLab on under + → Connectors.

If the listing is not shown for you: Customize → Connectors → Add custom connector, name it RegDataLab, and paste https://www.regdatalab.com/mcp.

ChatGPT

Your plan or workspace must allow custom MCP servers.

  1. On chatgpt.com, open Plugins, click Add, and choose Add custom MCP server.
  2. Name it RegDataLab, paste https://www.regdatalab.com/mcp as the Server URL, set Authentication to OAuth, confirm the notice, and click Create as a plugin.
  3. On the RegDataLab page that opens, enter your email and open the sign-in link in the same browser, then approve.
  4. Install the plugin, then in a chat type @ and pick RegDataLab.

Claude Code, Cursor, VS Code and Codex

Claude Code

claude mcp add --transport http --scope user regdatalab https://www.regdatalab.com/mcp

Then run /mcp, pick regdatalab, and choose Authenticate. If you already connected in claude.ai, it can show up in /mcp on its own.

For CI or a machine with no browser, send a key as a header instead:

claude mcp add regdatalab https://www.regdatalab.com/mcp \
  --transport http \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --scope user

Cursor, VS Code and Codex

Add https://www.regdatalab.com/mcp over HTTP in the client, or use the Add to Cursor / Add to VS Code buttons on the setup page. Approve the sign-in page the client opens.

In Cursor you can also add this to ~/.cursor/mcp.json, then open Settings > MCP and click Connect:

{
  "mcpServers": {
    "regdatalab": {
      "url": "https://www.regdatalab.com/mcp"
    }
  }
}

Stdio-only clients

Create a free API key on the sign-up page, then run the wrapper (Node.js 18 or later):

FDA_DATA_API_KEY=YOUR_API_KEY npx -y fda-data-mcp

The wrapper and extra client configs live in the public repo: https://github.com/medley/fda-data-mcp.

A first question

Once the connector is on, try:

Give me a manufacturing risk summary for [company]: inspections and outcomes, published Form 483s, warning letters, recalls and import alerts, by site, with dates and fda.gov links.

That call uses fda_manufacturing_risk_summary. Follow up on one record type, or compare two to five companies, if you need more detail.

No matching records means no matching public record was found. It does not mean the company is safe or compliant. Form 483s appear only where FDA has published them. 510(k) and PMA results are decision records, not submission documents or review memos.

How credits work

A successful call uses credits. A record search such as inspections, warning letters or recalls costs 1 credit. A supplier risk summary costs 3 credits. Comparing two to five companies costs 6 credits. A call rejected for bad input, and a call that fails with a server error, does not use a credit.

After you verify your email, you get 6 free credits (2 supplier checks). That grant is one-time and does not refill. No card is required to start. Every plan reads the same records. The pricing page lists every tool and every plan.

If you only need labels or adverse events

An openFDA MCP server, or the openFDA API directly, is the simpler choice for labels, adverse events, NDC codes or shortages. Use RegDataLab when you need a supplier's inspection and enforcement history, with records matched to a company family and its sites. You can run both; the tool names don't collide (openfda_* vs fda_*).

Questions

Is RegDataLab part of the FDA? No. It is an independent data product built on public FDA records, operated by Wasatch Crest Holdings LLC.

Where are the full setup steps? https://www.regdatalab.com/fda-mcp-server

Questions go to hello@regdatalab.com.

來源:DEV Community · dev.to