The Excel Reader MCP server helps you efficiently process Excel files in AI applications by automatically handling large spreadsheets through chunking and pagination. It integrates with Claude and other MCP-compatible AI systems to extract and analyze spreadsheet data.
Install automatically using the Smithery CLI:
npx -y @smithery/cli install @ArchimedesCrypto/excel-reader-mcp-chunked --client claude
npm install -g @archimdescrypto/excel-reader
~/.config/claude/settings.json
):{
"mcpServers": {
"excel-reader": {
"command": "excel-reader",
"env": {}
}
}
}
The Excel Reader provides a single tool called read_excel
with these parameters:
filePath
: Path to the Excel file (required)sheetName
: Name of the sheet to read (optional, defaults to first sheet)startRow
: Starting row for pagination (optional)maxRows
: Maximum rows to read (optional)When working with Claude or another MCP-compatible AI, you can simply ask:
Read the Excel file at path/to/file.xlsx
The AI will automatically handle file reading and chunking for large files.
The server automatically handles large files by:
You can control which data is read:
The server includes robust error handling:
The Excel Reader returns data in this structure:
interface ExcelResponse {
fileName: string;
totalSheets: number;
currentSheet: {
name: string;
totalRows: number;
totalColumns: number;
chunk: {
rowStart: number;
rowEnd: number;
columns: string[];
data: Record<string, any>[];
};
hasMore: boolean;
nextChunk?: {
rowStart: number;
columns: string[];
};
};
}
Since the Excel Reader is built on SheetJS, it supports several advanced features:
// Enable formula parsing
const wb = XLSX.read(data, {
cellFormula: true,
cellNF: true
});
// Access cell styles and formatting
const styles = Object.keys(worksheet)
.filter(key => key[0] !== '!')
.map(key => ({
cell: key,
style: worksheet[key].s
}));
// Access data validation rules
const validation = worksheet['!dataValidation'];
worksheet['!merges']
worksheet['!rows']
, worksheet['!cols']
worksheet['!protect']
For more information about SheetJS capabilities, visit the SheetJS Documentation.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.