excel-analysis

excel-analysis is a skill for Claude Code from mrgorrin40-TP/mcp-excel-server. It costs 14 tokens per session (1,600 once invoked), scanned A, original, MIT.

A tool for examining data in Excel spreadsheets using statistics, filters, and groups. Grouping means collecting rows with the same value and calculating results for each group.

In plain words
What is it for?
Use it to calculate column statistics, filter rows by conditions, group and summarize records, and investigate patterns or anomalies.
Why use it?
It avoids manually sorting and calculating spreadsheet data when looking for summaries, patterns, or unusual values. The data must be arranged as a table with column headers.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mrgorrin40-tp/mcp-excel-server/excel-analysis
Any agent
npx skills add mrgorrin40-TP/mcp-excel-server --skill excel-analysis
Clone the repo
git clone --depth 1 https://github.com/mrgorrin40-TP/mcp-excel-server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for excel-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrgorrin40-tp/mcp-excel-server/excel-analysis.svg)](https://agentmods.dev/skills/mrgorrin40-tp/mcp-excel-server/excel-analysis)
Your own site
<a href="https://agentmods.dev/skills/mrgorrin40-tp/mcp-excel-server/excel-analysis"><img src="https://agentmods.dev/badge/skills/mrgorrin40-tp/mcp-excel-server/excel-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.01600
Opus 5 $0.00007 $0.00800
Sonnet 5 $0.00003 $0.00320
Haiku 4.5 $0.00001 $0.00160

Measured 5d ago against content hash b07065ff8150, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

excel-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/excel-analysis/SKILL.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Excel Analysis Skill

This skill enables AI agents to perform data analysis on Excel files using statistical operations, filtering, and grouping.

When to Use

Use this skill when the user wants to:

  • Get statistical summaries of data
  • Filter rows based on conditions
  • Group data by columns and aggregate
  • Identify patterns or anomalies
  • Generate insights from spreadsheets

Prerequisites

  • MCP Excel Server must be running
  • Data must be in tabular format with headers
  • File path must be absolute

Analysis Strategies

1. Column Statistics

Use get_column_stats for statistical summaries:

Tool: get_column_stats
Parameters:
  file_path: "absolute/path/to/file.xlsx"
  sheet_name: "Sheet1"
  column: "B"

Returns:

  • Count, sum, mean, median
  • Min, max, range
  • Standard deviation, variance
  • Null count
  • Data type information

2. Filtering Rows

Use filter_rows to subset data:

Tool: filter_rows
Parameters:
  file_path: "absolute/path/to/file.xlsx"
  sheet_name: "Sheet1"
  filters: [
    {"column": "B", "operator": ">", "value": 100},
    {"column": "C", "operator": "==", "value": "Active"}
  ]
  logic: "AND"

Operators:

  • Comparison: ==, !=, >, <, >=, <=
  • Text: contains, startswith, endswith
  • Set: in, not_in
  • Null: is_null, is_not_null

3. Grouping and Aggregation

Use group_by for pivot-like analysis:

Tool: group_by
Parameters:
  file_path: "absolute/path/to/file.xlsx"
  sheet_name: "Sheet1"
  columns: ["Category", "Region"]
  agg_column: "Sales"
  agg_func: "sum"

Aggregation Functions:

  • sum - Total
  • mean - Average
  • median - Middle value
  • count - Count of rows
  • min - Minimum
  • max - Maximum
  • std - Standard deviation

Common Workflows

Workflow 1: Data Exploration

  1. Call get_sheet_info to understand structure
  2. Call read_range to examine sample data
  3. Call get_column_stats for each important column
  4. Identify key patterns and insights

Read the full file on GitHub · 267 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 267 lines · 14 tokens per session scan A b07065ff8150

Subscribe to this mod's changes

excel-analysis is a skill published in the GitHub repository mrgorrin40-TP/mcp-excel-server (0 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 1,600 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.