Sponsored by Deepsite.site

Cortellis MCP Server

Created By
MCP-Mirror7 months ago
Mirror of
Content

Cortellis MCP Server

MCP Server for searching drugs and exploring ontology terms in the Cortellis database.

Installation

# Using npm
npm install @uh-joan/cortellis-mcp-server

Quick Start

  1. Set up your environment variables:
CORTELLIS_USERNAME=your_username
CORTELLIS_PASSWORD=your_password
USE_HTTP=true  # Optional: run as HTTP server
PORT=3000      # Optional: specify port for HTTP server
  1. Run the server:
# As MCP server
npx cortellis-mcp-server

# As HTTP server
USE_HTTP=true PORT=3000 npx cortellis-mcp-server

Tools

  1. search_drugs

    • Search for drugs in the Cortellis database
    • Optional Inputs:
      • query (string) - Raw search query
      • company (string) - Company ID for the developing company (e.g., "18614")
      • indication (string) - Indication ID (numeric ID only, e.g., "238" for Obesity). Use explore_ontology to find the correct ID.
      • action (string) - Target specific action (e.g., glucagon)
      • phase (string) - Development status:
        • Uses LINKED format with short codes: S, DR, CU, C1-C3, PR, R, L, OL, NDR, DX, W
        • Important: only a single phase value is supported for the phase parameter; do not use OR/AND. If you need to search for multiple phases, run separate queries for each phase.
        • Examples:
          • phase: "L"
          • phase: "C1"
          • phase: "C2"
          • phase: "C3"
        • Status codes:
          • S: Suspended
          • DR: Discovery/Preclinical
          • CU: Clinical (unknown phase)
          • C1-C3: Phase 1-3 Clinical
          • PR: Pre-registration
          • R: Registered
          • L: Launched
          • OL: Outlicensed
          • NDR: No Development Reported
          • DX: Discontinued
          • W: Withdrawn
      • phase_terminated (string) - Last phase before NDR/DX
        • Uses short format with double colon: S, DR, CU, C1-C3, PR, R, L, OL, NDR, DX, W
        • Supports AND/OR operators
        • Examples:
          • phase_terminated: "C2"
          • phase_terminated: "C2 OR C3"
      • technology (string) - Drug technology (e.g., small molecule)
      • drug_name (string) - Name of the drug
      • country (string) - Country ID (e.g., "US")
      • offset (number) - For pagination
      • company_size (string) - The size of a company based on market capitalization in billions USD
        • Format: '<X' for less than $XB, 'X' for greater than $XB
      • developmentStatusDate (string) - Date of change in status (only possible within LINKED queries). Use RANGE(>=YYYY-MM-DD;<=YYYY-MM-DD) for ranges. Example: RANGE(>=2023-01-01;<=2023-12-31)
      • historic (boolean) - Set to true to search using the historic development status fields. This is required for questions about the status of a drug at a specific point in the past (e.g., 'What drugs were in phase 3 in 2019?'). If you want to know the status as it was at a particular date or within a date range, always set historic: true and use the developmentStatusDate parameter.
    • Returns: JSON response with drug information and development status
  2. explore_ontology

    • Explore taxonomy terms in the Cortellis database
    • Optional Inputs (at least one required):
      • term (string) - Generic search term
      • category (string) - Category to search within
      • action (string) - Target specific action
      • indication (string) - Disease/condition
      • company (string) - Company name
      • drug_name (string) - Drug name
      • target (string) - Drug target
      • technology (string) - Drug technology
    • Returns: JSON response with matching taxonomy terms
  3. get_drug

    • Return the entire drug record with all available fields for a given identifier
    • Required Input:
      • id (string) - Numeric Drug Identifier (e.g. "101964" for tirzepatide, not the drug name)
    • Example: { "tool-name": "get_drug", "Tool_Parameters": { "id": "101964" } }
    • Returns: JSON response with complete drug record
  4. get_drug_swot

    • Return SWOT analysis complementing chosen drug record
    • Required Input:
      • id (string) - Numeric Drug Identifier (e.g. "101964" for tirzepatide, not the drug name)
    • Example: { "tool-name": "get_drug_swot", "Tool_Parameters": { "id": "101964" } }
    • Returns: JSON response with SWOT analysis for the drug
  5. get_drug_financial

    • Return financial commentary and data (actual sales and consensus forecast)
    • Required Input:
      • id (string) - Numeric Drug Identifier (e.g. "101964" for tirzepatide, not the drug name)
    • Example: { "tool-name": "get_drug_financial", "Tool_Parameters": { "id": "101964" } }
    • Returns: JSON response with financial data and commentary
  6. get_company

    • Return the entire company record with all available fields for a given identifier
    • Required Input:
      • id (string) - Numeric Company Identifier (not the company name)
    • Example: { "tool-name": "get_company", "Tool_Parameters": { "id": "12345" } }
    • Returns: JSON response with complete company record
  7. search_companies

    • Search for companies in the Cortellis database
    • Optional Inputs:
      • query (string) - Raw search query
      • company_name (string) - Company name to search for
      • hq_country (string) - Company headquarters country
      • deals_count (string) - Count for all distinct deals where company is principal/partner
        • Format: '<20' for less than 20 deals
        • Format: '20' or '>20' for greater than 20 deals (default behavior)
      • indications (string) - Top 10 indication terms
      • actions (string) - Top 10 target-based action terms
      • technologies (string) - Top 10 technologies terms
      • company_size (string) - The size of a company based on market capitalization in billions USD
        • Format: '<2' for less than $2B
        • Format: '2' or '>2' for greater than $2B (default behavior)
      • status (string) - Highest status of linked drugs
      • offset (number) - For pagination
    • Returns: JSON response with company information
  8. search_deals

    • Search for deals in the Cortellis database
    • Optional Inputs:
      • query (string) - Raw search query (if you want to use the full Cortellis query syntax directly)
      • dealDrugNamesAll (string) - Main name of drug including synonyms associated with the deal
      • indications (string) - Indications associated with the deal
      • dealDrugCompanyPartnerIndications (string) - The indication and the partner company linked to a drug associated with the deal
      • dealPhaseHighestStart (string) - Highest dev. status of the drug at the deal start
      • dealPhaseHighestNow (string) - Current highest dev. status of the drug
      • dealStatus (string) - Status of the deal
      • dealSummary (string) - Summary of the deal
      • dealTitleSummary (string) - Title or summary of the deal
      • technologies (string) - Technology linked to the drug
      • dealTitle (string) - Title of the deal
      • dealType (string) - Type of deal
      • actionsPrimary (string) - Primary mechanism of action associated with the deal
      • sortBy (string) - Sort order for results. Use '+field' for ascending or '-field' for descending. Supported fields: dealDateStart, dealDateEnd, dealDateEventMostRecent, dealTotalPaidSortBy, dealTotalProjectedCurrentSortBy, dealValuePaidToPrincipalMaxSortBy, dealValueProjectedToPrincipalMaxSortBy. Example: '+dealDateStart' for oldest first, '-dealDateStart' for newest first. Useful for queries like 'last 10 deals for a company'.
      • offset (number) - For pagination
    • Returns: JSON response with deal information

