fda-database
Query FDA drug and device databases
Also available from: davila7
Access comprehensive FDA regulatory data including drug adverse events, medical device recalls, and safety information through the official openFDA API. Build pharmacovigilance and regulatory research workflows with Python.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "fda-database". Find recalls for metformin diabetes medications
Expected outcome:
- Metformin recalls: 3 recent recalls found
- Reason: NDMA impurity detection
- Classification: Class II
- Status: Ongoing
Using "fda-database". Show device adverse events for pacemakers
Expected outcome:
- Total adverse events: 15,432
- Event types: Death (234), Injury (4,521), Malfunction (10,677)
- Most common issue: Battery depletion
Using "fda-database". Look up UNII code for ibuprofen
Expected outcome:
- UNII: Y43UW15LVD
- CAS Number: 15687-27-1
- Molecular Formula: C13H18O2
- Substance Class: chemical
Security Audit
SafeThis is a legitimate API wrapper for the FDA's public openFDA API (api.fda.gov). All static findings are false positives: the 'CRITICAL' heuristic flagged code execution + network + credential access as suspicious, but this is standard API client behavior for authenticating with a legitimate government API. MD5 is used for cache key generation, not cryptographic security. Documentation code blocks were misidentified as shell commands. All network requests go to the official FDA API endpoint with no exfiltration or credential theft patterns.
Risk Factors
⚡ Contains scripts (2)
🌐 Network access (2)
🔑 Env variables (2)
Quality Score
What You Can Build
Drug safety monitoring
Monitor adverse event reports and identify safety signals for medications
Device surveillance
Track medical device adverse events and recall status for products
Regulatory compliance
Research approval pathways and compliance history for submissions
Try These Prompts
Use the FDA database skill to look up adverse events for aspirin and show the 5 most common reactions
Query the FDA database for medical device recalls involving pacemakers in the past year
Compare adverse event rates between ibuprofen, naproxen, and aspirin using the FDA database
Monitor food recalls related to undeclared peanuts and show the most recent 10 recalls
Best Practices
- Set the FDA_API_KEY environment variable to increase rate limits from 1,000 to 120,000 requests per day
- Use specific search terms and field queries for accurate results rather than broad wildcards
- Implement caching for frequently accessed data to reduce API calls and improve performance
Avoid
- Do not use overly broad wildcard searches that return excessive unrelated results
- Avoid making rapid successive requests without rate limiting, which may trigger 429 errors
- Do not assume all records contain all fields; always check field existence before accessing
Frequently Asked Questions
Is an API key required?
What data categories are available?
How current is the data?
Can I download full datasets?
What are the rate limits?
Is this data suitable for clinical decisions?
Developer Details
Author
K-Dense-AILicense
MIT
Repository
https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/fda-databaseRef
main