Skip to main content

tablemcp

An MCP (Model Context Protocol) server that converts Excel files to Markdown tables.

Installation

# Using uvx (recommended)
uvx tablemcp

# Or install via pip
pip install tablemcp

Usage with Claude Code

Add to your Claude Code MCP settings (~/.claude/settings.json):

{
  "mcpServers": {
    "excel": {
      "command": "uvx",
      "args": ["tablemcp"]
    }
  }
}

Available Tools

read_excel_as_markdown

Convert an entire Excel file (all sheets) to Markdown tables.

Parameters:

  • file_path (string): Absolute path to the Excel file (.xlsx or .xls)

Returns: Markdown formatted tables for all sheets

read_excel_sheet_as_markdown

Convert a specific sheet from an Excel file to a Markdown table.

Parameters:

  • file_path (string): Absolute path to the Excel file
  • sheet_name (string): Name of the sheet to convert
  • header_row (int, optional): Header row number (1-based). Auto-detects if not provided.
  • columns (string, optional): Column range like 'A:D' or '1-4'. Auto-detects if not provided.

Returns: Markdown formatted table

list_sheets

List all sheet names in an Excel file.

Parameters:

  • file_path (string): Absolute path to the Excel file

Returns: List of sheet names

Features

  • Automatic table detection (finds header rows and relevant columns)
  • Multi-sheet support
  • Manual column/row specification for complex layouts
  • Handles null values gracefully
  • Escapes pipe characters in cell values

Development

# Clone and install dependencies
git clone https://github.com/jvsteiner/tablemcp
cd tablemcp
uv sync

# Run tests
uv run pytest

# Run the server locally
uv run tablemcp

License

MIT

Metadata

Release files for tablemcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tablemcp 0.1.0
File Size Uploaded Provenance
tablemcp-0.1.0.tar.gz 75.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tablemcp 0.1.0
File Interpreter ABI Platform
tablemcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.5 kB

Release files / tablemcp-0.1.0.tar.gz

Download URL tablemcp-0.1.0.tar.gz
Size 75.4 kB
Tags Source
SHA-256 checksum
How to use checksums
75936ea37a1a431a782080d62a1542ccd7e5e906f0fd4b33bf21aa4f34be1ebb
BLAKE2b-256 checksum
How to use checksums
443b08480bf13c46650b64370cef6209744c5d7fc4befb3458528b128448549a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / tablemcp-0.1.0-py3-none-any.whl

Download URL tablemcp-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a354c432a331c905100ce3be99f438994502a5fd3dbce746033ac398457674a
BLAKE2b-256 checksum
How to use checksums
be24da2caa939c0a240629f495a60c8c17888703650b18dd63d9e113b8bc63c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for tablemcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page