# MathTalking MCP server

> Lets an AI client compute precise mathematical results, render interactive 2D/3D visualizations, and generate 3D shape nets and slideshows.

- Repository: https://github.com/architectds/mathgraphs-mcp
- Page: https://hostedmcp.org/servers/architectds/mathgraphs-mcp
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add mathgraphs-mcp -- npx -y mathgraphs-mcp
```

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

```json
{
  "mcpServers": {
    "mathgraphs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mathgraphs-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mathgraphs-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mathgraphs-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mathgraphs-mcp","type":"stdio","command":"npx","args":["-y","mathgraphs-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mathgraphs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mathgraphs-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mathgraphs-mcp -- npx -y mathgraphs-mcp
```

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

```toml
[mcp_servers.mathgraphs-mcp]
command = "npx"
args = ["-y", "mathgraphs-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user mathgraphs-mcp npx -- -y mathgraphs-mcp
```

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

```json
{
  "mcpServers": {
    "mathgraphs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mathgraphs-mcp"
      ]
    }
  }
}
```

## Tools (42)

- `function`
- `points`
- `segment`
- `label`
- `triangle`
- `box`
- `circle`
- `viewport`
- `title`
- `summary`
- `gridStyle`
- `output`
- `animations`
- `theme`
- `base_render_id`
- `remove_indices`
- `type`
- `roots`
- `extrema`
- `inflections`
- `intersect`
- `tangent`
- `normal`
- `derivative`
- `integral`
- `area_between`
- `arc_length`
- `closest_point`
- `shape`
- `cube`
- `square_pyramid`
- `triangular_prism`
- `rectangular_prism`
- `mesh`
- `compound`
- `surface`
- `light`
- `particle`
- `water`
- `line3d`
- `label3d`
- `text3d`

## FAQ

### Do I need an account or API key to use this?

No, no account or API key is required to use the server.

### How are mathematical results like roots and extrema calculated?

Results are graph-verified, meaning they are computed from the actual plotted curves rather than being generated by the AI model.

### Can I create 3D scenes with animations and physics?

Yes, the 3D scene builder supports animations like spinning or orbiting, as well as physics parameters like velocity and mass.

### What kind of output formats are supported for graphs?

The server supports interactive URLs, iframe embeds, and SVG vector images.
