MCP.so
登录

OFFX MCP Server

@uh-joan

关于 OFFX MCP Server

暂无概览

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

uh-joan

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "offx-mcp-server": {
      "command": "npx",
      "args": [
        "offx-mcp-server"
      ]
    }
  }
}

工具

21

`{ 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" }`

概览

What is OFFX MCP Server?

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.

How to use OFFX MCP Server?

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.

Key features of OFFX MCP Server

  • Search drugs by name or by target/action/adverse event
  • Retrieve alerts with extensive filter options
  • Get drug and target scores
  • Pagination support for large result sets
  • Structured JSON responses
  • Optional HTTP API mode for REST endpoints

Use cases of OFFX MCP Server

  • Drug safety research and adverse event monitoring
  • Finding target-drug and drug-target associations
  • Retrieving drug and class scores for safety assessment
  • Searching for alerts by phase, type, severity, or evidence level
  • Integrating drug safety data into clinical or research workflows

FAQ from OFFX MCP Server

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.

How do I authenticate with the server?

You need to set the environment variable OFFX_API_TOKEN with your OFFX API token.

Can I run this server in HTTP mode?

Yes, set USE_HTTP=true and optionally specify a PORT (default 3000) to run as an HTTP server with REST endpoints.

What filter parameters are available for alerts?

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).

How do I paginate results?

Include a page parameter (integer) in your requests. It defaults to 1 if not specified.

评论

其他 分类下的更多 MCP 服务器