mcp-wandb
Allows querying Weights & Biases experiments, including listing projects, runs, metrics, retrieving run details, and plotting metrics as images.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-wandblist runs in my wandb project 'mcp-demo'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔬 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.pyConfigure 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"
}
}
}
}Related MCP server: ActivityWatch MCP Server
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 checksTools
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables AI assistants to interact with MLflow experiments, runs, and registered models. Supports browsing experiments, retrieving run details with metrics and parameters, and querying the model registry through natural language.Last updated7MIT
- Alicense-qualityBmaintenanceEnables LLM agents to query and analyze ActivityWatch time tracking data, including window activity, web browsing, and category management with natural language time periods and automatic data aggregation.Last updated11GPL 3.0
- AlicenseAqualityBmaintenanceEnables coding agents to interact with Metaflow workflows, including querying flows, runs, tasks, logs, and artifacts across any Metaflow backend.Last updated24Apache 2.0
- Alicense-qualityDmaintenanceEnables querying W\&B Weave traces and creating W\&B Reports with text and visualizations through natural language.Last updatedApache 2.0
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Give your agent web search and authoritative datasets: S&P Global, FRED, OECD, SimilarWeb & more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsilva/mcp-wandb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server