<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: RegDataLab</title>
    <description>The latest articles on DEV Community by RegDataLab (@regdatalab).</description>
    <link>https://dev.to/regdatalab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4252590%2Fe0a7456b-7402-41f2-a4f2-8bb7257c6b8c.png</url>
      <title>DEV Community: RegDataLab</title>
      <link>https://dev.to/regdatalab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/regdatalab"/>
    <language>en</language>
    <item>
      <title>openFDA MCP server: what it covers, what it misses, and how to add FDA inspections and warning letters to Claude</title>
      <dc:creator>RegDataLab</dc:creator>
      <pubDate>Wed, 18 Nov 2026 21:17:34 +0000</pubDate>
      <link>https://dev.to/regdatalab/openfda-mcp-server-what-it-covers-what-it-misses-and-how-to-add-fda-inspections-and-warning-4kjf</link>
      <guid>https://dev.to/regdatalab/openfda-mcp-server-what-it-covers-what-it-misses-and-how-to-add-fda-inspections-and-warning-4kjf</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is from the RegDataLab team. RegDataLab is the hosted MCP server used in the second half; the first half covers the free openFDA options.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you search for an "openFDA MCP server" you'll find several good ones. They wrap the openFDA HTTP API so Claude, ChatGPT or Cursor can query drug labels, adverse events, recalls, NDC codes and 510(k) decisions.&lt;/p&gt;

&lt;p&gt;Then you ask the question a quality or supplier team actually asks, "has this manufacturer had an FDA warning letter or a bad inspection?", and the agent comes back empty or guesses. This post explains why, and shows how to wire the missing FDA data into an MCP client in a couple of minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What openFDA has, and what it doesn't
&lt;/h2&gt;

&lt;p&gt;openFDA publishes one JSON endpoint per dataset. Its download index covers drug, device and food files: adverse events, labels, the NDC directory, Drugs@FDA, shortages, the Orange Book, recall enforcement reports, 510(k) and PMA decisions, device classification, registration and listing, UDI, and food, cosmetic, veterinary and tobacco reports.&lt;/p&gt;

&lt;p&gt;These are &lt;strong&gt;not&lt;/strong&gt; openFDA endpoints:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Data&lt;/th&gt;
&lt;th&gt;Where FDA publishes it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Inspection classifications (NAI, VAI, OAI)&lt;/td&gt;
&lt;td&gt;FDA Data Dashboard&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Form 483 citations (CFR section + short text)&lt;/td&gt;
&lt;td&gt;FDA Data Dashboard&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Posted Form 483 documents&lt;/td&gt;
&lt;td&gt;OII FOIA Electronic Reading Room&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Warning letters&lt;/td&gt;
&lt;td&gt;fda.gov warning letter pages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Import alerts, import refusals&lt;/td&gt;
&lt;td&gt;Import alert pages, Data Dashboard&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Debarments&lt;/td&gt;
&lt;td&gt;FDA debarment list&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;So an MCP server built only on openFDA can't answer inspection or enforcement questions, however good it is. The second problem is names: FDA files records under each site's legal name, so a search for "Baxter" on FDA's own sites misses records filed under Hillrom or Welch Allyn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1: an openFDA MCP server (free; labels, adverse events, recalls)
&lt;/h2&gt;

&lt;p&gt;If your use case is pharmacovigilance or label lookup, an openFDA server is the simpler choice. For example, the open-source &lt;a href="https://github.com/cyanheads/openfda-mcp-server" rel="noopener noreferrer"&gt;cyanheads/openfda-mcp-server&lt;/a&gt; runs locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add openfda-mcp-server -- npx -y @cyanheads/openfda-mcp-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It needs no key for light use. openFDA allows 1,000 requests a day per IP without a key and 120,000 a day with a free key (&lt;a href="https://open.fda.gov/apis/authentication/" rel="noopener noreferrer"&gt;open.fda.gov&lt;/a&gt;). You can also call the openFDA API directly, and FDA's own &lt;a href="https://datadashboard.fda.gov/oii/fd/fser.htm" rel="noopener noreferrer"&gt;Data Dashboard&lt;/a&gt; and &lt;a href="https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/compliance-actions-and-activities/warning-letters" rel="noopener noreferrer"&gt;warning letter page&lt;/a&gt; are free to search by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 2: add inspections, 483s and warning letters with RegDataLab
&lt;/h2&gt;

&lt;p&gt;RegDataLab is a hosted MCP server at &lt;code&gt;https://www.regdatalab.com/mcp&lt;/code&gt; (Streamable HTTP). It has 52 tools: 51 read-only tools over 35 public FDA datasets, plus a &lt;code&gt;submit_feedback&lt;/code&gt; tool. It uses openFDA datasets where they apply, adds the Data Dashboard, warning letter, reading room, import and debarment data, and matches records to a company family and its sites. Every FDA record links back to its FDA source. It does not carry everything openFDA does (the Orange Book, for one), and it has no 483s that FDA hasn't published.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Code
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http --scope user regdatalab https://www.regdatalab.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run &lt;code&gt;/mcp&lt;/code&gt;, pick &lt;code&gt;regdatalab&lt;/code&gt; and choose &lt;strong&gt;Authenticate&lt;/strong&gt;. For CI or a machine with no browser, send a key as a header instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add regdatalab https://www.regdatalab.com/mcp \
  --transport http \
  --header &lt;span class="s2"&gt;"Authorization: Bearer YOUR_API_KEY"&lt;/span&gt; \
  --scope user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Cursor
