MCP.so
ログイン

OFFX MCP Server

@uh-joan

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

uh-joan

OFFX MCP Server について

概要はまだありません

OFFX MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

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

よくある質問

1

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.

2

How do I authenticate with the server?

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

3

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.

4

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

5

How do I paginate results?

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

コメント

「その他」の他のコンテンツ