phoenix-mcp-eval
MCP server for Arize Phoenix enabling AI agents to perform LLM tracing, evaluation, and dataset management for automated quality assurance.
README
phoenix-mcp-eval
MCP server for Arize Phoenix — LLM tracing, evaluation, and dataset management via AI agents.
What is this?
phoenix-mcp-eval is an MCP (Model Context Protocol) server that exposes Arize Phoenix's LLM observability capabilities to AI agents. It enables AI-driven analysis of traces, evaluation of LLM outputs, and management of evaluation datasets — directly from an MCP-compatible agent.
Built for platform engineers and ML teams running LLM pipelines on AI Foundry, LangChain, or LlamaIndex who need automated quality assurance and tracing.
Available Tools
| Tool | Description |
|---|---|
list_projects |
List all Phoenix tracing projects |
get_traces |
Retrieve LLM traces for a project with filters |
get_spans |
Get individual spans with input/output/latency data |
list_datasets |
List evaluation datasets in Phoenix |
get_dataset |
Fetch dataset examples for review or comparison |
list_evaluations |
List evaluation runs and their scores |
get_evaluation_summary |
Get aggregated evaluation metrics (precision, recall, etc.) |
query_traces |
Run structured queries over trace data |
Quick Start
Prerequisites
- Python 3.11+
- Arize Phoenix instance (self-hosted or cloud)
- Phoenix API key or local server URL
Installation
git clone https://github.com/akkireddy-challa/phoenix-mcp-eval
cd phoenix-mcp-eval
pip install -r requirements.txt
Configuration
export PHOENIX_HOST=http://localhost:6006
export PHOENIX_API_KEY=<your-api-key> # if using cloud
Run
python server.py
MCP Client Config (Claude Desktop)
{
"mcpServers": {
"phoenix": {
"command": "python",
"args": ["/path/to/phoenix-mcp-eval/server.py"],
"env": {
"PHOENIX_HOST": "http://localhost:6006"
}
}
}
}
Security Model
- Connects to Phoenix via API key or local network only
- All operations are read-only by default (trace/eval retrieval)
- No model weights, prompts, or PII are transmitted outside Phoenix
- API key stored in environment variables, never in code
- Designed for internal network use within a Kubernetes cluster
Use Cases at Telia
This pattern is used to allow AI agents to:
- Automatically review LLM trace quality after AI Foundry deployments
- Surface failing evaluation metrics to on-call engineers without manual Phoenix access
- Compare evaluation datasets across model versions
- Trigger re-evaluation jobs based on trace anomaly detection
Roadmap
- [ ]
run_evaluation— trigger evaluation jobs programmatically - [ ]
create_dataset— export traces to evaluation datasets - [ ]
get_prompt_templates— retrieve versioned prompts from Phoenix - [ ] Integration with Azure AI Foundry deployment events
- [ ] GitHub Actions workflow for CI validation
Related Projects
| Repo | Purpose |
|---|---|
| k8s-mcp-server | Kubernetes cluster diagnostics via MCP |
| azure-mcp-platform | Azure resource management via MCP |
| grafana-mcp-observability | Grafana dashboards and alerts via MCP |
License
MIT License. See LICENSE for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.