alephgrid MCP Server
Read-only MCP access to Alephgrid workbooks: schema cards, reads, SQL, saved queries, receipts.
alephgrid scores 65 (Good), licensed Apache-2.0 and written in Rust. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Databases. GitHub shows 3 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "alephgrid-alephgrid": { "url": "https://{alephgrid_host}/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Open a CSV or Parquet file with tens of millions of rows, then scroll, sort, filter, edit
and add calculated columns in your browser. Next to those big tables, build ordinary sheets
with formatting, charts and Excel formulas such as XLOOKUP and SUMIFS, and point those
formulas straight at the big tables. Everything runs on a DuckDB file on your machine. There
are no seats, tiers or paywalls: export, sign-in, teams and every other feature are free.
npx alephgrid flights.parquet # npm: opens http://127.0.0.1:7878 with the file loaded
uvx alephgrid --demo-rows 10000000 # PyPI: or try it on 10M generated rows
docker run -p 7878:7878 -v alephgrid-data:/data ghcr.io/alephgrid/alephgrid:0.1.0
| Sheets with Excel formulas that read whole tables | Pivots and charts from the Analyze pane, no SQL |
| SQL when you want it, docked under the grid (dark theme) | Imports reviewed column by column before they commit |
| Your own functions in a side panel: code, tests, docs and versions | The hub: every workbook, its size and whether its compute is running |
v0.1.0, the first release, is out (9 November 2026): binaries for Linux and macOS, npm and PyPI packages, and a Docker image. See the release and what is shipped and what is not.
Why Alephgrid
- Big tables stay fast. Opening a workbook reads nothing into memory. The grid asks only for the rows on screen, so scrolling to row 900,000,000 is a range read. Sorts build a permutation, not a copy; calculated columns are computed only for the rows you look at.
- A real spreadsheet next to them. Sheets use Excel syntax and an Excel-compatible engine (IronCalc), with formatting, merged cells, frozen panes, charts, colour rules, comments and XLSX import and export.
- Spreadsheet formulas over big tables.
=XLOOKUP(A2, customers[id], customers[region])and=SUMIFS(orders[amount], orders[region], A2)in a sheet cell run as one query over the whole table, not one lookup per row. See table formulas. - No SQL required, SQL available. Filters, pivots, joins and charts work without writing SQL; the SQL workspace stays closed until you open it, and a server can turn it off.
- Yours to run. One binary with the UI embedded, data in a plain directory, Apache-2.0. Teams get spaces, roles, single sign-on, audit, quotas and backups in the same binary.
- Agents through MCP. Give an AI agent read access to a workbook's tables, sheets and saved queries over the Model Context Protocol, with a receipt for every result.
Features
| Import | CSV/TSV (auto-detected), Parquet, JSON/JSONL, gzip as tables; XLSX as editable sheets. Drag and drop or CLI. Streamed, reviewed in a side pane with column types and samples |
| Tables | Virtual canvas grid for any number of rows; typed edits, insert and delete rows; add, rename and delete columns; calculated columns (=[fare_usd] / [distance_mi]); multi-column sort and filters over the whole table; header value filters with counts; saved views |
| Sheets | Excel formulas, cross-sheet references, named ranges, dynamic arrays, LET / LAMBDA; formula autocomplete and argument help; undo/redo |
| Editing | Keyboard first: arrows, Shift and Mod selection, F2, Mod+A (the filled block, then the sheet), copy, cut, paste with formulas translated, paste special (values, formulas, formats, transpose), fill down and right, and a fill handle that continues series (1, 2 → 3, 4; Week 1 → Week 2) or repeats patterns. See keyboard |
| Formatting and layout | Bold, italic, underline, strikethrough, sizes, colours, borders, alignment, wrap, number formats, merged cells; frozen rows and columns, sizes, hide and unhide (all kept through XLSX); zoom 50–200% |
| Sheet data | Find and replace (one sheet or all), sort and filter a range, colour rules and scales, allowed-value lists, charts (column, bar, line, area, scatter, pie) previewed before they are saved, comments with replies |
| Analysis | Live sum, average and count of the selection; the Analyze pane for summaries, pivots, joins, charts and column profiles without SQL; deduplicate, split, trim and convert types with previews |
| SQL | Schema browser, autocomplete, $parameters, cancellable previews, saved and live queries with versions, tables from queries, complete exports; reads the workbook's own tables only |
| Functions | Define reusable functions as sheet formulas, SQL expressions or sandboxed Python; test them, publish versions, pin and roll back. See functions |
| Export | CSV, Parquet or JSON lines for any table or filtered view; XLSX for sheets, with a report of anything XLSX cannot hold |
| Collaboration | Several people on one workbook see each other's edits live; a change history in which table changes can be taken back |
| Teams | Organizations, spaces, owner/editor/viewer roles (also from identity-provider groups), invitations, service tokens, password or OpenID Connect sign-in, quotas, audit log, backups and an administration screen. See teams |
| Compute | Each open workbook gets its own share of memory and threads, sleeps when idle and wakes when opened; larger sizes (--profile) for heavy workbooks. See compute |
| Agents (MCP) | Read-only agent connections per space or workbook over Streamable HTTP (/mcp) or stdio (alephgrid mcp): schema cards, catalog search, reads, read-only SQL, saved queries and analyses, content-hashed receipts, activity per connection. Tested with MCP Inspector and Claude Code (tested clients) |
The full inventory, including what is partial or not planned, is in docs/SPREADSHEET_FEATURES.md.
Quick start
Install a release
npx alephgrid flights.parquet # npm, or: pnpm dlx / yarn dlx / bunx alephgrid
uvx alephgrid flights.parquet # PyPI, or: pipx install alephgrid / pip install alephgrid
docker run -p 7878:7878 -v alephgrid-data:/data ghcr.io/alephgrid/alephgrid:0.1.0
or download alephgrid-VERSION-TARGET.tar.gz for Linux (x86_64, arm64) or macOS (Apple
silicon, Intel) from GitHub Releases and check it against SHA256SUMS (not yet signed). On
Windows, use Docker or WSL. The npm and PyPI packages hold the same binary (PyPI ships wheels
only; Linux needs glibc 2.31+ and pip 20.3+).
From source
Requires Rust 1.89+ (rustup installs the pinned toolchain from rust-toolchain.toml) and Node 20+.
git clone https://github.com/alephgrid/alephgrid && cd alephgrid
(cd web && npm install && npm run build) # build the UI (embedded into the binary)
cargo build --release
./target/release/alephgrid --demo-rows 10000000
The first build compiles DuckDB from source, which takes several minutes.
Docker (for a team)
From a checkout (builds the image locally):
docker compose up -d
docker compose logs alephgrid | grep "setup code" # the one-time code that creates the admin
open http://localhost:7878/setup
With --auth accounts, people sign in with a password or single sign-on (OpenID Connect), and
spaces grant them roles; see docs/TEAMS.md. Without it (the default on your own
machine), there is no sign-in and the server only listens on 127.0.0.1. Running it for others,
backups, upgrades and restores are covered in docs/OPERATIONS.md.
Options
| Flag | Env | Default |
|---|---|---|
--data-dir | ALEPHGRID_DATA_DIR | ./alephgrid-data |
--host / --port | ALEPHGRID_HOST / ALEPHGRID_PORT | 127.0.0.1 / 7878 |
--auth local|accounts | ALEPHGRID_AUTH | local: no sign-in, loopback only |
--public-url | ALEPHGRID_PUBLIC_URL | how people reach the server (needed for SSO; https makes cookies Secure) |
--oidc-issuer, --oidc-client-id | ALEPHGRID_OIDC_* (secret: ALEPHGRID_OIDC_CLIENT_SECRET) | no single sign-on |
--session-hours | ALEPHGRID_SESSION_HOURS | 12 |
--space-storage, --space-workbooks, --space-jobs, --space-open-workbooks, --space-compute-memory | ALEPHGRID_SPACE_* | no limits (admins can set them per space) |
--memory-budget | ALEPHGRID_MEMORY_BUDGET | 80% of RAM (or of the container's limit), shared by all open workbooks; spills to disk beyond it |
--threads | ALEPHGRID_THREADS | all cores |
--disk-reserve | ALEPHGRID_DISK_RESERVE | 32MiB kept back so the server can still restart when the disk fills (operations) |
--idle-timeout | ALEPHGRID_IDLE_TIMEOUT | 600 seconds without activity before a workbook's compute sleeps |
--profile name=MEM:THREADS[:dedicated] | extra compute sizes admins can grant to spaces | |
--disable-sql | ALEPHGRID_DISABLE_SQL | SQL allowed; when set, every operation that runs user-written SQL is refused |
--demo-rows N | generate a demo workbook | |
alephgrid mcp --url URL --token agc_… | ALEPHGRID_URL, ALEPHGRID_AGENT_TOKEN | connect an MCP client over stdio to a running server (docs/MCP.md) |
alephgrid --help lists every option.
Formulas
In sheets, formulas use Excel syntax: =SUM(B2:B9), =XLOOKUP(...), =Budget!B4*2.
A sheet formula can read a whole table by name:
=SUMIFS(orders[amount], orders[region], $A2, orders[month], $B$1)
=XLOOKUP(A2, customers[id], customers[region], "none")
Fill or drag it like any formula; each copy reads its own row. The formula catalog lists supported functions with tested examples, and known gaps are documented with reproducible inputs.
In tables, calculated columns refer to columns by name, and the leading = is optional:
=[fare_usd] / [distance_mi]
=CASE WHEN [dep_delay_min] > 15 THEN 'late' ELSE 'on time' END
=[origin] || '→' || [dest]
Typical flow: summarise 100M rows with Analyze or SQL, choose Open in sheet, then model on top of the result.
How it is built
- DuckDB underneath. Every workbook is one DuckDB file: columnar, compressed and parallel across cores. Imports use DuckDB's own CSV, Parquet and JSON readers.
- IronCalc for sheets, stored in the same workbook file.
- Rust server (axum, HTTP and WebSocket) with the UI embedded; TypeScript client with a canvas grid, no framework. Wire types are generated from Rust, and a test fails when they drift.
See docs/ARCHITECTURE.md.
Measured (20M-row table, 9 columns, debug build, 8-core / 8 GB laptop)
Indicative timings from one machine, not capacity limits; none are published yet.
| Operation | Time |
|---|---|
| Reopen the workbook after a restart | 3 ms (no rehydrate) |
| Fetch 100 rows at row 0 / 10M / 19.99M | 3–11 ms |
Filter carrier = DL AND origin = SEA (125k matches) | 34 ms |
| Sort 20M rows by a float column | 0.95 s |
| Sum/avg/min/max of a column over all 20M rows | 28 ms |
| GROUP BY carrier via SQL | 39–57 ms |
| Edit 1 cell / paste 1,000 cells | 3 ms / 43 ms |
Reproduce with alephgrid --demo-rows 20000000 and docs/bench.mjs. The benchmark tool for
varied data shapes and concurrent clients is described in
operations; release-build results are not published yet.
Documentation
Start at docs/README.md. The most used pages:
| For | Read |
|---|---|
| Spreadsheet users | Features · Keyboard · Table formulas · Functions · Analysis |
| Running a server | Operations · Teams · Compute · Security · MCP |
| Contributors | Contributing · Architecture · Protocol · Test strategy |
Development
cargo run -p alephgrid-server -- --demo-rows 1000000 # API on :7878
cd web && npm run dev # UI with hot reload on :5173 (proxies to :7878)
cargo test --workspace
crates/alephgrid-core DuckDB tables, views, formulas, IronCalc sheets (pure Rust library)
crates/alephgrid-server axum HTTP + WebSocket server, CLI, MCP, embedded UI
web/ TypeScript client (canvas grid, row cache, UI) and browser tests
docs/ user, operator and contributor documentation
README screenshots are generated from the running product by
web/scripts/readme-screenshots.mjs.
Roadmap
Next after v0.1.0: S3 and Parquet data read in place, then multi-machine deployments on Kubernetes. See docs/ROADMAP.md and the implementation checklist.
Community
- Questions, ideas and bugs: GitHub issues (for a bug, include steps to reproduce).
- Security problems: please report privately; see SECURITY.md.
- Contributing: CONTRIBUTING.md. Everyone taking part follows the code of conduct.
License
Apache-2.0. Use it, host it and build on it, commercially or not.
Alephgrid was started by Sparsh Prakash and is built with its contributors.
Frequently asked questions
What is alephgrid MCP Server?
Read-only MCP access to Alephgrid workbooks: schema cards, reads, SQL, saved queries, receipts.
How do I install alephgrid MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. alephgrid MCP Server connects to the remote endpoint https://{alephgrid_host}/mcp, so there is nothing to install locally.
Is alephgrid MCP Server free and open source?
Yes. alephgrid MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does alephgrid MCP Server support remote (HTTP) connections?
Yes. alephgrid MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is alephgrid MCP Server's trust score calculated?
alephgrid MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
