Skip to content
MCP server

Alephant MCP

Alephant MCP server for AI cost control, BYO-key routing, 50+ providers, and 320+ models.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.3
Listing updated
5 days ago

About Alephant MCP

Alephant MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add alephant-mcp --env ALEPHANT_API_BASE_URL='<ALEPHANT_API_BASE_URL>' --env ALEPHANT_VIRTUAL_KEY='<ALEPHANT_VIRTUAL_KEY>' --env ALEPHANT_PAT='<ALEPHANT_PAT>' -- npx -y @alephantai/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "alephant-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "<ALEPHANT_API_BASE_URL>",
        "ALEPHANT_VIRTUAL_KEY": "<ALEPHANT_VIRTUAL_KEY>",
        "ALEPHANT_PAT": "<ALEPHANT_PAT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "alephant-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "<ALEPHANT_API_BASE_URL>",
        "ALEPHANT_VIRTUAL_KEY": "<ALEPHANT_VIRTUAL_KEY>",
        "ALEPHANT_PAT": "<ALEPHANT_PAT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "alephant-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "<ALEPHANT_API_BASE_URL>",
        "ALEPHANT_VIRTUAL_KEY": "<ALEPHANT_VIRTUAL_KEY>",
        "ALEPHANT_PAT": "<ALEPHANT_PAT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "alephant-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "<ALEPHANT_API_BASE_URL>",
        "ALEPHANT_VIRTUAL_KEY": "<ALEPHANT_VIRTUAL_KEY>",
        "ALEPHANT_PAT": "<ALEPHANT_PAT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "alephant-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "<ALEPHANT_API_BASE_URL>",
        "ALEPHANT_VIRTUAL_KEY": "<ALEPHANT_VIRTUAL_KEY>",
        "ALEPHANT_PAT": "<ALEPHANT_PAT>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ALEPHANT_API_BASE_URLAlephant SaaS API base URL, for example https://alephant.io.Required
  • ALEPHANT_VIRTUAL_KEYVirtual Key for read-only, cockpit-scoped VK mode. Use this mode for developer-level cost and usage visibility.
  • ALEPHANT_PATPersonal Access Token for Manager mode. When set, Manager mode takes precedence over ALEPHANT_VIRTUAL_KEY.
  • ALEPHANT_WORKSPACE_IDWorkspace UUID required with ALEPHANT_PAT for Manager mode.
  • ALEPHANT_RATE_LIMIT_RPMOptional local HTTP tool-call limit per minute. Defaults to 60; set 0 to disable local throttling.

Pricing

Open source

Alephant MCP FAQ

Is Alephant MCP free?

Yes. Alephant MCP is open source, so you can use and self-host it for free.

How do I add Alephant MCP to Claude Code?

Run this command in your terminal: claude mcp add alephant-mcp --env ALEPHANT_API_BASE_URL='<ALEPHANT_API_BASE_URL>' --env ALEPHANT_VIRTUAL_KEY='<ALEPHANT_VIRTUAL_KEY>' --env ALEPHANT_PAT='<ALEPHANT_PAT>' -- npx -y @alephantai/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers