MCP Data Analyst
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Data AnalystWhat are the missing values and sales by region?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Data Analyst
A lightweight Model Context Protocol (MCP) server built with Python and Pandas that exposes reusable data-analysis capabilities as MCP tools.
Overview
This project demonstrates how an MCP-compatible client can discover and invoke external data-analysis tools through a standardized MCP server.
The server analyzes a sample sales CSV dataset and exposes five tools:
dataset_info- Returns dataset dimensions and column namesdataset_summary- Returns descriptive statisticsmissing_values- Detects missing valuessales_by_region- Filters sales records by regioncolumn_analysis- Calculates statistics for numeric columns
Related MCP server: Claude Data Buddy
Architecture
User / AI Host | v MCP Client | v MCP Server | v MCP Tools | v Python + Pandas | v Sales CSV Dataset
Project Structure
mcp-data-analyst/ ├── data/ │ └── sample_sales.csv ├── tests/ │ └── test_analysis.py ├── tools/ │ ├── init.py │ ├── analysis_tools.py │ └── csv_tools.py ├── server.py ├── requirements.txt ├── pytest.ini ├── .gitignore └── README.md
Technologies
Python
Model Context Protocol (MCP)
Pandas
Pytest
MCP Inspector
Installation
Create and activate a virtual environment.
Windows PowerShell:
python -m venv venv
.\venv\Scripts\Activate.ps1This server cannot be deployed
Maintenance
Related MCP Connectors
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Sales analytics, ML forecasting, customer segmentation, and trend analysis.
Official UK, US and Australia public datasets as filtered CSV, REST API and MCP for AI agents.
61AI analytics — sales analysis, ML forecasting, customer segmentation.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to preprocess, analyze, and visualize CSV data through comprehensive tools for data manipulation, statistical analysis, and graph generation.3-
- FlicenseNot gradedqualityDmaintenanceEnables conversational analysis of CSV and Parquet files through natural language, providing statistics, summaries, data type information, and comprehensive multi-step data analysis.-
- FlicenseNot gradedqualityCmaintenanceAI-first CSV analysis tool that enables AI agents to analyze, query, and audit large CSV files directly within conversations, turning raw data into actionable insights.2-
- FlicenseAqualityCmaintenanceEnables exploratory data analysis and machine learning on CSV datasets with tools for profiling, missing values, correlation, plotting, model training, and prediction.8-