AI Sales Analytics MCP Server
Click on "Install 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., "@AI Sales Analytics MCP Serveranalyze my latest sales data and email the report"
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.
β‘ AI Sales Analytics β MCP Automation System
No Power BI Login. No Manual Work. Just drop a CSV and AI does everything.
π― What This Does
You Do | System Does Automatically |
Drop a | Detects it instantly |
Nothing | Cleans & validates data |
Nothing | AI generates business insights |
Nothing | Creates interactive HTML dashboard |
Nothing | Exports professional PDF report |
Nothing | Emails report to anyone |
π€ Multi-Model AI Fallback Chain
The system automatically tries each AI provider and falls back if unavailable:
1. π’ NVIDIA NIM β Free, 1000 credits (nvapi-...)
2. π’ Groq β Free, no credit card (gsk_...)
3. π‘ DeepSeek β Near-free credits (sk-...)
4. π΅ Rule-Based β 100% offline, always worksNo internet? No API keys? β Rule-based insights still work perfectly!
π Quick Start (5 Minutes)
Step 1 β Install Dependencies
pip install -r requirements.txtStep 2 β Generate Sample Data (or use your own CSV)
python generate_sample_data.pyStep 3 β Add API Keys (Optional but recommended)
Copy .env.example β .env and fill in your keys:
copy .env.example .env
# Edit .env with your keysStep 4 β Run the Pipeline!
# Option A: Run once on existing data
python main.py
# Option B: Watch folder (auto-trigger on CSV drop)
python watcher.py
# Option C: Chat with AI agent
python agent.pyπ How to Get FREE API Keys
NVIDIA NIM (Recommended β Best free models)
Go to β https://build.nvidia.com
Click Login / Sign Up (free account)
Go to API Keys β Create API Key
Copy key (starts with
nvapi-)Add to
.env:NVIDIA_API_KEY=nvapi-xxxxx
Free tier: 1000 inference credits. Model:
meta/llama-3.3-70b-instruct
Groq (Fastest β No credit card)
Go to β https://console.groq.com
Sign up with Gmail or GitHub
Go to API Keys β Create API Key
Copy key (starts with
gsk_)Add to
.env:GROQ_API_KEY=gsk_xxxxx
Free tier: Generous rate limits, no card needed. Model:
llama-3.3-70b-versatile
DeepSeek (Very cheap)
Go to β https://platform.deepseek.com
Sign up β Go to API Keys β Create
Add to
.env:DEEPSEEK_API_KEY=sk-xxxxx
π§ Email Setup (Gmail)
Go to myaccount.google.com
Security β 2-Step Verification (enable)
Security β App passwords β Select "Mail" β Generate
Copy 16-char password (e.g.
abcd efgh ijkl mnop)Add to
.env:EMAIL_SENDER=you@gmail.com EMAIL_PASSWORD=abcdefghijklmnop EMAIL_RECEIVER=boss@company.com
π Project Structure
AI-PowerBI-MCP-Automation/
β
βββ π data/
β βββ sales.csv β Your input CSV
β βββ cleaned_sales.csv β Auto-generated
β
βββ π reports/ β All outputs here
β βββ dashboard.html β π Open in browser!
β βββ report.pdf β π Professional report
β βββ insights.json β Raw KPI data
β
βββ π incoming/ β DROP CSV HERE for auto-trigger
β
βββ π src/
β βββ ai_engine.py β Multi-model AI fallback
β βββ clean_data.py β Data cleaning
β βββ insights.py β KPI + AI insights
β βββ dashboard.py β HTML dashboard (replaces Power BI)
β βββ export_pdf.py β PDF report
β βββ send_email.py β Email automation
β
βββ π mcp_server/
β βββ server.py β MCP server (AI agent tools)
β
βββ main.py β Run full pipeline
βββ watcher.py β Folder auto-watcher
βββ agent.py β Chat interface
βββ generate_sample_data.py β Generate test data
βββ config.py β All settings & API keys
βββ .env.example β Key template
βββ requirements.txtπ¬ Agent Chat Examples
python agent.pyYou β analyze today's sales
π€ β Running FULL PIPELINE...
β
Data cleaned (1200 rows)
β
AI insights via NVIDIA NIM
β
Dashboard created
β
PDF exported
β
Email sent
You β show dashboard
π€ β Opening dashboard in browser...
You β status
π€ β Total Sales: βΉ45,23,400 | Profit: 18.3%
Top Product: Laptop Pro X | Region: West
You β send report
π€ β Email delivered to boss@company.com βπ MCP Server (For AI Agents like Claude)
Add to your Claude Desktop mcp_settings.json:
{
"mcpServers": {
"ai-sales-analytics": {
"command": "python",
"args": ["C:/path/to/mcp_server/server.py"]
}
}
}Available MCP Tools:
Tool | Description |
| Run everything end-to-end |
| Clean CSV file |
| Get AI insights + KPIs |
| Build HTML dashboard |
| Generate PDF report |
| Email the report |
| Check system status |
π Dashboard Preview
The HTML dashboard includes:
π° KPI Cards (Sales, Profit, Orders, Avg Order Value)
π Monthly Sales Trend (interactive line chart)
π Top 10 Products (horizontal bar chart)
πΊοΈ Region-wise Sales (donut chart)
π¦ Category Breakdown (bar chart)
π§ AI-Generated Insights Panel
Opens in Chrome/Edge/Firefox β NO Power BI, NO Microsoft login!
π Resume Description
AI-Powered Sales Analytics Automation using MCP Server
β’ Built an end-to-end agentic AI pipeline using Python, MCP Server, and multi-model AI
β’ Implemented intelligent fallback: NVIDIA NIM β Groq β DeepSeek β Rule-based insights
β’ Automated CSV ingestion, data cleaning, KPI generation, and interactive dashboard creation
β’ Replaced Power BI with custom Plotly HTML dashboards (no login required)
β’ Integrated watchdog folder monitoring for zero-touch automation
β’ Delivered PDF reports and email notifications via SMTP automation
β’ Exposed pipeline as MCP tools enabling AI agents to analyze data through natural languageπ Tech Stack
Layer | Technology |
Data | Python + Pandas |
AI | NVIDIA NIM / Groq / DeepSeek / Rule-based |
Dashboard | Plotly (interactive HTML) |
ReportLab | |
SMTP (Gmail) | |
Automation | Watchdog |
AI Protocol | MCP (Model Context Protocol) |
Built with β€οΈ β No Power BI login required. Works 100% locally.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Abhishek-Maheshwari-778/_My_MCP_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server