Dates Le logo

Dates Le

Extracts dates from text, code, logs, and data with notation, timestamps, and source positions.

Install Dates Le

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "dates-le": {
      "command": "npx",
      "args": [
        "-y",
        "dates-le-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 1 tools correctly (Today).

Overview

Its `extract_dates` tool accepts content and optional format, filename, deduplication, date-order, and result-limit settings, then returns detected notation, resolvable epoch values, and 1-based positions. It reads no files and makes no network requests. Use it when an agent needs to inspect logs, structured data, source code, or other text for temporal values.

Use cases

  • Extract timestamps from application logs
  • Audit date literals in source code
  • Review dates in JSON, YAML, CSV, or XML
  • Find publication and modification dates in HTML
  • Validate and sort extracted date values

Key features

  • Extracts dates and timestamps from supplied text
  • Reports notation, epoch values, and line and column positions
  • Supports format-specific rules for logs, code, HTML, and XML
  • Handles ISO, RFC 2822, Unix epoch, numeric, and written dates
  • Offers deduplication, date-order selection, and result limits
  • Runs over MCP stdio with no environment variables

Tools1

What Dates Le lets your agent do. Expand a tool for its parameters.

Verified live~556 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

8/8 checks healthy over the last 47d

What it can do

From the 1 tool this server returned when we ran it.

Read-only tools · 1
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age85 days
Maintainers1

Observed 2026-10-30 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · dates-le-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads1.5kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed1Callable tools this server registers over MCP.

How Dates Le works

What dates-le MCP server does

The dates-le MCP server exposes the project’s date-extraction engine through MCP. An agent sends document content to extract_dates, rather than asking the server to open a path. Results identify each match’s original notation, its timestamp when the value can be resolved, and its one-based line and column.

The shared parser covers common ISO 8601 forms, RFC 2822 values, Unix epochs, UTC strings, calendar dates, numeric dates, and dates with written English month names. It validates calendar values and ignores values that cannot be resolved. Ambiguous numeric dates use month-first interpretation by default, with an option to select day-first behavior.

How it works

The server communicates over MCP using stdio. It accepts content plus optional arguments: format, filename, dedupe, dateOrder, and maxResults. Results are limited to 500 by default; when more matches exist, the response includes meta.truncated.

Format hints add specialized detection rules without excluding the shared rules. Log and plain-text inputs can recognize timestamped log lines, syslog timestamps, and Apache access-log timestamps. JavaScript and TypeScript inputs also inspect date-related calls such as new Date(), Date.parse(), moment(), dayjs(), and DateTime.fromISO(). HTML adds support for datetime attributes, date-bearing meta tags, and JSON-LD publication or modification fields. XML comments are skipped.

Setup and configuration

Run the published package with:

Terminal
npx -y dates-le-mcp

An MCP host can register it with a command of npx and the arguments -y and dates-le-mcp. Pinning a package version is supported, or install it globally with npm install -g dates-le-mcp and invoke dates-le-mcp directly. A basic health check pipes a JSON-RPC tools/list request to the process and confirms that extract_dates appears.

No environment variables, API key, or server-specific configuration is required. The dates-le MCP server processes the content supplied by the host, does not read files, and does not make its own network requests.

Tools and capabilities

The server provides one documented tool:

Supported input hints include JSON, YAML, CSV, XML, logs, plain text, JavaScript, TypeScript, HTML, TOML, Markdown, INI, CFG, CONF, and properties files. Other language identifiers still receive the shared date-pattern scan. Recognized epoch lengths include seconds, milliseconds, microseconds, and nanoseconds when they meet the documented plausibility rules.

Limitations and notes

Written month names are English only. Syslog timestamps have no year, so the current year is assumed. Timezone abbreviations use fixed offsets rather than zone-aware rules; IST is interpreted as India’s offset. Ambiguous numeric dates follow dateOrder, which defaults to mdy, while dotted numeric dates are always day-first. A ten-digit value in a plausible epoch range can still be indistinguishable from a phone number.

The dates-le MCP server is distributed as dates-le-mcp on npm and uses stdio rather than an HTTP endpoint. The README also identifies a registry entry for the server and documents use from VS Code agent mode, Claude Code, Cursor, Windsurf, and other MCP hosts.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dates Le

dates-le is an MCP server that connects MCP-compatible AI agents to a date-extraction engine. Its main tool, `extract_dates`, scans supplied logs, data, code, and other text, returning detected notation, resolvable epoch values, and one-based line and column positions without reading files or making network requests.

Install it by running `npx -y dates-le-mcp` from an MCP host configuration. You can also install it globally with `npm install -g dates-le-mcp` and invoke `dates-le-mcp` directly. The server requires no environment variables, API key, or additional configuration.

It provides `extract_dates`. Pass content and optionally specify format, filename, deduplication, date order, and the maximum number of results. The response includes each match’s notation, a timestamp when resolvable, and its one-based source position.

Yes, dates-le works with Cursor through its Open VSX extension or as an MCP server. For MCP use, point Cursor at `npx dates-le-mcp`; the server communicates over stdio and exposes `extract_dates`.

It uses the `dateOrder` option for numeric dates where both interpretations are possible. The default is `mdy`, and `dmy` selects day-first interpretation. Dates with a number greater than 12 are interpreted by the only possible month-day order, while dotted dates are always day-first.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDates Le AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dates-le?style=directory)](https://allmcps.com/mcp/dates-le)
HTML Embed
<a href="https://allmcps.com/mcp/dates-le"><img src="https://allmcps.com/api/badge/dates-le?style=directory" alt="Dates Le on AllMCPs" /></a>