mcp-tabular
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-tabularload sales.csv and show total revenue by region"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-tabular
An MCP server that gives any LLM agent SQL over CSV and Excel files. DuckDB-powered, read-only, zero configuration.
Why
Embedding spreadsheets into a vector store gives agents mushy answers; tables chunk badly. The pattern that works in production is SQL-over-file: load the table into an analytical engine and let the agent query it. mcp-tabular packages that pattern as a standard MCP server, so it works with Claude Desktop, Claude Code, or any MCP client.
Agent ──MCP──▶ mcp-tabular ──▶ DuckDB (in-memory, read-only)
tools: load_file · list_tables · describe_table · query · sample_rowsRelated MCP server: mcp-csv-database
Install & run
pip install -e .
mcp-tabular # stdio transportClaude Desktop config:
{
"mcpServers": {
"tabular": { "command": "mcp-tabular" }
}
}Tools
Tool | Description |
| Load a CSV/XLSX file into an in-memory table. Returns schema + row count. |
| Tables currently loaded. |
| Columns, types, null counts, min/max — enough for the agent to write correct SQL. |
| Read-only SELECT. Results capped and returned as markdown. |
| Quick peek at representative rows. |
Safety
Read-only: statements other than
SELECT/WITHare rejected before execution.Path allow-listing: set
MCP_TABULAR_ROOTto restrict which directory files may be loaded from.Bounded output: result sets are truncated (default 200 rows) so a bad query can't blow up the agent's context window.
Example session
> load_file("sales_q3.csv")
loaded table 'sales_q3' (8,412 rows). Columns: region VARCHAR, sku VARCHAR, units BIGINT, revenue DOUBLE
> query("SELECT region, SUM(revenue) r FROM sales_q3 GROUP BY 1 ORDER BY r DESC LIMIT 3")
| region | r |
|--------|----------|
| South | 412,050 |
| West | 371,200 |
| East | 298,700 |Design notes
Built after shipping enterprise agents where tabular Q&A over uploaded files was the highest-volume use case. Schema + sample injection (via describe_table/sample_rows) is what makes agents write correct SQL on the first try.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ayushsri/mcp-tabular'
If you have feedback or need assistance with the MCP directory API, please join our Discord server