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

tdcv2-mcp

v0.1.6

Published

MCP server for TDCv2, a fake and test data generator: agents write a .tdc config and generate realistic mock, synthetic and test data locally — CSV, JSON, SQL; same config, same bytes.

Readme

tdcv2-mcp

An MCP server that lets an AI agent generate fake, mock, synthetic and test data with TDCv2: the agent writes a small .tdc config, the engine generates the rows on your machine, and the same config gives the same file byte for byte on every run. Nothing is sent anywhere — the server only runs the engine locally.

It is the same knowledge as the TDCv2 skill, as tools — for clients without a terminal, or that prefer tools to skills. The skill itself ships in this package: npx -y [email protected] install-skill puts it where your agent looks for skills (--help for the options).

Connect it

Claude Code:

claude mcp add tdcv2 -- npx -y [email protected]

Claude Desktop, Cursor and other clients — the usual mcpServers entry:

{ "mcpServers": { "tdcv2": { "command": "npx", "args": ["-y", "[email protected]"] } } }

Windows: use "command": "npx.cmd" if the client cannot start npx.

The server works in the folder the client starts it in — the project. It reads .tdc files and writes generated files only inside that folder. tdc_pack_add puts packs where the project's TDCv2 config says (by default tdcv2-packs/ in the project).

Tools

| tool | what it does | | :--- | :--- | | tdc_read_docs | the guide (read once), traps check does not catch, test code in five languages, several linked tables in one file, any reference page | | tdc_find_packs | data packs installed here, by words — the paths for <gen type="template"> | | tdc_pack_add | install packs for another language or country (fr, france) — tdcv2 pack add, after tdcv2 init in a project without a pack store | | tdc_check | every diagnostic with code, line, column, hint and "did you mean" | | tdc_generate | preview (at most 50 lines) or write the file; a failed <assert> comes back as row, message, condition, values | | tdc_peek | a short summary of a CSV, JSON or SQL file — rows, splits, ranges; a JSON object of arrays table by table, with every <x>_id checked against <x>s.id | | tdc_format | pretty-print a config like tdcv2 format |

Also a prompt, tdcv2_guide, and resources tdcv2://guide, tdcv2://traps, tdcv2://from-code, tdcv2://linked-tables.

Which engine

The project's own tdcv2 if it has one (npm i -D [email protected]), else the server's own dependency — the version this release is checked with. TDCV2_ENGINE=<package folder> pins one.

Checked

test/smoke.mjs drives the server through a real MCP client over stdio — every tool, the prompt, a resource — and checks that the file it writes is byte for byte the one the CLI writes. CI runs it on Linux and Windows.