AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

database-lookup

Queries documented public database APIs with explicit endpoints, filters, pagination, and provenance. Used when a scientific, regulatory, financial, or other database-backed fact must be retrieved reproducibly from a named source rather than inferred from general knowledge.

Original source
K-Dense-AI
License
MIT
Pinned revision
5f2bc0341354fd5590aef76a533ada1e1e5b4e62

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read k-dense-ai--database-lookup at revision 5f2bc0341354fd5590aef76a533ada1e1e5b4e62, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 83

references/dailymed.md

DailyMed (NIH/NLM Drug Labels)

Base URL

https://dailymed.nlm.nih.gov/dailymed/services/

Auth

No API key required.

Key Endpoints

| Endpoint | Description | |----------|-------------| | v2/spls.json?drug_name={name} | Search drug labels by name | | v2/spls/{setid}.json | Get label metadata by SetID | | v2/spls/{setid}/ndcs.json | NDC codes for a label | | v2/spls/{setid}/media.json | Images/media for a label | | v2/drugnames.json?drug_name={prefix} | Drug name autocomplete | | v2/drugclasses.json?drug_class_name={name} | Search by pharmacologic class | | v2/rxcuis.json?rxcui={rxcui} | Query RxNorm CUIs | | v2/spls.json?ndc={ndc_code} | Find labels by NDC code |

Additional filters for /v2/spls.json

  • drug_class_code and drug_class_coding_system — pharmacologic class code and terminology; discover codes via /drugclasses.json
  • labeler — manufacturer name
  • page / pagesize — pagination (max 100)

Example Calls

# Search metformin labels
https://dailymed.nlm.nih.gov/dailymed/services/v2/spls.json?drug_name=metformin

# Drug name autocomplete
https://dailymed.nlm.nih.gov/dailymed/services/v2/drugnames.json?drug_name=ator

# Search by pharmacologic class
https://dailymed.nlm.nih.gov/dailymed/services/v2/spls.json?drug_class_code={code_from_drugclasses}

# Full label XML (SPL content with sections)
https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/{setid}.xml

Response Format

{
  "metadata": {
    "total_elements": 12,
    "elements_per_page": 10,
    "current_page": 1,
    "total_pages": 2
  },
  "data": [
    {
      "published_date": "2024-01-15",
      "title": "METFORMIN HYDROCHLORIDE tablet",
      "setid": "b03f295f-..."
    }
  ]
}

Rate Limits

No published limits. Be reasonable.