# csvto MCP server

> Converts local CSV, JSON, and Excel files directly on your machine without uploading data or passing contents through the AI model's context.

- Repository: https://github.com/Bishop81/csvto
- Page: https://hostedmcp.org/servers/bishop81/csvto
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.1.2

## Install

### Claude Code

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

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

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

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

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

### VS Code CLI

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

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

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

### Codex

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

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

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

### Gemini CLI

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

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

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

## FAQ

### Is my data uploaded to a server?

No, the conversion happens locally where your data is located, and file contents never enter the model's context.

### How does the server handle data types like leading zeros or long account numbers?

The engine infers types per column; a column only converts to numbers if every value survives the round trip exactly, preserving leading zeros and long numbers.

### What are the system requirements to run this server?

You need Node.js version 18 or higher to use the MCP server.
