Skip to main content
mcpSource-backedReview first Safety Privacy

Weights & Biases MCP Server for Claude

Connect Claude to Weights & Biases — query runs, metrics, and experiments, analyze Weave traces, inspect registries and artifacts, and create reports — with the official W&B MCP server.

HarnessClaude CodeCodexCursorClaude Desktop
Review first review before installing

Open the source and read safety notes before installing.

Safety notes

  • Tools read your W&B runs, traces, and artifacts and can create reports; scope the API key to the projects Claude should access.
  • Logging analysis back to W&B writes to your workspace — review before running it through Claude.

Privacy notes

  • Run metrics, experiment configs, Weave traces, and artifact metadata enter the MCP client context and the model's prompt.
  • The WANDB_API_KEY is a secret — keep it in the client config or environment, never in shared repositories.

Prerequisites

  • A Weights & Biases account and API key (WANDB_API_KEY).
  • For the local server: uv (uvx). For the hosted server: no install, use https://mcp.withwandb.com/mcp.
  • An MCP client such as Claude Code or Claude Desktop.

Schema details

Install type
cli
Troubleshooting
No
Source repository stats
Scope
Source repo
Collection metadata
Estimated setup
5 minutes
Difficulty
intermediate
Tool listing metadata
Full copyable content
{
  "mcpServers": {
    "wandb": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/wandb/wandb-mcp-server", "wandb_mcp_server"],
      "env": {
        "WANDB_API_KEY": "<your-api-key>"
      }
    }
  }
}

About this resource

Overview

The Weights & Biases MCP Server is the official Model Context Protocol server for W&B. It lets Claude query and analyze your machine-learning data in natural language — runs, metrics, and experiments; Weave LLM traces; registries and artifacts; and W&B documentation. Use the hosted endpoint (https://mcp.withwandb.com/mcp) or run it locally via uvx. It supports stdio and HTTP transports and is licensed under MIT.

Key capabilities

The server exposes 16 tools across the W&B platform:

Area What Claude can do
Runs & experiments Query runs, metrics, and experiment configs; compare results
Weave Analyze LLM/agent traces captured with Weave
Registry & artifacts List registries and artifacts; compare artifact versions
Reports & docs Create W&B reports; search the W&B documentation
Automations List automations and integrations; log analysis back to W&B

Installation

Claude Code (hosted)

claude mcp add --transport http wandb https://mcp.withwandb.com/mcp \
  --header "Authorization: Bearer <your-api-key>"

Claude Desktop (local)

{
  "mcpServers": {
    "wandb": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/wandb/wandb-mcp-server", "wandb_mcp_server"],
      "env": {
        "WANDB_API_KEY": "<your-api-key>"
      }
    }
  }
}

Requirements

  • A Weights & Biases account and API key.
  • uv (uvx) for the local server, or use the hosted endpoint.
  • An MCP client (Claude Code or Claude Desktop).

Security

  • Scope the WANDB_API_KEY to the projects Claude should access.
  • The report-creation and log-analysis tools write to your W&B workspace — review before running.
  • Treat the API key as a secret.

Source Verification Notes

Verified on 2026-06-17:

  • The official repository github.com/wandb/wandb-mcp-server (MIT) documents the hosted mcp.withwandb.com/mcp endpoint, the local uvx install, the WANDB_API_KEY requirement, stdio and HTTP transports, and the 16 tools summarized above.
  • W&B's and Weave's documentation describe the underlying runs, artifacts, and trace features.
  • Claude Code's MCP documentation describes the connector setup pattern used here.

Source citations

Add this badge to your README

