MCP Directory

How to add MCP Server for Data Exploration to Cursor

Your personal data scientist assistant — explore CSV datasets with Claude through autonomous Python analysis. Paste the config into ~/.cursor/mcp.json and restart Cursor.

Last updated June 14, 2026 · 543 · stdio · no auth

Cursor config for MCP Server for Data Exploration

uvx mcp-server-ds
{
  "mcpServers": {
    "mcp-server-for-data-exploration": {
      "command": "uvx",
      "args": [
        "mcp-server-ds"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Setup steps

  1. 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
  2. 2Paste the MCP Server for Data Exploration config below into the "mcpServers" object.
  3. 3Fill in placeholder secrets, then save.
  4. 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
  5. 5Ask Cursor to use one of MCP Server for Data Exploration's tools to confirm it's connected.

Before you start

  • Claude Desktop (or another MCP client)
  • uv / uvx (Python package runner) installed
  • Python environment for running analysis scripts

What MCP Server for Data Exploration can do in Cursor

load-csv

Loads a CSV file into a DataFrame. Arguments: csv_path (string, required) — path to the CSV file; df_name (string, optional) — name for the DataFrame, defaults to df_1, df_2, etc.

run-script

Executes a Python script. Arguments: script (string, required) — the script to execute.

Security

The run-script tool executes arbitrary Python code on the host machine, and load-csv reads files from the local filesystem. Only run this server against data and scripts you trust, since the model can execute any Python it generates.

MCP Server for Data Exploration + Cursor FAQ

Where is the Cursor config file?

Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the MCP Server for Data Exploration config there under the "mcpServers" key and restart the client.

Is MCP Server for Data Exploration safe to use with Cursor?

The run-script tool executes arbitrary Python code on the host machine, and load-csv reads files from the local filesystem. Only run this server against data and scripts you trust, since the model can execute any Python it generates.

How do I start exploring a dataset?

In Claude Desktop, select the explore-data prompt template from MCP, then provide the required inputs: csv_path (local path to the CSV file) and topic (the subject of exploration, e.g. "Weather patterns in New York").

How do I install it?

On macOS you can run `python setup.py` in the repo, or add the server to your Claude Desktop config. For the published package use command `uvx` with args `mcp-server-ds`; for local development use `uv` with `--directory` pointing at your checkout.

Is it safe to run?

The run-script tool executes arbitrary Python on your machine, so only use it with datasets and analyses you trust.

View repo Full MCP Server for Data Exploration page