&lt;/h3&gt;

&lt;p&gt;Add to &lt;code&gt;~/.cursor/mcp.json&lt;/code&gt;, then open &lt;strong&gt;Settings &amp;gt; MCP&lt;/strong&gt; and click &lt;strong&gt;Connect&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"regdatalab"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.regdatalab.com/mcp"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Cline
&lt;/h3&gt;

&lt;p&gt;Cline uses an API key in a header. Add this to &lt;code&gt;~/.cline/data/settings/cline_mcp_settings.json&lt;/code&gt;, or open Cline's MCP Servers UI, choose &lt;strong&gt;Streamable HTTP&lt;/strong&gt; on the &lt;strong&gt;Remote Servers&lt;/strong&gt; tab, and enter the same URL and header:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"regdatalab"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"streamableHttp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.regdatalab.com/mcp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"headers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Bearer YOUR_API_KEY"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"disabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"autoApprove"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set &lt;code&gt;"type": "streamableHttp"&lt;/code&gt; explicitly. Cline defaults to the legacy SSE transport when &lt;code&gt;type&lt;/code&gt; is missing, and an SSE GET to the endpoint returns 405. Write the key as plain text after &lt;code&gt;Bearer&lt;/code&gt;. If the file already has other servers, add &lt;code&gt;regdatalab&lt;/code&gt; beside them.&lt;/p&gt;

&lt;p&gt;Or from a shell (&lt;code&gt;--transport http&lt;/code&gt; saves &lt;code&gt;"type": "streamableHttp"&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cline mcp add regdatalab https://www.regdatalab.com/mcp \
  --transport http \
  --header &lt;span class="s2"&gt;"Authorization: Bearer YOUR_API_KEY"&lt;/span&gt; \
  --yes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The repo also has an &lt;a href="https://github.com/medley/fda-data-mcp/blob/main/llms-install.md" rel="noopener noreferrer"&gt;llms-install.md&lt;/a&gt; that Cline can follow on its own.&lt;/p&gt;

&lt;h3&gt;
  
  
  stdio-only clients
&lt;/h3&gt;

&lt;p&gt;Needs Node.js 18 or later:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;FDA_DATA_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;YOUR_API_KEY npx -y fda-data-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keys come from &lt;a href="https://www.regdatalab.com/signup" rel="noopener noreferrer"&gt;regdatalab.com/signup&lt;/a&gt;: 50 credits on signup and 300 a month after you verify your email, no card. Configs for ChatGPT, VS Code, Codex, Windsurf and the OpenAI Responses API are in the repo: &lt;a href="https://github.com/medley/fda-data-mcp" rel="noopener noreferrer"&gt;https://github.com/medley/fda-data-mcp&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A real query
&lt;/h2&gt;

&lt;p&gt;I asked: "Give me a manufacturing risk summary for LGM Pharma Solutions." The agent called &lt;code&gt;fda_manufacturing_risk_summary&lt;/code&gt; (3 credits). Trimmed result, as returned on November 18, 2026:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"facility_footprint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"total_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"inspection_summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"total_inspections"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"nai"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"vai"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"oai"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"last_inspection_date"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2025-08-06"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recent_warning_letters"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"company_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"LGM Pharma Solutions, LLC"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"letter_issue_date"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-02"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"subject"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CGMP/Finished Pharmaceuticals/Adulterated"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"issuing_office"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Center for Drug Evaluation and Research (CDER)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"letter_url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/warning-letters/lgm-pharma-solutions-llc-736085-11022026"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recent_oii_records"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"record_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"483"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"publish_date"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-17"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"record_url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.fda.gov/media/196417/download"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"import_risk"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"import_alert_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"import_refusal_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recall_signals"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"unique_recall_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The three sites are in Irvine, CA; Rosenberg, TX; and Colorado Springs, CO. The one OAI inspection on record is from 2010. The two most recent drug quality inspections (Irvine, March 2024; Rosenberg, August 2025) were VAI, and a January 2025 bioresearch monitoring inspection at Irvine was NAI. The warning letter's first cited violation is 21 CFR 211.192, failure to thoroughly investigate out-of-specification results, here OOS assay results at stability timepoints. The Form 483 was posted to FDA's reading room on November 17, 2026.&lt;/p&gt;

&lt;p&gt;That was one tool call. By hand, it's the Data Dashboard (inspections), the warning letter page, the reading room and the import pages, each searched separately.&lt;/p&gt;

&lt;p&gt;Keep two caveats in any agent you build on this data (the server returns them too): no matching records does not mean a site is safe, and a 483 FDA hasn't published isn't in the public record at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which to use
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Labels, adverse events, NDC or shortages only: an openFDA MCP server, or the openFDA API directly.&lt;/li&gt;
&lt;li&gt;Supplier qualification, audit prep, inspection or enforcement history: RegDataLab. You can run both; the tool names don't collide (&lt;code&gt;openfda_*&lt;/code&gt; vs &lt;code&gt;fda_*&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full openFDA vs RegDataLab comparison is at &lt;a href="https://www.regdatalab.com/openfda-mcp" rel="noopener noreferrer"&gt;https://www.regdatalab.com/openfda-mcp&lt;/a&gt;. No terminal? There's a free company check, no key needed, at &lt;a href="https://www.regdatalab.com/tools/fda-compliance-check" rel="noopener noreferrer"&gt;https://www.regdatalab.com/tools/fda-compliance-check&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>fda</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
