What is the OFFX database?
The OFFX (Target Safety) database is a drug and safety database that the server queries for drugs, adverse events, alerts, and scores.
@uh-joan
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"offx-mcp-server": {
"command": "npx",
"args": [
"offx-mcp-server"
]
}
}
}`{ drug: string }`
`{ "drug": "everolimus" }`
`{ target_id?: string, action_id?: string, adverse_event_id?: string, page?: number }`
`{ "target_id": "123", "action_id": "456" }`
`{ drug_id?: string, target_id?: string, action_id?: string, page?: number, adverse_event_id?: string, ref_source_type?: string, alert_type?: string, alert_phase?: string, alert_level_evidence?: string, alert_onoff_target?: string, alert_severity?: string, alert_causality?: string, alert_species?: string, alert_date_from?: string, alert_date_to?: string, order_by_date?: string, order_by_adv?: string }`
You must provide **exactly one** of: `drug_id` or `target_id` (not both, not neither)
`{ "drug_id": "11204", "page": 1 }`
`{ drug_id?: string, adverse_event_id?: string, target_id?: string, action_id?: string }`
You must provide **either** `drug_id` (alone), **or** both `target_id` and `action_id` (together)
`{ "drug_id": "99402" }`
`{ drug_id: string, page: number, adverse_event_id?: string, ref_source_type?: string, alert_type?: string, alert_phase?: string, alert_level_evidence?: string, alert_severity?: string, alert_causality?: string, alert_species?: string, alert_date_from?: string, alert_date_to?: string }`
`{ "drug_id": "11204", "page": 1 }`
`{ adverse_event: string }`
`{ "adverse_event": "Anaemia" }`
`{ drug_id?: string, target_id?: string }`
`{ "drug_id": "12345" }`
`{ target: string }`
`{ "target": "ALK" }`
`{ target_id: string, action_id: string, page?: number, adverse_event_id?: string, ref_source_type?: string, alert_type?: string, alert_phase?: string, alert_level_evidence?: string, alert_onoff_target?: string, alert_severity?: string, alert_causality?: string, alert_species?: string, alert_date_from?: string, alert_date_to?: string }`
Both `target_id` and `action_id` are **required**
`{ "target_id": "158", "action_id": "15" }`
OFFX MCP Server provides direct access to the OFFX (Target Safety) drug and safety database, allowing searches for drugs, adverse events, alerts, and scores. It is designed for researchers and developers needing drug safety data.
Install via npm (npm install @uh-joan/offx-mcp-server), set the OFFX_API_TOKEN environment variable, and run as an MCP server with npx offx-mcp-server or as an HTTP server with USE_HTTP=true. Configure it in Claude Desktop by adding the server to claude_desktop_config.json.
The OFFX (Target Safety) database is a drug and safety database that the server queries for drugs, adverse events, alerts, and scores.
You need to set the environment variable `OFFX_API_TOKEN` with your OFFX API token.
Yes, set `USE_HTTP=true` and optionally specify a `PORT` (default 3000) to run as an HTTP server with REST endpoints.
Alerts support filters such as `adverse_event_id`, `alert_type`, `alert_phase`, `ref_source_type`, `alert_level_evidence`, `alert_onoff_target`, `alert_severity`, and more. Values must use OFFX-API compatible formats (e.g., comma-separated numbers for multiple values).
Include a `page` parameter (integer) in your requests. It defaults to 1 if not specified.

Model Context Protocol Servers
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Open-source MCP to use Blender with any LLM
Painless E2E Automation for Mobile and Web
不止于 CSS
Comments