@ythalorossy/openfda 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/index.js +588 -303
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -11,10 +11,11 @@ A Model Context Protocol (MCP) server for querying drug information from the Ope
|
|
|
11
11
|
- Retrieve drug label information by brand name
|
|
12
12
|
- Retrieve drug information by generic (active ingredient) name
|
|
13
13
|
- Get all brand versions of a generic drug
|
|
14
|
-
- Get adverse event (side effect) reports for a drug (by brand or generic name)
|
|
14
|
+
- Get adverse event (side effect) reports for a drug (by brand or generic name), with paging via `skip` (maximum 25000) and ordering via `sort` (`receivedate:desc` / `receivedate:asc`) — without `sort`, results are a deterministic earliest-`report_id` slice, so a small sample is not representative
|
|
15
|
+
- Rank adverse-event values for a drug by frequency (e.g. the most commonly reported reactions) via `get-drug-adverse-event-counts`; note that openFDA omits a result total on aggregated responses, so this tool reports no total
|
|
15
16
|
- Retrieve all drugs manufactured by a specific company
|
|
16
17
|
- Get comprehensive drug safety information (warnings, contraindications, interactions, precautions, etc.)
|
|
17
|
-
- Retrieve full Drugs@FDA application data for a given section and field
|
|
18
|
+
- Retrieve full Drugs@FDA application data for a given section and field, with a `limit` parameter and a real `Showing N of M` total; can also search by `sponsor_name`, which is stored uppercase and normalised automatically
|
|
18
19
|
- Normalize and validate NDC (National Drug Code) formats
|
|
19
20
|
- Helpful error messages and suggestions for failed queries
|
|
20
21
|
|
|
@@ -59,7 +60,8 @@ A Model Context Protocol (MCP) server for querying drug information from the Ope
|
|
|
59
60
|
"get-drug-safety-info",
|
|
60
61
|
"get-drug-by-ndc",
|
|
61
62
|
"get-drug-by-product-ndc",
|
|
62
|
-
"get-drugsfda"
|
|
63
|
+
"get-drugsfda",
|
|
64
|
+
"get-drug-adverse-event-counts"
|
|
63
65
|
]
|
|
64
66
|
}
|
|
65
67
|
}
|