Promotion Overlap Calculator
Calculates the real, non-overlapping duration of commercial offers from a list of date ranges — automatically resolves overlaps (e.g. flash sales cutting into longer promotions) without requiring pre-sorted data.
How to pay
Subscribe
$5/month
Predictable monthly cost with included usage. Best for steady, high-volume traffic.
- Unlimited tools within plan limits
- One API key, billed once a month
- Cancel any time
What it does
Given a list of commercial offers (or any date-ranged events) for the same product, this tool calculates the real number of days each offer was actually in effect — correctly handling overlaps.
A common real-world case: a 10-day promotion is interrupted by a 1-day "Only Today" flash offer. The flash offer wins that single day; the original promotion's real duration drops to 9 days. With several offers overlapping in different, nested ways, working this out by hand becomes error-prone fast — this tool resolves it deterministically, however many offers are involved.
Input format
A CSV (or raw CSV text) with exactly three required columns, in any order:
event_start— offer start dateevent_end— offer end dateid— groups offers belonging to the same product. Can be any identifier you choose (a hash or internal code works fine) — it doesn't need to reveal what the product actually is.
The tool takes one argument, csv_content: the full text of your CSV file,
header row included.
Any additional columns (price, campaign name, etc.) are ignored and not used in the calculation. Uploaded files are kept as received for up to 40 days for billing verification, then deleted.
Rows don't need to be pre-sorted; the tool sorts internally and returns results in the same row order they were submitted.
Robustness
- Separator (
,or;) is auto-detected. - Date format is auto-detected:
YYYY-MM-DD(recommended, unambiguous),MM-DD-YYYY, orDD-MM-YYYY. - Clear, explicit errors if required columns are missing or if a row has
event_endearlier thanevent_start.
Output
A CSV with the three required columns (id, event_start, event_end, in
that order) plus duration: the real, overlap-free number of days that offer
was in effect. Any extra columns you sent are not returned. Rows come back
in the order you submitted them, using the same separator and date format as
your input file.
Via MCP, this CSV is returned as text inside the tool result; save it as a
.csv file if you need a file.
Note on same-day conflicts
If two offers for the same product start on the exact same date, which one takes priority for that day is resolved automatically but arbitrarily — avoid ambiguity by giving offers distinct start dates whenever possible.
Try it before you subscribe
Worked examples with diagrams, and a free 20,000-row sample (no signup, no API key), are on the product site:
See the Docs tab for worked examples with visual diagrams.
How will you use Promotion Overlap Calculator?
In an AI agent
Claude, Codex, Cursor, VS Code… Choose →
From the terminal
mcpize CLI, pipelines, Skills. Choose →
In your code
TypeScript, Python, cURL. Choose →
How will you use Promotion Overlap Calculator?
In an AI agent
Claude, Codex, Cursor, VS Code… Choose →
From the terminal
mcpize CLI, pipelines, Skills. Choose →
In your code
TypeScript, Python, cURL. Choose →
Related MCP servers

Astrology Basic
Provides API access to generate astrological charts including natal, synastry, composite, and natal transits. Useful for developers building astrology apps or analysts integrating astrological data.

Astrology Vedic
Astrology Vedic MCP server offers 22 astrology-related APIs, including birth chart generation, kundli matching, manglik dosha analysis, divisional charts, and panchang data. Developers building astrology platforms or apps can integrate these tools for detailed Vedic astrology computations and compatibility assessments.
Research Tools MCP
All-in-one MCP server for SEO research: keywords, SERP, trends, social listening, ad intelligence & LLM visibility. 37 tools.
Sports MCP Server
The Sports MCP server provides programmatic access to professional sports scores through API calls. It offers tools to retrieve real-time NBA, NFL, NHL, and combined scores, enabling developers and data analysts to integrate live sports data into their applications, dashboards, or reports.

Real Estate MCP Server
Provides API access to real estate data by enabling property searches via Redfin and Google Maps, plus detailed property information retrieval. Useful for developers and data analysts building real estate platforms or analytics tools.

axiom-mcp
Financial & research data MCP server — SEC filings, DeFi analytics, wallet profiling, academic papers, US macro data, patent search, and token sentiment. 30 tools for AI agents.

The Data Collector
Search APIs for Hacker News, Bluesky, and Substack, exposed as MCP tools. All three search tools are free - no API key, no account, no rate limits. Also includes a plain REST endpoint, GET /api/hn/trending, which returns the live Hacker News front page as JSON. Built for AI agents and developers who need real-time content discovery without OAuth or signup.

Fandom Vision MCP
Extracts clean, AI-ready character appearance and clothing data from any Fandom wiki.