Dates-LE
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Extract dates and timestamps from logs, data files and code, with their format and position.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวจากคนที่เข้าสู่ระบบ คะแนนเฉลี่ยขึ้นเมื่อมีรีวิว
- ผลตรวจเบื้องต้นของเราiผ่าน 2 จาก 2 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังใหม่มาก↓ 84/สัปดาห์ · ★ 1
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: เครื่องมือนักพัฒนา
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 2 จาก 2 ข้อ
- รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
- ทะเบียนไม่ได้ระบุ key ที่ต้องใส่
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"dates-le": {
"command": "npx",
"args": [
"-y",
"dates-le-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add dates-le -- npx -y dates-le-mcpหรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"dates-le": {
"command": "npx",
"args": [
"-y",
"dates-le-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"dates-le": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dates-le-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 11 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub nolindnaidoo ซึ่งเป็นเจ้าของ repo
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด 11 วันที่ผ่านมา
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
รีวิวจากผู้ใช้
ยังไม่มีรีวิว
เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi
- ดาวมากกว่า 65% ของอีก 5742 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 49% ของอีก 5742 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 5742 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Dates-LE ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 2 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด 11 วันที่ผ่านมา และส่งรุ่นล่าสุด (2.5.0) เข้า registry 34 วันที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี REA, Netdata, Front-End Checklist
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Dates-LE: Zero Hassle Date Extraction
Pull every date and timestamp out of the current file in one keystroke
Any text file — JSON, YAML, CSV, XML, TOML, Markdown, logs, HTML, JavaScript, TypeScript, Python, Go, and the rest
Useful? A star or rating is how other developers find it —
★ GitHub ·
What it does
Open a file, run Dates-LE: Extract Dates, and every date in the document lands in a new editor — deduplicate, sort, analyze, convert, filter, or validate it from there. Works in VS Code and in VS Code–based editors like Cursor and VSCodium (installable from Open VSX).
- Log analysis — timestamps from server logs: ISO, syslog, and Apache access-log formats
- Data review — dates and epochs from JSON, YAML, CSV, and XML
- Code audit — date literals and
new Date()/Date.parse()/moment()/dayjs()/DateTime.fromISO()arguments in JS/TS, including calls formatted across multiple lines
Install
| Where | What you get | Install |
|---|---|---|
| VS Code | The extraction, in your editor, on a keystroke | Marketplace |
| Cursor, VSCodium, Windsurf | The same extension | Open VSX |
| A terminal or a CI step | The same run over a whole tree, with exit codes | cargo install dates-le · crates.io |
| A terminal, via Node | The same command line, held to the Rust one byte for byte | npx dates-le · npm |
| Any MCP agent, via Node | extract_dates over stdio | npx dates-le-mcp · npm |
Use it from an AI agent
The same engine runs as an MCP server, so an agent can call it directly instead of you running a command.
| Editor | How |
|---|---|
| VS Code 1.101+ | Nothing to install — the extension registers extract_dates with agent mode |
| Claude Code | claude mcp add dates-le -- npx -y dates-le-mcp |
| Cursor, Windsurf, anything else | point it at npx dates-le-mcp |
extract_dates(content, format?, filename?, dedupe?, dateOrder?, kinds?, maxResults?)
Returns every date with its notation, epoch value where resolvable, and 1-based line and column, capped at 500 by default with meta.truncated. dateOrder (mdy or dmy, default mdy) decides a numeric date such as 05/01/2024 that could be read either way round. kinds chooses which kinds of date come back, and leaves unix out unless it is listed.
The server takes content and returns data — it reads no files and makes no network requests of its own. Published as dates-le-mcp on npm and as io.github.nolindnaidoo/dates-le in the MCP registry.
Configuring it by hand — any host with an MCP config file
Most hosts read a JSON config. Add one entry:
{
"mcpServers": { "dates-le": { "command": "npx", "args": ["-y", "dates-le-mcp"] } } }
-y skips the install prompt on first run. Pin a version if you would rather not track releases — dates-le-mcp@2.5.0.
Prefer not to go through npx on every launch? Install it once and point at the binary instead:
npm install -g dates-le-mcp
{
"mcpServers": { "dates-le": { "command": "dates-le-mcp" } } }
It speaks MCP over stdio and needs no environment variables, no API key and no configuration of its own. To check it before wiring it into anything:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx -y dates-le-mcp
That prints the tool list and exits — if you see extract_dates, the server works.
Supported formats
| Format | Language IDs | What gets extracted |
|---|---|---|
| JSON | json | Every recognized date pattern in the content |
| YAML | yaml, yml | Every recognized date pattern in the content |
| CSV | csv | Every recognized date pattern, cell by cell |
| XML | xml | Date patterns outside comments (inline and multiline comments are skipped) |
| Log / plain text | log, plaintext | Everything above plus YYYY-MM-DD HH:mm:ss log lines, syslog (Mon DD HH:mm:ss), and Apache access-log timestamps |
| JavaScript / TypeScript | javascript, javascriptreact, typescript, typescriptreact | Everything above plus string arguments to new Date(), Date.parse(), moment(), dayjs(), DateTime.fromISO() |
| HTML | html | Everything above plus datetime attributes, date-bearing tags, and JSON-LD datePublished/dateModified |
| TOML / Markdown | toml, markdown, md | Every recognized date pattern in the content |
| INI / properties | ini, cfg, conf, properties | Every recognized date pattern in the content |
| Anything else | every other language ID | Every recognized date pattern in the content |
Every document is read. A format only ever *adds* patterns to the shared ones, so a language ID this does not name — Python, Go, Rust, shell, SQL — is scanned with the shared patterns rather than refused. What it does not get is the format-specific extras: Jan 15 10:30:47 is a date in a log file and three words in a Python one.
Recognized date patterns: ISO 8601 in extended (2024-01-15T10:30:00Z, with optional milliseconds and offset), basic (20240115, 20240115T103045Z), week (2024-W03, 2024-W03-1) and ordinal (2024-015) form; RFC 2822 (Mon, 15 Jan 2024 10:30:00 GMT); Unix epochs in seconds, milliseconds, microseconds and nanoseconds, when `dates-le.kinds` includes `unix` (exactly 10, 13, 16 or 19 digits that land between 2001-09-09 and 2100, so a phone number, a request id or a card number is not a date in the 2100s or 2200s; digits embedded in a longer number, in a longer word such as a commit hash, or in the fraction of a float are never matched at all); UTC strings; bare YYYY-MM-DD; numeric dates with the day or the month first, separated by /, . or - (15/01/2024, 1/15/2024, 15.01.2024 14:00, 15-01-2024 3:30 PM), with an optional time; and dates with the month written out (15 January 2024, 3rd Feb. 2024, Jan 15, 2024, 15-JAN-2024). A numeric date is read the one way it can be when a number is over 12; only when both could be a month does dates-le.dateOrder decide, and dotted dates are always day first. Every numeric or written date is checked against the calendar, so 31/02/2024 is not a date, and a numeric year must fall within 1900–2099. Every occurrence is reported with its real line and column. Values that cannot be resolved to a timestamp are not extracted.
Timezone names are the fixed offsets GMT/UT/UTC/Z, the eight US abbreviations, and CEST, CET, BST, JST, AEST, IST. They are fixed, not zone-aware.
Known limitations: an ambiguous numeric date follows dates-le.dateOrder, which is month first unless you change it; written-out months are English only; syslog lines carry no year, so the current year is assumed; IST names three different zones and is read as India's +05:30; a bare 8-digit run is only a date inside 1900–2099, and a 10-digit number inside the epoch window cannot be told from a Unix time, which is why that kind is off unless you turn it on.
Across a folder or a workspace
Extract reads the document you have open. A scan reads many files from disk and gives one report: the project's dates, in time order.
- The whole workspace: run
Dates-LE: Extract Dates from Workspacefrom the command palette. - One folder: right-click it in the Explorer and choose
Extract Dates from Folder, or runDates-LE: Extract Dates from Folderand pick one.
Each date is listed once however it is spelled, the earliest first, with the spellings, how often it is written and where:
# Dates-LE workspace report
my-project · 3 file(s) read · 3 distinct date(s), 5 occurrence(s) in 3 file(s)
| Date | Written as | Occurrences | Files | Where |
|---|---|---|---|---|
2024-01-15 | 2024-01-15, 2024-01-15T00:00:00Z, January 15, 2024 | 3 | 2 | |
2024-03-01T08:30:00Z | 2024-03-01T10:30:00+02:00 | 1 | 1 | data/events.json · 2:13 |
2025-12-31 | 2025-12-31 | 1 | 1 | docs/release.md · 2:14 |
2024-01-15 (3)
docs/release.md· 1:9, 1:31src/config.ts· 1:17
The same date is one row. 2024-01-15, 2024-01-15T00:00:00Z and January 15, 2024 are one date written three ways, and the table says so. A date written with a time zone is a moment and is named in UTC, with the offset it was written with left in the "Written as" column. One written without a zone is named by what was written, so it is the same date on every machine. An ambiguous date such as 03/04/2024 is read the way dates-le.dateOrder says.
Every date is in the table. One written once is placed in its row. A repeated one gets a section below that lists each place.
That is with dates-le.showPositions on. It is off by default, and then each place is the file and how many times the date is in it: docs/release.md (2). The copy on the clipboard follows dates-le.clipboardIncludesPositions, as it does for Extract.
What a scan reads. Files come from disk, so an unsaved edit is not seen. A file over the safety size, or one that is not UTF-8 text, is left unread. It stops at 5,000 files or 10,000 listed occurrences. The report ends with a line for each thing it left out, so a short report is never mistaken for a clean project.
What it skips, and how to change that. Three switches are on by default, and each can be turned off on its own in Settings:
| Switch | Skips |
|---|---|
scanUseDefaultExcludes | Dependency folders, build output, tool caches and lockfiles. The full list is below |
| scanRespectGitignore | Whatever the project's .gitignore