MCP for Data Analysis with Claude Desktop

Turn Claude Desktop into a no-code data analyst — read an Excel support-ticket dataset with an MCP server and auto-generate a PowerPoint analysis report.

Jun 17, 20266 min readFollow

Topics You Will Master

Wiring the Excel, PowerPoint, and filesystem MCP servers for a real analysis task
Letting Claude read a raw .xlsx dataset and compute key metrics
Prompting Claude to produce a structured, multi-slide PowerPoint report
Reading agent-performance tables, critical issues, and an action plan from the output

MCP tools can do real work, not just toy math. In this lesson Claude Desktop becomes a data analyst: it reads a raw Excel support-ticket dataset through an MCP server, computes the metrics, and writes a polished PowerPoint report through another MCP server — all from a natural-language request.

This shows the "Tools = do something now" side of MCP at its best. You supply data and a goal; Claude orchestrates the spreadsheet and presentation tools to deliver a finished artifact.

Note

Prerequisites: the excel, ppt, and filesystem servers registered in Connect MCP Servers to Claude Desktop. Point the filesystem server at the folder that holds your dataset so Claude can read and write files there.

95% OFF

MCP Mastery: Build AI Apps with Claude, LangChain and Ollama

Build MCP servers and clients with Python, Streamlit, ChromaDB, LangChain, LangGraph agents, and Ollama — from your first tool to cloud deployment.

Enroll Now — 95% OFF →

The workflow

PLAINTEXT
support_tickets_data.xlsx  ->  Claude Desktop + Excel MCP  ->  analysis  ->  PowerPoint MCP  ->  report.pptx

Claude reading an Excel dataset and writing a PowerPoint report through MCP tools

The three servers each play one role:

  • excel (@negokaz/excel-mcp-server) — reads cells, sheets, and ranges from the workbook.
  • filesystem (@modelcontextprotocol/server-filesystem) — lets Claude locate and save files in an allowed folder.
  • ppt (office-powerpoint-mcp-server) — creates slides, tables, and text in a .pptx file.

The dataset

The sample file support_tickets_data.xlsx holds 50 customer-support tickets with these columns:

Column Meaning
ticket_id Unique ticket identifier (e.g. T0001)
customer_id Customer identifier (e.g. C0511)
issue_type Category — API Issue, Login Issue, Report Generation, Data Import, Billing, etc.
issue_description Free-text description
priority Low / Medium / High / Critical
date_submitted Date the ticket was opened
response_time_minutes Minutes to first response
resolution_time_minutes Minutes to resolution
satisfaction_rating Customer rating, 1–5
customer_comments Free-text feedback
agent_id Handling agent (e.g. A004)
resolved True / False

A few sample rows:

PLAINTEXT
T0001 | C0511 | API Issue        | High | 240 min resp | 927 min resolve | rating 4 | agent A004 | resolved True
T0002 | C0729 | Login Issue      | Low  | 223 min resp | 534 min resolve | rating 5 | agent A004 | resolved False
T0003 | C0439 | Report Generation| Low  | 214 min resp | 592 min resolve | rating 1 | agent A004 | resolved False

Note

This is synthetic sample data created for the course — the customer and agent IDs are not real people. Swap in your own workbook to analyze real tickets.


Prompting Claude to analyze and report

The Excel, filesystem, and PowerPoint MCP servers handling read, file access, and write

With the servers connected, restart Claude Desktop and give it a single, goal-oriented prompt. For example:

"Read support_tickets_data.xlsx from my Downloads folder using the Excel tools. Analyze support performance — resolution rate, average response and resolution times, customer satisfaction, and per-agent performance. Identify the critical issues and propose an action plan. Then create a PowerPoint report named Support_Tickets_Analysis_Report.pptx with one slide per section."

Claude will, on its own:

  1. Call the filesystem and excel tools to load the workbook.
  2. Compute aggregate metrics across all 50 tickets.
  3. Group by agent_id, issue_type, and priority.
  4. Call the ppt tools to build a multi-slide deck and save it.

Tip

Ask for "one slide per section" and name the output file explicitly. Concrete instructions make the generated deck predictable and easy to review.


What the report contains

Raw tickets becoming metrics, critical issues, and a concrete action plan

The generated deck, Support Tickets Data Analysis Report — Comprehensive Performance Review & Action Plan, comes out as nine slides.

Executive summary — key metrics

  • Total tickets: 50 processed.
  • Resolution rate: 46% (target 80%+) — critical gap.
  • Customer satisfaction: 2.84 / 5 (target 4.0+) — needs improvement.
  • Average response time: 2.2 hours — meeting target.
  • Average resolution time: 11.3 hours — exceeds target.
  • Resolved: 23 — Unresolved: 27.

Agent performance analysis

Agent Tickets handled Resolution rate Satisfaction Status
A002 9 66.7% 2.89/5 Best performer
A003 9 55.6% 3.11/5 Good performance
A001 7 42.9% 2.14/5 Needs training
A004 18 38.9% 2.89/5 Overloaded
A005 7 28.6% 2.86/5 Needs improvement

Critical issues identified

  • Low resolution rate: only 46% resolved (target 80%+).
  • Poor customer satisfaction: 2.84/5 average.
  • Agent A001 has the lowest satisfaction scores (2.14/5).
  • Agent A004 workload imbalance: handling 36% of all tickets.
  • Only 42.9% of critical tickets are resolved.

Immediate action plan

  • Train Agent A001 on customer-service and communication skills.
  • Redistribute Agent A004's workload to other available agents.
  • Create specialized teams for Data Import (22%) and Billing Issues (22%).
  • Establish a 4-hour SLA for critical tickets with escalation protocols.
  • Auto-escalate tickets older than 8 hours to senior support.
  • Track resolution rate weekly and satisfaction monthly.

Success targets

Metric Current Target
Resolution Rate 46% 80%+
Customer Satisfaction 2.84/5 4.0/5
Response Time 2.2 hours Under 2 hours
Resolution Time 11.3 hours Under 8 hours

The closing slide notes the analysis was completed using Claude MCP analysis, with a 3–6 month timeline for hitting the targets.

Important

Always spot-check the numbers in a generated report against the source data before sharing it. The model computed these from the workbook, but you own the final accuracy.


Why this matters

You just ran a complete analytics pipeline — ingest, analyze, and present — without writing a single line of pandas or python-pptx. The Excel and PowerPoint MCP servers did the I/O; Claude did the reasoning and orchestration.

This is the practical payoff of MCP tools. To understand precisely how tools differ from resources and prompts — and when to use each — continue to MCP Tools, Resources, and Prompts.

Found this useful? Keep building with me.

New tutorials every week on YouTube — or go deeper with a full structured course.

Find this tutorial useful?

Subscribe to our YouTube channels for more practical production walk-throughs.

Discussion & Comments