add_sheet
Add a new sheet to an existing Excel file
Read, analyse and rewrite Excel and CSV files in place — cells, pivots, financial models — without opening a spreadsheet app.
LABSCO SUMMARY
Most spreadsheet servers stop at reading cells; this one carries through to pivot tables, DCF and variance models, and multi-sheet output with formulas intact. Two details decide whether it fits your files: the chunked reader exists for workbooks too big to return in one go, and a workspace root variable pins every read and write to a single directory when you want that boundary.
A local file server for .csv, .xlsx and .xls: reading and cell addressing at one end, statistics, pivots, financial models and multi-sheet writing at the other.
No account. Installed from npm as excel-csv-mcp-server and run over stdio as a local process with your own user's permissions. The AI-backed formula tools want one provider key — ANTHROPIC_API_KEY, OPENAI_API_KEY, DEEPSEEK_API_KEY or GEMINI_API_KEY — and fall back to a local provider that makes no network calls when none is set. Setting EXCEL_MCP_WORKSPACE_ROOT confines every read and write to one directory.
One command — npm install -g excel-csv-mcp-server
USE CASES
Check the file size and headers, then profile every column before deciding what to ask.
Filter the rows that qualify, aggregate the column you care about, and pivot when the answer needs a breakdown.
Run DCF, budget-versus-actual variance or ratio analysis directly on the sheet, then export the result as its own file.
Find the duplicate rows, run the batch cleaner over the common data-quality problems, and check the result against a reference file.
Write a multi-sheet Excel file with formulas and cross-sheet references, then format the cells and fit the columns.
Aggregate or filter the same column across all of them in one call instead of opening each in turn.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_sheetAdd a new sheet to an existing Excel file
aggregatePerform aggregation operations on a column
ai_provider_statusCheck status of available AI providers
auto_fit_columnsAutomatically adjust column widths to fit content in Excel files
budget_variance_analysisAnalyze budget vs actual performance with variance calculations
bulk_aggregate_multi_filesAggregate same column across multiple files in parallel
bulk_filter_multi_filesFilter data across multiple files with optional export
correlation_analysisCalculate correlation between two numeric columns
data_cleanerBatch data cleaning operations with intelligent detection of common data quality issues
data_profileGenerate comprehensive data profiling report for all columns
dcf_analysisPerform Discounted Cash Flow (DCF) valuation analysis for investment evaluation
evaluate_formulaEvaluate an Excel formula with given context
explain_formulaExplain what an Excel formula does in plain English
export_analysisExport analysis results (pivot tables, statistics, etc.) to a new file
filter_rowsFilter rows based on column values
find_duplicatesFind and manage duplicate rows in Excel/CSV files with multiple strategies
format_cellsApply formatting to Excel cells (fonts, colors, borders, alignment)
get_cellGet the value of a specific cell using A1 notation
get_file_infoAnalyze file size and get chunking recommendations
get_headersGet the column headers (first row) of a file
get_rangeGet values from a range of cells
parse_natural_languageConvert natural language to Excel formula or command
pivot_tableCreate pivot table with grouping and aggregation
ratio_analysisPerform comprehensive financial ratio analysis with industry benchmarks
read_fileRead an entire CSV or Excel file with optional chunking for large files
read_file_chunkedRead large files in manageable chunks to avoid token limits
scenario_modelingPerform what-if scenario analysis with multiple assumptions
searchSearch for cells containing a specific value
smart_data_analysisAI-powered analysis suggestions for your data
statistical_analysisPerform comprehensive statistical analysis on a column
trend_analysisAnalyze time series trends, growth rates, seasonality, and forecasting for sales and performance data
validate_data_consistencyCross-validate data integrity across related files
vlookup_helperIntelligent VLOOKUP setup and execution with error handling and fuzzy matching
write_fileWrite data to a new CSV or Excel file (supports multiple sheets for Excel)
write_multi_sheetCreate a complex Excel file with multiple sheets, formulas, and inter-sheet references
BEFORE YOU INSTALL
35 tools when we connected. The documentation's opening line says 37, but its table lists 35. The five AI tools work without a key; with ANTHROPIC_API_KEY or another provider key set, they send spreadsheet content to that provider.
npx on PATH
CONTEXT COST
Rated by the size of the 35 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g excel-csv-mcp-serverclaude mcp add excel-csv --transport stdio excel-csv-mcp-server{
"mcpServers": {
"excel-csv": {
"command": "excel-csv-mcp-server"
}
}
}{
"mcpServers": {
"excel-csv": {
"command": "npx",
"args": [
"-y",
"excel-csv-mcp-server"
]
}
}
}{
"mcpServers": {
"excel-csv": {
"command": "node",
"args": [
"<YOUR_PATH_TO_EXCEL_MCP>/dist/index.js"
]
}
}
}