OFFX MCP Server logo

OFFX MCP Server

by uh-joan

This MCP server provides access to the OFFX (Target Safety) database, allowing users to search for drugs, adverse events, alerts, and scores. It can be used as an MCP server or an HTTP server to retrieve structured JSON responses related to drug safety data.

View on GitHub

Last updated: N/A

What is OFFX MCP Server?

The OFFX MCP Server is a tool that provides access to the OFFX (Target Safety) database. It allows users to search and retrieve information about drugs, adverse events, alerts, and scores, facilitating drug safety analysis and research.

How to use OFFX MCP Server?

The server can be run as an MCP server or an HTTP server. As an MCP server, it can be integrated with Claude Desktop. As an HTTP server, it exposes REST endpoints that accept POST requests with JSON bodies. You need to set up the OFFX_API_TOKEN environment variable. Refer to the documentation for specific endpoint usage and required parameters.

Key features of OFFX MCP Server

  • Direct access to OFFX (Target Safety) drug and safety database

  • Search by drug, adverse event, target, action, or name

  • Retrieve alerts and scores for drugs

  • Structured JSON responses

  • Pagination support for large result sets

Use cases of OFFX MCP Server

  • Drug safety monitoring and analysis

  • Identifying potential adverse events associated with specific drugs

  • Target identification and validation

  • Retrieving drug scores for risk assessment

FAQ from OFFX MCP Server

What is the OFFX API token used for?

The OFFX API token is required to authenticate with the OFFX (Target Safety) database and access its data. You need a valid token to use the server.

How do I run the server as an HTTP server?

Set the USE_HTTP environment variable to true and optionally specify a PORT. Then, run the server using USE_HTTP=true PORT=3000 npx offx-mcp-server.

What input formats are supported?

The server supports dates in yyyy-mm-dd format (ISO 8601), strings without quotes in JSON, and integers for numbers.

How do I specify multiple values for filter parameters?

Use comma-separated numbers (e.g., adverse_event_id=10000059,10000081).

Where can I find more information about OFF-X?

Visit Clarivate's OFF-X page to learn more about the product and obtain API credentials.