Labsco
ArchimedesCrypto logo

MCP Excel Reader

β˜… 29

from ArchimedesCrypto

Read large Excel files with automatic chunking and pagination support.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

MCP Excel Reader

A Model Context Protocol (MCP) server for reading Excel files with automatic chunking and pagination support. Built with SheetJS and TypeScript, this tool helps you handle large Excel files efficiently by automatically breaking them into manageable chunks.

Features

  • πŸ“Š Read Excel files (.xlsx, .xls) with automatic size limits

  • πŸ”„ Automatic chunking for large datasets

  • πŸ“‘ Sheet selection and row pagination

  • πŸ“… Proper date handling

  • ⚑ Optimized for large files

  • πŸ›‘οΈ Error handling and validation

Extending with SheetJS Features

The Excel Reader is built on SheetJS and can be extended with its powerful features:

Available Extensions

Formula Handling

Copy & paste β€” that's it
// Enable formula parsing
const wb = XLSX.read(data, {
 cellFormula: true,
 cellNF: true
});

Cell Formatting

Copy & paste β€” that's it
// Access cell styles and formatting
const styles = Object.keys(worksheet)
 .filter(key => key[0] !== '!')
 .map(key => ({
 cell: key,
 style: worksheet[key].s
 }));

Data Validation

Copy & paste β€” that's it
// Access data validation rules
const validation = worksheet['!dataValidation'];

Sheet Features

  • Merged Cells: worksheet['!merges']

  • Hidden Rows/Columns: worksheet['!rows'], worksheet['!cols']

  • Sheet Protection: worksheet['!protect']

For more features and detailed documentation, visit the SheetJS Documentation.

Contributing

  • Fork the repository

  • Create your feature branch (git checkout -b feature/amazing-feature)

  • Commit your changes (git commit -m 'Add some amazing feature')

  • Push to the branch (git push origin feature/amazing-feature)

  • Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments