You're viewing a demo portfolio

Join the waitlist
PRSM

fda_event_counts

Active

Tool of mcp-openfda

declared in 0.1.0

Aggregate adverse events by reaction type, patient age, or outcome. Returns top reactions for a drug and event trends over time.

Parameters schema

{
  "type": "object",
  "examples": [
    {
      "query": "patient.drug.openfda.brand_name:\"ASPIRIN\"",
      "count_field": "patient.reaction.reactionmeddrapt.exact"
    },
    {
      "query": "serious:1+AND+receivedate:[20230101+TO+20231231]",
      "count_field": "receivedate"
    }
  ],
  "required": [
    "query",
    "count_field"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "OpenFDA search query to filter events before counting. Same syntax as fda_drug_events."
    },
    "count_field": {
      "type": "string",
      "description": "Field to count/aggregate by. Examples: \"patient.reaction.reactionmeddrapt.exact\" (top reactions), \"receivedate\" (timeline), \"serious\" (severity breakdown), \"patient.drug.openfda.brand_name.exact\" (co-reported drugs)"
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

mcp-openfda

https://github.com/pipeworx-io/mcp-openfda

2/7 registries
View full server →
fda_event_counts — mcp-openfda — PRSM MCP