subscriber-analyzer
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., "@subscriber-analyzer generate a styled HTML sponsor report from ~/Downloads/subscribers.csv"
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.
subscriber-analyzer
An MCP (Model Context Protocol) server that analyzes subscriber CSV exports — giving you instant domain intelligence: who's reading from Red Hat vs. Google vs. the DoD vs. MIT, which readers route through RSS bridges, and which addresses hint at job titles or notable roles.
Built for Buttondown exports first, but works with any CSV that has an email column.
What it does
Point it at a subscriber CSV and it gives you:
Domain counts — ranked from most to least common
Categorized breakdown — consumer (Gmail, iCloud, etc.), corporate, government, education, RSS readers/aggregators
Industry verticals — corporate subscribers grouped by market segment (cloud & infra, DevOps & observability, fintech, consulting, etc.)
Audience intelligence — role/title signals in email addresses, professional domain share, org depth, and sophistication metrics formatted for sponsors
Notable subscriber detection — government agencies, universities, recognizable tech companies, and addresses with role/title hints (
cto,sre,devops,architect, etc.)Styled HTML report — a self-contained, shareable sponsor report generated from live data
Related MCP server: LocalPulse Edge
Tools exposed via MCP
Tool | What it does |
| Full analysis — returns JSON, plain-text, or a styled HTML report |
| Filtered domain list by category ( |
| Notable addresses filtered by type ( |
Quick start
1. Install
git clone https://github.com/chrisshort/subscriber-analyzer.git
cd subscriber-analyzer
npm install
npm run build2. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"subscriber-analyzer": {
"command": "node",
"args": ["/absolute/path/to/subscriber-analyzer/dist/index.js"]
}
}
}Restart Claude Desktop. The three tools will appear automatically.
3. Use it
Ask Claude natural questions:
"Analyze my subscriber CSV at ~/Downloads/subscribers.csv and tell me which corporate domains have the most readers."
"Generate a sponsor report from ~/Downloads/subscribers.csv and save it to ~/Desktop/report.html"
"Find all government email addresses in ~/subscribers.csv"
"What percentage of my subscribers use consumer email providers?"
Generating the HTML sponsor report
The analyze_subscribers tool supports an html format that produces a fully styled, self-contained report — dark-themed, with charts, domain tables, industry verticals, role/title signals, and an audience intelligence section aimed at sponsors.
Via MCP (Claude Desktop)
Ask Claude:
"Generate an HTML subscriber report from ~/Downloads/subscribers.csv with the title 'My Newsletter' and save it to ~/Desktop/report.html"
The tool accepts these parameters:
Parameter | Default | Description |
| (required) | Absolute path to the subscriber CSV |
|
|
|
|
| Report heading shown in the HTML |
| (inline) | Write the HTML to this file path |
|
| Number of top domains to include |
As a PDF (for emailing to sponsors)
The HTML report is designed to print cleanly. To produce a PDF:
Open the saved
.htmlfile in Chrome or SafariPress
Cmd+P(macOS) orCtrl+P(Windows/Linux)Set Destination to "Save as PDF"
Under More settings, enable Background graphics
Save
This produces a much cleaner result than automated Puppeteer-based PDF rendering because the browser handles page breaks and dark-theme backgrounds natively.
CSV format support
Buttondown (auto-detected)
The tool recognizes Buttondown's export format by checking for its characteristic column set (id, secondary_id, email, subscriber_type, creation_date). No configuration needed.
Generic
Any CSV with an email column works. If there's no column literally named email, the tool scans column headers and picks the first one whose sample value contains @.
Customizing detection
All classification data lives in src/detectors.ts. Edit it to tune the report to your audience, then rebuild with npm run build.
// Personal mail providers (excluded from "corporate" count)
export const CONSUMER_DOMAINS = new Set([
"gmail.com", "hotmail.com", /* ... */
]);
// Newsletter aggregators / RSS bridges
export const RSS_READER_DOMAINS = new Set([
"kill-the-newsletter.com", "newsletters.feedbin.com", /* ... */
]);
// Org keywords that flag a domain as a notable corporate subscriber
export const NOTABLE_ORG_KEYWORDS = [
"redhat", "microsoft", "amazon", /* ... */
];
// Role/title keywords scanned in email local parts
export const TITLE_KEYWORDS = [
"cto", "ceo", "sre", "devops", /* ... */
];
// Domains consolidated under a parent (e.g. us.ibm.com → ibm.com)
export const DOMAIN_CONSOLIDATION: Record<string, string> = {
"us.ibm.com": "ibm.com",
/* ... */
};
// Domains that look corporate (2+ subscribers) but are actually personal services
export const NON_CORPORATE_DOMAINS = new Set([
"iki.fi", "linux.com", "pobox.com", /* ... */
]);
// Industry vertical definitions used in the HTML report
export const INDUSTRY_VERTICALS: Record<string, string[]> = {
"Cloud & Infrastructure": ["redhat", "microsoft", "amazon", /* ... */],
"DevOps & Observability": ["datadoghq", "pagerduty", /* ... */],
/* ... */
};Project structure
subscriber-analyzer/
├── src/
│ ├── index.ts # MCP server entry point + tool handlers
│ ├── analyzer.ts # Core analysis logic + plain-text formatter
│ ├── html-report.ts # Styled HTML report generator
│ ├── detectors.ts # Domain/email classification data and helpers
│ └── types.ts # TypeScript interfaces
├── package.json
├── tsconfig.json
└── LICENSEContributing
Pull requests welcome. A few ideas for good first contributions:
Add more RSS reader / newsletter aggregator domains to
detectors.tsSupport ConvertKit and Mailchimp export formats
Expand
INDUSTRY_VERTICALSandDOMAIN_CONSOLIDATIONfor your audienceWrite tests (jest or vitest)
License
MIT — see LICENSE.
Built to analyze the DevOps'ish subscriber list.
Available Tools
3 toolsanalyze_subscribersA
Analyze a subscriber CSV file and return full domain statistics. Auto-detects Buttondown export format but works with any CSV that has an email column. Returns top domains, categorized breakdown (consumer, corporate, government, education, RSS readers), and a list of notable email addresses.
Inputs: csv_path (required), title, top_n, format, +1 more.
find_notable_emailsC
Return notable email addresses from a subscriber CSV: government, education, recognizable tech-industry organizations, and addresses with role/title hints (cto, ceo, sre, devops, architect, etc.).
Inputs: csv_path (required), category.
list_domainsA
Return domains filtered by category. Useful for drilling into a specific segment after running analyze_subscribers.
Inputs: csv_path (required), category, min_count.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct role: full statistics (analyze_subscribers), category-filtered domain listing (list_domains), and notable-address extraction (find_notable_emails). There is some overlap since analyze_subscribers already returns both a categorized breakdown and a notable list, so an agent may wonder when to call the narrower tools instead.
All three names follow a clean verb_noun pattern (analyze_subscribers, list_domains, find_notable_emails) with consistent snake_case. The verbs accurately signal the operation type.
Three tools is deliberately lean and matches a narrow CSV-analysis domain, with no filler tools. It is on the thin side, but each tool earns its place.
The core read-only workflow (summarize, drill into categories, surface notable addresses) is covered with no dead ends. Minor gaps exist: no way to count/query a single arbitrary domain, no result export or filtering limits, and the narrow tools re-parse the CSV rather than building on analysis output.
Maintenance
Related MCP Connectors
Read your own DMARC aggregate and forensic reports: sources, alignment, alerts, CSV export.
Email Engagement Report turns a raw email event export into a per-recipient engagement report.
Tech stack, WHOIS, DNS, SSL, hosting and SEO checks for lists of domains.
Audit B2B prospect lists before enrichment, CRM import or outreach.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to query event operations data from Humanitix/MQIS exports, including metrics, sales curves, attendee lookups, and loyalty analytics. Provides deterministic data with AI-generated narrative, plus a CLI for ops reports and consent-aware marketing emails.-
- AlicenseNot gradedqualityBmaintenanceAnalyzes user-authorized CSV, JSON, or XLSX comment exports locally to generate risk signals, prioritized comments, evidence-backed actions, and reports while keeping data private.MIT
- AlicenseAqualityCmaintenanceTurns a local CSV or XLSX table into a full analysis report — summary statistics, duplicate and missing-value diagnostics, top category frequencies, significant pairwise correlations, a Markdown insights writeup, and an Excel workbook with native interactive charts — entirely offline with no uploads, API keys, or pandas dependency. It runs over stdio or streamable-http behind a free anonymous tier that returns an in-band quota signal rather than silently billing.2MIT
- AlicenseAqualityBmaintenanceEnables finding who sponsors a given newsletter or which newsletters a brand sponsors, by mining public Substack, beehiiv, and RSS archives for sponsor names, domains, placements, and issue links. Runs on Apify and returns dataset rows ready for analysis.168 npmMIT