codex-mcp
A Model Context Protocol server for the Codex API
Documentation
Codex MCP Server
An MCP server that provides enriched blockchain data from Codex. This server can be used with any MCP-compatible client like Claude Desktop.
Installation
# Clone the repository
git clone https://github.com/codex-data/codex-mcp.git
cd codex-mcp
# Install dependencies
pnpm install
# Build the project
pnpm buildUsage
To use the MCP Codex Server, you need to have a Codex API key. You can get your key from the Codex Dashboard.
Using npx (No Installation Required)
You can run the MCP Codex Server directly without installation using npx:
# Run the server in stdio mode (for CLI tools)
npx @codex-data/codex-mcpRunning the Server Locally
Start the server using stdio (for embedding in CLI tools):
pnpm startFor development with auto-reload:
pnpm devIntegration with Claude Desktop
1. Open Claude Desktop settings
2. Go to the Developer tab and click "Edit Config"
3. Add a new server configuration:
No installation:
{
"mcpServers": {
"codex-data": {
"command": "npx",
"args": ["-y", "@codex-data/codex-mcp"],
"env": {
"CODEX_API_KEY": ""
}
}
}
}Local installation:
{
"mcpServers": {
"codex-data": {
"command": "node",
"args": ["/path/to/codex-mcp/build/index.js"],
"env": {
"CODEX_API_KEY": ""
}
}
}
}4. Replace `/path/to/codex-mcp` with the actual path to your installation
5. Replace `` with your actual Codex API key
Connecting using Claude CLI
If you're using Claude CLI:
# Add the MCP server
claude mcp add codex-data -e CODEX_API_KEY= npx @codex-data/codex-mcp
# Start Claude with the MCP server enabled
claudeLicense
ISC
Frequently asked questions
What is codex-mcp?
codex-mcp is A Model Context Protocol server for the Codex API
How do I install codex-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is codex-mcp open source?
Yes — it is hosted on GitHub at https://github.com/Codex-Data/codex-mcp and has 19 stars.
Related MCP tools
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP