On this page
- What You Need
- Step 1: Locate curvebook-cli on Your Computer
- Step 2: Connect CurveBook to Your AI App (One-Time Setup)
- — macOS
- — Windows
- — Linux
- Step 3: Run Your First Analysis in Plain English
- Step 4: Open first-example.curvebook in the CurveBook Desktop App
- Everyday Things You Can Ask For
- Troubleshooting
- Your Data Stays Private
Using CurveBook with Your AI Assistant
CurveBook includes both a full desktop app (CurveBook) and a built-in MCP (Model Context Protocol) server (curvebook-cli mcp) so you can drive analyses from a local AI assistant in plain English and inspect or refine the same .curvebook project in the desktop GUI.
Every Beta installer bundles both curvebook (desktop app) and curvebook-cli (CLI & MCP server) inside the same package, and everything runs locally on your computer with zero telemetry or cloud uploads.
Using CurveBook directly without AI? Follow Get Started to install the desktop app and browse the Desktop App Guide.
What You Need
- CurveBook installed from the Releases page (follow Get Started to install and verify your download).
- An AI desktop app that supports MCP, such as Claude Desktop, Cursor, Windsurf, or any other local MCP client.
- A folder for your data — for example
Documents/MyResearchData— where you keep your CSV/data files and.curvebookprojects.
Step 1: Locate curvebook-cli on Your Computer
Each CurveBook installer places curvebook-cli alongside the desktop application:
- macOS: Drag
CurveBook.appfrom the.dmginto/Applications. The bundled CLI binary is at:/Applications/CurveBook.app/Contents/MacOS/curvebook-cli - Windows: Run the
.msiinstaller (Per-User default). The bundled CLI binary is at:
(If you chose a machine-wide install for all users, use%LocalAppData%\Programs\CurveBook\curvebook-cli.exe%ProgramFiles%\CurveBook\curvebook-cli.exe.) - Linux: Make the
.AppImageexecutable and extract the bundled binaries once so your AI assistant can invokecurvebook-clidirectly without unpacking the AppImage on every launch:
(Usechmod +x curvebook-<version>-linux-x86_64.AppImage ./curvebook-<version>-linux-x86_64.AppImage --appimage-extractaarch64instead ofx86_64on ARM64 Linux.) The CLI binary is inside the extracted directory at:<path-to-extracted-folder>/squashfs-root/usr/bin/curvebook-cli - Contributors / source checkouts / FreeBSD: Build with
cargo build --release -p curvebook-cliand point your AI client totarget/release/curvebook-cliinside your checkout (see docs/mcp.md).
Step 2: Connect CurveBook to Your AI App (One-Time Setup)
Open your AI assistant's MCP settings file:
- Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json(or *Settings → Developer → Edit Config*) - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json(or *Settings → Developer → Edit Config*) - Other MCP clients (Cursor, Windsurf, Cline, etc.): Open your client's
mcp.jsonor MCP server configuration screen.
Add a "curvebook" entry matching your OS, replacing YOURNAME and the --workdir folder path with your real username and project folder.
macOS
{
"mcpServers": {
"curvebook": {
"command": "/Applications/CurveBook.app/Contents/MacOS/curvebook-cli",
"args": [
"mcp",
"--workdir",
"/Users/YOURNAME/Documents/MyResearchData"
]
}
}
}
Windows
{
"mcpServers": {
"curvebook": {
"command": "C:\\Users\\YOURNAME\\AppData\\Local\\Programs\\CurveBook\\curvebook-cli.exe",
"args": [
"mcp",
"--workdir",
"C:\\Users\\YOURNAME\\Documents\\MyResearchData"
]
}
}
}
Note: Use double backslashes (
\\) inside Windows JSON strings, and write out your real Windows username (YOURNAME) instead of%LocalAppData%because most JSON configs do not expand environment variables.
Linux
{
"mcpServers": {
"curvebook": {
"command": "/home/YOURNAME/Applications/squashfs-root/usr/bin/curvebook-cli",
"args": [
"mcp",
"--workdir",
"/home/YOURNAME/Documents/MyResearchData"
]
}
}
}
Save the config file and fully quit and reopen your AI app so it detects the new "curvebook" server.
Why
--workdir?--workdirlocks file access strictly to that folder and its subfolders. CurveBook will not read or write files outside it.
Step 3: Run Your First Analysis in Plain English
Open a fresh chat in your AI app and paste a request like this:
Use CurveBook to create a Column table comparing two groups:
- Control: 10.2, 9.8, 10.5, 10.0, 10.1
- Treated: 14.1, 13.8, 14.5, 13.9, 14.2
Run a Welch's t-test, show me the summary statistics and P-value, create a box-and-whisker graph showing individual points, export the graph as
comparison.pngandcomparison.pdf, and save the project asfirst-example.curvebook.
Your assistant will call CurveBook's tools locally, print the t-test summary and P-value in chat, and write comparison.png, comparison.pdf, and first-example.curvebook inside your --workdir folder.
Step 4: Open first-example.curvebook in the CurveBook Desktop App
Projects created by an AI assistant use the exact same native .curvebook format as the desktop app:
- Launch CurveBook (from
/Applicationson macOS, the Start Menu on Windows, or your.AppImageon Linux). - Choose File › Open… (
Cmd+Oon macOS /Ctrl+Oon Windows & Linux) — or dragfirst-example.curvebookfrom your--workdirfolder onto the CurveBook window — and openfirst-example.curvebook. - Explore the reactive Project Navigator and Family tree on the left: click the Data table to inspect values, click the ResultSheet to review diagnostics and parameter details, or click the Graph to customize axes, error bars, themes, and multi-panel layouts interactively.
You can also hand files back the other way: save edits in the desktop app, then ask your AI assistant to open the updated .curvebook file and run follow-up fits or batch exports.
Everyday Things You Can Ask For
- Curve fitting: "Fit a 4-parameter logistic (EC50) dose-response curve to this XY dataset and report IC50 with 95% confidence intervals."
- Model comparison: "Compare a 3-parameter vs 4-parameter curve fit on this table using AICc and the extra sum-of-squares F-test."
- Multi-group & survival statistics: "Import
experiment.csv, run a one-way ANOVA with Tukey post-hoc comparisons (or Kaplan-Meier log-rank survival analysis), and tell me which differences are significant." - Publication figures: "Export every graph in
study.curvebookas 300 DPI PNG and vector PDF."
Troubleshooting
- Your AI app does not see CurveBook tools: Make sure you edited the right config file, checked your
"command"path and JSON commas/backslashes, and fully restarted the AI app. - "Access denied" / path outside
--workdir: CurveBook blocks file paths outside the--workdirdirectory you configured. Move data files inside that folder or update--workdir. - More MCP connection checks: See Troubleshooting: MCP Connection.
- Technical reference: See MCP Automation Reference, Control & Batch Automation, and docs/mcp.md.
Your Data Stays Private
- CurveBook has no network telemetry and never sends spreadsheets or projects to external servers (
cargo xtask telemetry). - Everything runs offline inside the
--workdirfolder you choose (see Privacy & Security). - Your AI assistant sees only the tool parameters and summary outputs shown in your chat — never arbitrary folders outside
--workdir.