AVA

v0.1.3
io.github.DoubleCore/mcp-server-ava Checked 1 day ago Published 20 days ago

Load data, inspect schemas, run SQL, analyze datasets, and build charts with AVA via MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ava_load_data Load data into AVA

Load a dataset and return its schema. Replaces the previously loaded dataset. Use inline CSV or JSON for small pasted data, or a file path for larger local files.

ParameterTypeDescription
source *

ava_schema Inspect the loaded dataset

Return table names, columns, and types for the loaded dataset.

ava_profile Profile the loaded dataset

Compute column statistics (row count, nulls, distinct, min, max, mean, median) for the dataset.

ParameterTypeDescription
metricsarrayStatistics to compute. Omit for AVA defaults.

ava_query Run SQL against the dataset

Execute one read-only SELECT statement with DuckDB semantics. Aggregate, filter, and sort in SQL so the result stays small.

ParameterTypeDescription
sql *stringA single SELECT statement, using table names from ava_schema.

ava_analyze Answer a question in natural language

Ask a question about the loaded dataset. AVA writes and executes the SQL, then summarizes the result. Requires OPENAI_API_KEY (and optionally OPENAI_MODEL / OPENAI_BASE_URL) in the server environment.

ParameterTypeDescription
question *stringThe question to answer from the data.
includeSummarybooleanWhether to write a prose answer. Defaults to true.

ava_translate Translate a question to SQL

Translate a question into SQL without running it, so a human can review the statement first.

ParameterTypeDescription
question *string

ava_suggest Suggest questions about the data

Suggest questions worth asking about the loaded dataset. Requires a model configuration.

ParameterTypeDescription
countinteger

ava_visualize Build a chart for a result

Recommend a chart for rows from ava_query or ava_analyze. Returns a GPT-Vis config, which AVA renders to standalone HTML with the `viz --spec` CLI command.

ParameterTypeDescription
data *arrayRows from a previous tool call.
question *stringThe question the rows answer.