npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

timeline-truth

v0.2.1

Published

Open-source MCP server for compiling messy project planning inputs into evidence-preserving timelines.

Downloads

535

Readme

Timeline Truth

Status: v0.2.1 public release. MIT licensed. Requires Node.js 22 or newer.

Timeline Truth is a local MCP server for AI-agent TPM workflows: paste PRD/Jira/status notes, CSV exports, launch checklists, or rough planning text; get timeline JSON, validation gaps, assumptions, and Mermaid/Markdown renders.

It is intentionally narrow. Timeline Truth does not invent missing dates, owners, or dependencies. It preserves source_refs and makes planning uncertainty visible so humans can review the timeline instead of trusting a confident rewrite.

First Use

Use it when your planning input looks like this:

Discovery: 2026-06-01 to 2026-06-05 owner PM status planned
API contract: starts 2026-06-06 duration 4d owner Platform depends on Discovery
Checkout QA: owner QA depends on API contract
Launch decision milestone on 2026-06-17 owner PM

Ask your agent:

Use the timeline-truth MCP server. Call create_timeline with these notes as a
single source. Then summarize the timeline, list gaps and assumptions, and show
the mermaid_gantt output. Do not infer missing dates or owners.

The server returns normalized items, confidence reasons, grouped follow-up questions, gaps such as missing start/end dates, the default assumption that dates were not inferred, and portable Mermaid output.

For a quick local smoke test without configuring an MCP client, run the CLI:

timeline-truth examples/launch-checklist.md --format review

The CLI reads from stdin when no file is provided, and can print json, markdown, mermaid_gantt, mermaid_timeline, or review output.

For larger Markdown notes, create_timeline can parse only selected headings and ignore the rest:

{
  "sources": [
    {
      "id": "program-note",
      "type": "markdown",
      "path": "docs/program.md",
      "content": "..."
    }
  ],
  "markdown": {
    "sections": ["Timeline", "Follow-Ups"],
    "ignoreFrontmatter": true
  }
}

Markdown tables under those headings are parsed into items. Fuzzy targets such as W3-W4 May 2026 are preserved as time_window/date_text and flagged with an exact_date gap instead of being converted into invented dates. The response also includes noise_report.ignored counts for skipped frontmatter, prose, and table rows without target dates.

Why This Exists

Most timeline tools assume the plan is already structured. Real planning inputs usually are not. They are PRD snippets, Jira notes, launch checklists, weekly status updates, CSV exports, and Slack summaries.

Timeline Truth focuses on the handoff from messy planning material to a reviewable timeline:

  • preserve source_refs so every item can point back to evidence
  • flag missing dates, owners, and dependency problems instead of guessing
  • render portable Mermaid and Markdown artifacts
  • stay small enough to run inside local agent workflows

Why not just ask ChatGPT or Mermaid?

ChatGPT can draft a timeline, and Mermaid can render one. Timeline Truth does a smaller job: it gives the agent a deterministic compiler/validator so the output keeps evidence, gaps, assumptions, and repeatable render formats.

That matters when a TPM, PM, or engineering lead needs to review what is known, what is missing, and where each timeline item came from.

Install

Local checkout:

npm install
node src/mcp-server.js

Npm package config:

{
  "mcpServers": {
    "timeline-truth": {
      "command": "npx",
      "args": ["-y", "--package=timeline-truth", "timeline-truth-mcp"]
    }
  }
}

Optional global install:

npm install -g timeline-truth
timeline-truth examples/launch-checklist.md --format review
timeline-truth-mcp

If your global npm bin directory is on PATH, you can also configure the MCP server with "command": "timeline-truth-mcp". The npx --package config above is the most portable option because it does not depend on global shell setup.

For local development, use the checkout config in docs/MCP-SETUP.md.

MCP Tools

  • create_timeline: compile source content into timeline JSON plus Mermaid outputs.
  • validate_timeline: report missing dates, owners, unknown dependencies, circular dependencies, and impossible sequencing.
  • render_timeline: render a normalized timeline as mermaid_gantt, mermaid_timeline, markdown, or review_report.
  • refine_timeline: apply edits while preserving evidence (source_refs) and assumptions.

Examples

Realistic fixtures live in examples:

Each example has a compact expected-output JSON file and is covered by tests.

Current limitations

  • Text parsing is heuristic. It works best when each planning item is on its own line.
  • Markdown parsing supports heading filters and simple pipe tables, but rich nested documents are not fully parsed.
  • CSV and JSON are more reliable than free-form notes when exact fields matter.
  • There are no Jira, Confluence, Slack, or hosted imports in this release.
  • The server validates dependencies by item title, not by external issue keys.

Project Boundaries

Timeline Truth is not a project management system, scheduling optimizer, or visual planning app. It is a compiler and validator for timeline artifacts.

Good fits:

  • turning rough planning notes into a reviewable timeline
  • finding missing dates, owners, and dependency issues
  • generating Mermaid timelines for docs and status reports
  • preserving evidence during AI-assisted planning

Poor fits:

  • capacity planning
  • drag-and-drop timeline editing
  • automatic schedule generation from vague goals
  • replacing Jira, Asana, Smartsheet, or similar systems of record

Development

npm install
npm test
npm run check
npm pack --dry-run

See docs/RELEASE.md before publishing.

Contributing

Contributions are welcome when they keep the project narrow and evidence-first. Before adding features, check CONTRIBUTING.md.

License

MIT