Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

fda-database

Skill by davila7

Queries the openFDA API for FDA data on drugs, devices, foods, veterinary products and substances. Built for regulatory analysis, pharmacovigilance and safety research.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install fda-database

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/fda-database ~/.claude/skills/fda-database

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install fda-database in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The fda-database skill gives an AI assistant access to openFDA, the FDA's open interface to public regulatory datasets. It covers drugs, medical devices, foods, animal and veterinary products, and substances. Requests are made in Python through an FDAQuery class. The source says this class handles rate limiting and includes built-in caching that is on by default.

The skill is organized by category. Drug endpoints include adverse events, product labeling, the NDC directory, enforcement reports, Drugs@FDA approvals and drug shortages. Device endpoints include adverse events, 510(k) clearances, PMA data, classifications, recalls and UDI records. Reference documents and example code cover safety profiles, trend analysis and drug comparisons.

It is aimed at drug researchers, device surveillance teams, food safety analysts, veterinary researchers, and pharmacovigilance or regulatory staff who need FDA data for analysis and safety research.

Written from the project's SKILL.md and checked against it.

What it can do

  • Drug dataQueries adverse events, labeling, NDC directory, recalls, approvals and drug shortages.
  • Device dataQueries device adverse events, 510(k) clearances, PMA data, classifications, recalls and UDI records.
  • Food safety dataQueries food and dietary supplement adverse events and food product recalls.
  • Veterinary dataQueries animal drug adverse events by species, breed and product.
  • Substance lookupLooks up UNII codes, CAS mapping, chemical structures and substance relationships.
  • Pagination and cachingPages through large result sets and caches frequently accessed data by default.

What you need

  • Python
  • Optional openFDA API key

Try asking

  • Summarize adverse event reports for metformin using the FDA database skill
  • Find Class I device recalls from openFDA and list the products
  • Look up the UNII code for acetaminophen and its CAS number

Good to know

  • Without an API key the limit is 1,000 requests per day.
  • With an API key the limit is 120,000 requests per day.
  • Rate limit is 240 requests per minute with or without a key.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/scientific/fda-database/SKILL.md, cli-tool/components/skills/scientific/fda-database/scripts/fda_examples.py, cli-tool/components/skills/scientific/fda-database/scripts/fda_query.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • references/animal_veterinary.md12 KB
  • references/api_basics.md16 KB
  • references/devices.md18 KB
  • references/drugs.md14 KB
Show all 9 files
  • references/foods.md11 KB
  • references/other.md13 KB
  • scripts/fda_examples.py11 KB
  • scripts/fda_query.py15 KB

Alternatives to fda-database

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

fda-database: common questions

Does the FDA database skill need an API key?

The source says the API works without a key, but registering gives a higher daily request limit. The key can be set through the FDA_API_KEY environment variable.

What FDA data can this skill query?

It queries data on drugs, medical devices, foods, animal and veterinary products, and substances. This includes 510(k) and PMA submissions and UNII substance codes.

Does the skill cache results?

Yes. The source says the FDAQuery class includes built-in caching, enabled by default, with a configurable time to live.

How do I install fda-database?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is fda-database free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is fda-database safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to fda-database?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

fda-database Install

Add to stack

Loading.