MCP server to count tokens in CSV and Excel files
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"csv-token-counter-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# csv-token-counter-mcp A lightweight MCP (Model Context Protocol) server that counts tokens in CSV and Excel files using [tiktoken](https://github.com/openai/tiktoken). Works with VS Code, Claude Desktop, and any MCP-compatible application. No LLM or API key required — runs fully offline. --- ## Why Use This? Before sending CSV or Excel data to any LLM (ChatGPT, Claude, Gemini etc.), you need to know how many tokens your data contains — to estimate cost, check context window limits, or split large files. This tool does exactly that, directly inside your editor or AI assistant. --- ## Features - Count total tokens across an entire CSV or Excel file - Break down token counts column by column - Analyze tokens in a single specific column (avg, min, max per row) - Preview file schema — column names, types, row counts - Supports `.csv`, `.xlsx`, and `.xls` formats - Works fully offline — no API key or internet needed - Compatible with VS Code, Claude Desktop, and any MCP client --- ## Installation ### Option 1 — pip (traditional) ```bash pip install csv-token-counter-mcp ``` Add to your `.vscode/mcp.json`: ```json { "servers": { "csv-token-counter": { "type": "stdio", "command": "csv-token-counter-mcp", "args": [] } } } ``` ### Option 2 — uvx (recommended, no install needed) First install `uv` if you don't have it: ```bash pip install uv ``` Add directly to your `.vscode/mcp.json` — no separate install step needed: ```json { "servers": { "csv-token-counter": { "type": "stdio", "command": "uvx", "args": ["csv-token-counter-mcp"] } } } ``` ### Option 3 — Claude Desktop Add to your Claude Desktop config file: **Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json` **Windows:** `%APPDATA%\Claude\claude_desktop_config.json` ```json { "mcpServers": { "csv-token-counter": { "command": "uvx", "args": ["csv-token-counter-mcp"] } } } ``` --- ## Available T…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.