fda_faers_trend

Pack: openfda · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/fda_faers_trend for the schema, then POST the same URL with its arguments for the data.

Aggregate daily FAERS report counts into calendar months for a drug and optional reaction over a bounded date window. The reaction argument matches one whole MedDRA preferred term, so a broad word like “neuropathy” counts only reports filed under that exact term and not the specific terms containing it. Natural multi-word phrasing is resolved to MedDRA word order and disclosed; a term matching nothing is reported as unresolved rather than as zero reports. Trends reflect reporting activity, publicity, utilization, duplicates, and database updates—not incidence or changing clinical risk.

Parameters

NameTypeRequiredDescription
drugstringyes
reactionstringno
from_datestringyes
to_datestringyes

Example call

Arguments

{
  "drug": "Ozempic",
  "from_date": "2025-01-01",
  "to_date": "2025-12-31"
}

curl

curl -X POST https://gateway.pipeworx.io/openfda/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fda_faers_trend","arguments":{"drug":"Ozempic","from_date":"2025-01-01","to_date":"2025-12-31"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('fda_faers_trend', {
  "drug": "Ozempic",
  "from_date": "2025-01-01",
  "to_date": "2025-12-31"
});

More examples

{
  "drug": "Ozempic",
  "reaction": "Nausea",
  "from_date": "2025-01-01",
  "to_date": "2025-12-31"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the openfda pack
{
  "mcpServers": {
    "openfda": {
      "url": "https://gateway.pipeworx.io/openfda/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026