# codex-data/codex-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Codex-Data/codex-mcp  
**GitHub Stars:** 25  
**npm Downloads (last month):** 118  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/codex-data-codex-mcp

## Description
Codex API integration for real-time enriched blockchain and market data on 60+ networks

## Tools
Capabilities this server exposes over MCP:

- **get_networks** — Get a list of all blockchain networks supported by Codex
- **get_network_status** — Get the status of a specific blockchain network
- **get_network_stats** — Get metadata and statistics for a given network
- **get_token_info** — Get detailed information about a specific token
- **get_tokens** — Get detailed information about multiple tokens
- **get_token_prices** — Get real-time or historical prices for a list of tokens
- **filter_tokens** — Filter tokens by various criteria
- **get_token_holders** — Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token. (Codex Growth and Enterprise Plans only)
- **get_token_balances** — Get token balances for a wallet (Codex Growth and Enterprise Plans only)
- **get_top_10_holders_percent** — Get the percentage of tokens held by top 10 holders
- **get_token_chart_data** — Returns bar chart data to track token price changes over time. Can be queried using either a pair address or token address.
- **get_token_chart_urls** — Chart images for token pairs (Codex Growth and Enterprise Plans only)
- **get_latest_tokens** — Get a list of the latests token contracts deployed (Codex Growth and Enterprise Plans only). Note: This endpoint is only available on Ethereum, Optimum, Base, and Arbitrum networks (network IDs 1, 10, 8453, and 42161).
- **get_token_sparklines** — Get a list of token simple chart data (sparklines) for the given tokens
- **get_token_events** — Get transactions for a token pair
- **get_token_events_for_maker** — Get a list of token events for a given wallet address
- **get_detailed_pair_stats** — Get bucketed stats for a given token within a pair
- **get_detailed_pairs_stats** — Get bucketed stats for a given token within a list of pairs
- **filter_pairs** — Get a list of pairs based on various filters like volume, price, liquidity, etc.
- **get_pair_metadata** — Get metadata for a pair of tokens, including price, volume, and liquidity stats over various timeframes.
- **get_token_pairs** — Get a list of pairs for a token
- **get_token_pairs_with_metadata** — Get pairs with metadata for a specific token
- **get_liquidity_metadata** — Get liquidity metadata for a pair, including both unlocked and locked liquidity data
- **get_liquidity_locks** — Get liquidity locks for a pair, including details about locked amounts, lock duration, and owner information (Codex Growth and Enterprise Plans only)
- **filter_exchanges** — Get a list of exchanges based on various filters like volume, transactions, active users, etc.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "codex-mcp": {
    "command": "npx",
    "args": ["-y","@codex-data/codex-mcp"],
    "env": {
      "CODEX_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `CODEX_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What codex-data/codex-mcp does

The codex-data/codex-mcp MCP server provides access to enriched blockchain data from Codex through the Model Context Protocol. The repository description also identifies real-time market data and coverage across more than 60 networks. It is intended for MCP-compatible clients that need to connect an agent to Codex data.

As a result, the supported scope can be stated at the data-source level: the server connects clients to Codex rather than defining a separate blockchain data store.

## How it works

The server uses the Codex API as its upstream data source. A Codex API key is required and can be obtained from the Codex Dashboard. Once configured, the process communicates through stdio, which allows a CLI tool or another local MCP host to launch and embed it.

You can run the published package with npx, or build and start a local checkout. The repository provides separate commands for a normal local start and development with automatic reload. Claude Desktop can launch either the npx package or the generated local JavaScript entry point.

## Setup and configuration

For a local checkout, clone the repository, install dependencies with pnpm, and build the project:

```bash
git clone https://github.com/codex-data/codex-mcp.git
cd codex-mcp
pnpm install
pnpm build
```

To run without a local installation, use:

```bash
npx @codex-data/codex-mcp
```

A local process can be started with `pnpm start`; `pnpm dev` runs the development mode with auto-reload. Every setup requires `CODEX_API_KEY`. In Claude Desktop, add the server under the Developer settings and pass the key in the server's `env` object. The local configuration points to `build/index.js`, while the package-based configuration uses npx.

Claude CLI users can register the server with `claude mcp add`, supplying `CODEX_API_KEY` and the npx command, then start Claude with the server enabled.

## Limitations and notes

The codex-data/codex-mcp MCP server requires a Codex API key, so it is not a credential-free data source. It also does not provide detailed information about rate limits, response schemas, supported network names, or API billing.

The published setup documentation specifically demonstrates Claude Desktop and Claude CLI. The repository is released under the ISC license.

_Full upstream README: https://allmcps.com/mcp/codex-data-codex-mcp/readme_

