# Xplainable MCP server

> Lets an AI agent train, deploy, optimize, and explain transparent machine-learning models via the Xplainable platform.

- Repository: https://github.com/xplainable/xplainable-mcp-server
- Page: https://hostedmcp.org/servers/xplainable/xplainable-mcp-server
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http xplainable-mcp-server https://mcp.xplainable.io/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "xplainable-mcp-server": {
      "url": "https://mcp.xplainable.io/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "xplainable-mcp-server": {
      "type": "http",
      "url": "https://mcp.xplainable.io/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"xplainable-mcp-server","type":"http","url":"https://mcp.xplainable.io/mcp"}'
```

### Codex

```sh
codex mcp add xplainable-mcp-server --url https://mcp.xplainable.io/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.xplainable-mcp-server]
url = "https://mcp.xplainable.io/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http xplainable-mcp-server https://mcp.xplainable.io/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "xplainable-mcp-server": {
      "url": "https://mcp.xplainable.io/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `XPLAINABLE_API_KEY` | no | no |  |

## FAQ

### Where does the model training actually happen?

Training is performed server-side on the Xplainable platform, meaning the MCP host does not fit the model locally.

### How can I use the server locally?

You can run the server locally via stdio using an Xplainable API key.

### Can I connect to the hosted version?

Yes, you can connect your MCP client to the hosted service using OAuth login without needing to install anything.
