Wandb
FreeNot checkedEnables LLM agents to query Weights & Biases experiments, including listing projects, runs, metrics, plotting metrics, and retrieving run details.
About
Enables LLM agents to query Weights & Biases experiments, including listing projects, runs, metrics, plotting metrics, and retrieving run details.
README
mcp-wandb
🔬 Query your Weights & Biases experiments directly from LLM agents via Model Context Protocol 📊
mcp-wandb is a small Model Context Protocol server for querying Weights & Biases from MCP-compatible clients. It exposes W&B projects, runs, metrics, run details, and metric plots as FastMCP tools over stdio.
Use it when you want an agent to inspect experiment data without switching to the W&B dashboard or hand-copying run metadata.
Install
git clone https://github.com/tsilva/mcp-wandb.git
cd mcp-wandb
uv sync
export WANDB_API_KEY=your_api_key
python server.py
Configure your MCP client to run the repo's server.py file, then restart the client.
{
"mcpServers": {
"wandb": {
"command": "python",
"args": ["/path/to/mcp-wandb/server.py"],
"env": {
"WANDB_API_KEY": "your_api_key"
}
}
}
}
Commands
uv sync # install dependencies into the local uv environment
python server.py # run the MCP server over stdio
pytest tests/ # run tests; W&B credentials are required for live API checks
Tools
get_wandb_projects(entity)lists projects for a W&B entity.list_wandb_runs(entity, project_name)lists run names, IDs, and states.list_project_metrics(entity, project_name)returns metric names found across runs.plot_run_metric(entity, project_name, run_id, metric_names)returns a PNG metric plot as a FastMCP image.get_run_details(entity, project_name, run_id)returns overview, config, summary, and system metadata.
Notes
- Python 3.13 or newer is required.
WANDB_API_KEYmust be set in the environment, or in a.envfile loaded bypython-dotenv.- The server uses
wandb.Apidirectly and does not keep a local database. - Tests call the real W&B API and skip when required credentials or test project variables are missing.
- Live test variables are
TEST_WANDB_ENTITY,TEST_WANDB_PROJECT,TEST_WANDB_RUN_ID, andTEST_WANDB_METRICS.
Architecture

License
Installing Wandb
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/tsilva/mcp-wandbFAQ
Is Wandb MCP free?
Yes, Wandb MCP is free — one-click install via Unyly at no cost.
Does Wandb need an API key?
No, Wandb runs without API keys or environment variables.
Is Wandb hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Wandb in Claude Desktop, Claude Code or Cursor?
Open Wandb on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Wandb with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