Show that Weights & Biases MCP Server for Claude is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/mcp/wandb-mcp-server.svg)](https://heyclau.de/entry/mcp/wandb-mcp-server)

How it compares

Weights & Biases MCP Server for Claude side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

FieldWeights & Biases MCP Server for Claude

Connect Claude to Weights & Biases — query runs, metrics, and experiments, analyze Weave traces, inspect registries and artifacts, and create reports — with the official W&B MCP server.

Open dossier
Elasticsearch MCP Server for Claude

Connect Claude to your Elasticsearch cluster — search indices, inspect mappings, run ES|QL, and check shard health — with Elastic's official Model Context Protocol server.

Open dossier
MotherDuck MCP Server for Claude

Connect Claude to MotherDuck and DuckDB — run SQL queries and explore databases, tables, and columns — with the official MotherDuck Model Context Protocol server.

Open dossier
HashiCorp Vault MCP Server for Claude

Connect Claude to HashiCorp Vault — manage secrets engines, read and write KV secrets, and operate the PKI engine — with HashiCorp's official Model Context Protocol server.

Open dossier
Trust
Install riskReview firstReview firstReview firstReview first
Notes Safety Privacy Safety Privacy Safety Privacy Safety Privacy
Categorymcpmcpmcpmcp
Sourcesource-backedsource-backedsource-backedsource-backed
AuthorWeights & BiasesElasticMotherDuckHashiCorp
Added2026-06-172026-06-172026-06-172026-06-17
Platforms
Claude CodeCodexCursorClaude Desktop
Claude CodeClaude Desktop
Claude CodeClaude Desktop
Claude CodeClaude Desktop
Source repo
Safety notesTools read your W&B runs, traces, and artifacts and can create reports; scope the API key to the projects Claude should access. Logging analysis back to W&B writes to your workspace — review before running it through Claude.Search, ES|QL, and shard tools run live read queries against the configured cluster; a broad or expensive query can add load. Scope the Elasticsearch API key to least privilege (read-only on the indices Claude should see) before connecting.The server is read-only by default; --read-write enables writes, and --allow-switch-databases enables switching — enable only when needed. execute_query runs arbitrary SQL against the connected database; scope the token and database accordingly.Tools create and delete secrets engines and write/delete secrets and PKI material — scope the Vault token policy to least privilege. Mount and PKI operations change live Vault configuration; review before running them through Claude.
Privacy notesRun metrics, experiment configs, Weave traces, and artifact metadata enter the MCP client context and the model's prompt. The WANDB_API_KEY is a secret — keep it in the client config or environment, never in shared repositories.Index data, field mappings, and query results enter the MCP client context and the model's prompt. ES_URL and ES_API_KEY are secrets — store them in the client config or environment, never in shared repositories.Query results and schema metadata enter the MCP client context and the model's prompt. The motherduck_token is a secret — keep it in the client config or environment, never in shared repositories.Secret values read through the server enter the MCP client context and the model's prompt — only read what is necessary. VAULT_ADDR and VAULT_TOKEN are secrets — keep them in the client config or environment, never in shared repositories.
Prerequisites
  • A Weights & Biases account and API key (WANDB_API_KEY).
  • For the local server: uv (uvx). For the hosted server: no install, use https://mcp.withwandb.com/mcp.
  • An MCP client such as Claude Code or Claude Desktop.
  • Docker installed (the server is distributed as the docker.elastic.co/mcp/elasticsearch image).
  • An Elasticsearch cluster URL (ES_URL) you can reach.
  • An Elasticsearch API key (ES_API_KEY) or username/password (ES_USERNAME + ES_PASSWORD).
  • An MCP client such as Claude Code or Claude Desktop.
  • A MotherDuck account and token (motherduck_token) for cloud databases, or a local DuckDB file / :memory:.
  • uv (uvx) to run mcp-server-motherduck.
  • An MCP client such as Claude Code or Claude Desktop.
  • A reachable HashiCorp Vault server address (VAULT_ADDR).
  • A Vault token (VAULT_TOKEN) whose policy grants only the paths Claude should access.
  • Docker (the server is distributed as the hashicorp/vault-mcp-server image), or build the binary.
  • An MCP client such as Claude Code or Claude Desktop.
Install
claude mcp add --transport http wandb https://mcp.withwandb.com/mcp --header "Authorization: Bearer <your-api-key>"
claude mcp add elasticsearch -- docker run -i --rm -e ES_URL=<your-cluster-url> -e ES_API_KEY=<your-api-key> docker.elastic.co/mcp/elasticsearch stdio
claude mcp add motherduck -e motherduck_token=<your-token> -- uvx mcp-server-motherduck --db-path md:
claude mcp add vault -e VAULT_ADDR=<your-vault-addr> -e VAULT_TOKEN=<your-token> -- docker run -i --rm -e VAULT_ADDR -e VAULT_TOKEN hashicorp/vault-mcp-server
Config
{
  "mcpServers": {
    "wandb": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/wandb/wandb-mcp-server", "wandb_mcp_server"],
      "env": {
        "WANDB_API_KEY": "<your-api-key>"
      }
    }
  }
}
{
  "mcpServers": {
    "elasticsearch-mcp-server": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "ES_URL", "-e", "ES_API_KEY",
        "docker.elastic.co/mcp/elasticsearch", "stdio"
      ],
      "env": {
        "ES_URL": "<elasticsearch-cluster-url>",
        "ES_API_KEY": "<elasticsearch-api-key>"
      }
    }
  }
}
{
  "mcpServers": {
    "motherduck": {
      "command": "uvx",
      "args": ["mcp-server-motherduck", "--db-path", "md:"],
      "env": {
        "motherduck_token": "<your-token>"
      }
    }
  }
}
{
  "mcpServers": {
    "vault-mcp-server": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "VAULT_ADDR", "-e", "VAULT_TOKEN", "-e", "VAULT_NAMESPACE",
        "hashicorp/vault-mcp-server"
      ],
      "env": {
        "VAULT_ADDR": "<your-vault-addr>",
        "VAULT_TOKEN": "<your-token>"
      }
    }
  }
}
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.