Features

  • Direct access to Cortellis drug and deal database
  • Comprehensive drug and deal development status search
  • Ontology/taxonomy term exploration
  • Detailed drug and deal information retrieval
  • SWOT analysis for drugs
  • Financial data and forecasts
  • Structured JSON responses
  • Pagination support for large result sets

HTTP API Endpoints

When running in HTTP mode (USE_HTTP=true), the following REST endpoints are available:

  1. POST /search_drugs

    • Search for drugs with optional filters
    • Body: JSON object with search parameters (see search_drugs tool inputs)
  2. POST /explore_ontology

    • Search taxonomy terms
    • Body: JSON object with search parameters (see explore_ontology tool inputs)
  3. GET /drug/:id

    • Get complete drug record by ID
    • Parameters:
      • id: Drug identifier
  4. GET /drug/:id/swot

    • Get SWOT analysis for a drug
    • Parameters:
      • id: Drug identifier
  5. GET /drug/:id/financial

    • Get financial data and forecasts for a drug
    • Parameters:
      • id: Drug identifier
  6. GET /company/:id

    • Get complete company record by ID
    • Parameters:
      • id: Company identifier
  7. POST /search_companies

    • Search for companies with optional filters
    • Body: JSON object with search parameters (see search_companies tool inputs)
  8. POST /search_deals

    • Search for deals with optional filters
    • Body: JSON object with search parameters (see search_deals tool inputs)

Setup

Environment Variables

The server requires Cortellis API credentials:

CORTELLIS_USERNAME=your_username
CORTELLIS_PASSWORD=your_password

Installing on Claude Desktop

Before starting make sure Node.js is installed on your desktop for npx to work.

  1. Go to: Settings > Developer > Edit Config

  2. Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "cortellis": {
      "command": "npx",
      "args": [
        "-y",
        "@uh-joan/cortellis-mcp-server"
      ],
      "env": {
        "CORTELLIS_USERNAME": "your_username",
        "CORTELLIS_PASSWORD": "your_password"
      }
    }
  }
}
  1. Restart Claude Desktop and start exploring drug development data!

Build (for devs)

git clone https://github.com/uh-joan/cortellis-mcp-server.git
cd cortellis-mcp-server
npm install
npm run build

For local development:

# Copy example environment file
cp .env.example .env

# Edit .env with your credentials
vim .env  # or use your preferred editor

# Start the server
npm run start

Docker

docker build -t cortellis-mcp-server .
docker run -i --env-file .env cortellis-mcp-server

License

This MCP server is licensed under the MIT License.

Disclaimer

Cortellis™ is a commercial product and trademark of Clarivate Analytics. This MCP server requires valid Cortellis API credentials to function. To obtain credentials and learn more about Cortellis, please visit Clarivate's Cortellis page.

This project is not affiliated with, endorsed by, or sponsored by Clarivate Analytics. All product names, logos, and brands are property of their respective owners.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.