eda-mcp
An MCP server for exploratory data analysis. Point it at a dataset and let your AI assistant do the analysis — summary statistics, diagnostic plots, correlation analysis, and full markdown reports, all from a single conversation.
Built by MLMecham.
Quickstart
Run instantly with no install step:
uvx eda-mcp
Or install permanently:
pip install eda-mcp
Connecting to Claude Desktop
Add this to your claude_desktop_config.json:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"eda-mcp": {
"command": "uvx",
"args": ["eda-mcp"]
}
}
}
Restart Claude Desktop. The tools will appear automatically.
Tip: Add
--refreshto always pull the latest version from PyPI on startup:"args": ["--refresh", "eda-mcp"]
Troubleshooting
Tools not appearing after install or update
uvx caches the installed version and won't update automatically. Force a refresh:
uvx --refresh eda-mcp --help
Then fully quit and reopen Claude Desktop (not just close the window).
Check server logs
If the tools still don't appear, check the MCP server logs:
- Windows:
%APPDATA%\Claude\logs\mcp-server-eda-mcp.log - Mac:
~/Library/Logs/Claude/mcp-server-eda-mcp.log
Tools
| Tool | Description |
|---|---|
load_dataset |
Load a file and get column names, types, classifications, and missing value counts. Start here. |
query_dataset |
Run a DuckDB SQL query and return the same overview as load_dataset. Supports local files, remote sources (S3, GCS, HTTP), SQLite, and cross-file joins. Result is saved to Parquet for use with other tools. |
get_column_summary |
Full statistics for a single column — five-number summary, skewness, kurtosis, outlier count, normality test. Accepts an optional classification override. |
get_all_summaries |
Summary statistics for every column at once, keyed by column name. |
get_diagnostic_plot |
Generate a diagnostic plot for a single column. Plot type is auto-selected by classification. |
get_correlations |
Pearson and Spearman correlation matrices, a heatmap, and scatter plots for strongly correlated pairs. |
generate_report |
Full EDA report — dataset overview, data quality flags, per-column summaries with plots, and correlation analysis. Saved as markdown. |
Supported File Formats
| Format | Extension |
|---|---|
| CSV | .csv |
| Parquet | .parquet |
| Excel | .xlsx, .xls |
| JSON | .json |
| Newline-delimited JSON | .ndjson |
| Avro | .avro |
| SQLite | .db, .sqlite |
| DuckDB | .duckdb |
String columns are automatically coerced to better types on load (integers, floats, dates) where unambiguous.
For SQLite and DuckDB files with multiple tables, pass the table parameter to specify which one. If the database has exactly one table it is loaded automatically.
Querying with SQL
Use query_dataset for SQL-based loading, remote sources, or cross-file joins:
-- Filter before analysis
SELECT * FROM 's3://bucket/sales.parquet' WHERE year = 2024
-- Cross-file join
SELECT t.*, p.bst FROM 'trainers.csv' t JOIN 'pokemon.parquet' p ON t.pokemon = p.name
-- Query a DuckDB database
SELECT * FROM my_table -- with db_path pointing to your .duckdb file
Column Classifications
Every column is automatically classified before analysis:
| Classification | Description |
|---|---|
continuous |
Floats, or integers with more than 20 unique values |
discrete |
Integers with 20 or fewer unique values |
categorical |
Strings with low cardinality (< 5% unique ratio or ≤ 10 unique values) |
binary |
Booleans, or any column with exactly 2 unique non-null values |
temporal |
Date, Datetime, or Duration columns |
high_cardinality |
Likely identifiers, UUIDs, or free text — statistical summary skipped |
Using as a Python Library
The core functions are also importable directly:
from eda_mcp import load_file, classify_column, get_summary, generate_markdown_report
df = load_file("data/sales.parquet")
summary = get_summary(df["revenue"])
generate_markdown_report(df, "data/sales.parquet", "output/")
Example Prompts
Once connected to Claude:
Analyze this dataset: /path/to/data.csv
What columns in sales.parquet have missing values?
Is age correlated with income in this file?
Generate a full EDA report for customers.xlsx
Requirements
- Python 3.11+
- Dependencies are installed automatically via
uvxorpip
License
MIT
Metadata
Release files for eda-mcp 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eda_mcp-0.2.1.tar.gz | 701.7 kB | Without provenance | Details for eda_mcp-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eda_mcp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for eda_mcp-0.2.1-py3-none-any.whl |
Total release size: 727.3 kB
Release files / eda_mcp-0.2.1.tar.gz
| Download URL | eda_mcp-0.2.1.tar.gz |
|---|---|
| Size | 701.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da7f46553d107bbff8671779be4d3fbc358f85bf64aa6c214e013e8c56b84eb2
|
|
BLAKE2b-256 checksum How to use checksums |
3c0750f257686d9346963aa750b71ca1bd62ac2c924905988ef2059c6e689249
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / eda_mcp-0.2.1-py3-none-any.whl
| Download URL | eda_mcp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41d1f96e42792cef0f9bf01f9bfc19b4a6147e24ecce64801b7a4e19f129e03d
|
|
BLAKE2b-256 checksum How to use checksums |
c8d3b87eaad05708e95fc4f781cc48258efc4f71f3019ddf5cf67fe9f22fef68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for eda-mcp 0.2.1
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.