MCP.Market

csvql MCP server

by melihbirim·io.github.melihbirim/csvql·v3.0.1·29 stars

Read-only SQL on CSV files for AI agents. No writes, no network; --root confines file access.

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

not scanned yet

Adoption
Growing

29 stars

Reviews

Write one

Nobody has reviewed csvql yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

csvql tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How csvql compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 75% of 802 Databases servers
GitHub stars
29
more than 86% of 602 Databases servers

Release history: 4 versions in the registry since 2026-09-14, latest 2026-11-01, typically one every 23 days.

Install csvql in Claude Code, Cursor or VS Code

The registry entry has no remote endpoint or installable package.

What the publisher says

From the csvql repository's README, as published. We do not edit it. Read it on GitHub

The analytical CSV query engine for AI agents.

Run SQL analytics — GROUP BY, aggregates, joins, time-series — on CSV files in place: no database, no import, no ingest. csvql ships as an MCP server, so an LLM can query a gigabyte file for a few hundred tokens instead of pasting it (impossible) into context. A single static binary written in Zig. Your data never leaves your machine.

A database is something you load your data into. csvql is a query you run on the data where it already lives.

Read-only and on-prem by design. csvql only runs SELECT — it has no INSERT/UPDATE/DELETE/DROP and physically cannot modify your data. It makes zero network calls, needs no cloud, and runs fully air-gapped. Our next north star: the safe way to give AI agents query access to corporate data — run csvql next to the data on your own servers (read-only, nothing leaves the box) instead of shipping files out to an LLM.

Token economics: query files instead of pasting them

Pasting a 417 MB CSV into an LLM costs 230 million tokens — it fits no context window. Over MCP, the agent queries the file in place and gets back only the answer:

Same answers, ~1,000–500,000× fewer tokens — flat, regardless of file size. One command wires it into Claude: csvql install. Measure it yourself: bench/bench_tokens.py.

$ csvql "SELECT cab_type, COUNT(*) FROM 'trips.csv' GROUP BY cab_type"
cab_type,COUNT(*)
green,32447
yellow,967553
  0.05s — no import, queried straight off the file

Website · Quick Start · Installation · Performance · SQL Reference · Docs

Quick Start

csvql auto-detects SQL or simple mode from your input:

# SQL mode
csvql "SELECT name, salary FROM 'data.csv' WHERE age > 30 ORDER BY salary DESC LIMIT 10"

# Simple mode — same query, shorter syntax
csvql data.csv "name,salary" "age>30" 10 "salary:desc"

# Just browse a file
csvql data.csv

Unix Pipes

cat data.csv | csvql "SELECT name, age FROM '-' WHERE age > 25"
csvql "SELECT * FROM 'data.csv' WHERE status = 'active'" > output.csv
csvql "SELECT email FROM 'users.csv'" | wc -l

Flags

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

csvql: common questions

Is csvql MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the csvql safety report
Does csvql need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is csvql maintained?
The last commit was 32 days ago (2026-10-03). The latest release is v3.0.1.
What can I use instead of csvql?
Servers from other publishers that do the same job: Magic Cloud MCP server, AnythingMCP MCP server and DexSQL MCP server. Compare all csvql alternatives.
How does csvql compare with other Databases MCP servers?
safety score 88/100 (higher than 75% of 802 Databases servers); github stars 29 (more than 86% of 602 Databases servers). Full comparison.

Alternatives to csvql

Same job from other publishers: the closest match first, then the best rated.

All csvql alternatives →
  • Magic Cloud
    Generate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browser
    A
  • AnythingMCP
    MCP gateway and company brain: 694 connectors (SAP, ERP, SQL), file search, memory and skills.
    B
  • DexSQL
    SQL for Android APK and DEX files: classes, methods, strings, references and smali.
    A
  • Showboard
    Your coding agent answers with dashboards: charts and tables from read-only SQL, Excel and CSV.
    B
  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A