# AVA

> AVA is an open-source MCP server for analytics and data. Load a dataset, run read-only SQL, profile it and get chart specs through AVA. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/doublecore/mcp-server-ava
- **MCP Registry name:** io.github.DoubleCore/mcp-server-ava
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

This server wraps AntV's AVA so an MCP client can work with one dataset. The README splits the work: AVA handles data access, SQL execution and chart specs, while your client's own agent does the reasoning. The deterministic tools need no AVA CLI or extra API key.

Load CSV, JSON or text inline, or a .csv, .json, .parquet or .xlsx file path, then look at its schema and per-column profile with row counts, nulls, distinct values and min, max, mean and median. Queries are single read-only statements using DuckDB semantics; writes, DDL and multi-statement scripts are rejected, and results are capped at 200 rows by default with truncation flagged.

Four tools call a model through any OpenAI-compatible endpoint: answering a question by writing and running SQL, translating a question to SQL for review, suggesting questions, and recommending a chart as GPT-Vis JSON. That output is a spec, not HTML, which you render with the AVA CLI. One dataset per server process; loading again replaces it. Needs Node.js 22.13 or later.

## Features

- **Multi-format loading:** Load inline CSV, JSON or text, or CSV, JSON, Parquet and Excel files.
- **Column profiling:** Row count, nulls, distinct values and min, max, mean and median per column.
- **Read-only SQL:** One DuckDB-style statement at a time with writes and DDL rejected.
- **Question to SQL:** Translate a question into SQL for human review without running it.
- **Chart recommendations:** Returns a GPT-Vis JSON chart spec for rows from an earlier call.
- **Any OpenAI-compatible model:** Point OPENAI_BASE_URL at Azure, OpenRouter, vLLM or a gateway.

## Good for

- Ask which region sells the most in a sales CSV and chart it
- Profile a new spreadsheet before analysis
- Have SQL generated for review rather than executed
- Get suggested questions for an unfamiliar dataset
- Query a Parquet file from a chat

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-server-ava -- npx -y mcp-server-ava
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-server-ava": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-ava"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-server-ava -- npx -y mcp-server-ava
```

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user mcp-server-ava npx -- -y mcp-server-ava

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-server-ava": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-ava"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 2 of 8 tools read data; 6 names don't say. From the server's own tool labels and tool names; not verified by us.

- `ava_load_data`: Loads inline data or a file and returns the schema.
- `ava_schema`: Lists table names, columns and types.
- `ava_profile`: Row count, nulls, distinct and summary statistics per column.
- `ava_query` (name suggests: reads): Runs one read-only SQL statement.
- `ava_analyze` (name suggests: reads): Answers a question by writing and running SQL.
- `ava_translate`: Turns a question into SQL without running it.
- `ava_suggest`: Suggests questions about the loaded dataset.
- `ava_visualize`: Recommends a chart as GPT-Vis JSON.

## FAQ

### Do I need an API key?

Only for the four model-backed tools; loading, schema, profile and query work without one.

### Can AVA modify my data?

No. SQL is read-only and writes are rejected.

### How many rows come back?

200 by default, set with AVA_MCP_MAX_ROWS, with truncated: true when cut.

### How do I render a chart?

Save the returned spec and run the AVA CLI viz command.

### Is AVA free?

Yes. AVA is open source, so you can use and self-host it for free.

### How do I add AVA to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-ava -- npx -y mcp-server-ava

### What are the best alternatives to AVA?

The closest alternatives to AVA are Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP and Pitot.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [Datatomcp](https://ai-powered.com/mcp/datatomcp-2): Datatomcp is a freemium MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/ava-2
