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

tdd-frd-mcp

v1.0.1

Published

AI-powered MCP server for generating Functional Requirements Documents (FRD) and Technical Design Documents (TDD)

Readme

FRD/TDD MCP Server

An MCP (Model Context Protocol) server that generates Functional Requirements Documents (FRD) and Technical Design Documents (TDD) using AI.

Features

  • 📋 Generate FRD - Create comprehensive functional requirements from project descriptions
  • 🛠️ Generate TDD - Generate technical design documents from existing FRD
  • 🤖 AI-Powered - Uses Google Gemini 2.5 Flash with automatic fallback (FREE, reliable!)
  • 🔌 MCP Compatible - Works seamlessly with GitHub Copilot and other MCP clients
  • Resilient - Automatically tries alternative models if one is unavailable

Installation

Option 1: Clone and Build Locally

git clone https://github.com/yourusername/frd-tdd-mcp.git
cd frd-tdd-mcp
npm install
npm run build

Option 2: Install from npm (when published)

npm install -g frd-tdd-mcp

Configuration

Option 1: Anthropic Claude (RECOMMENDED)

Why Claude?

  • 🏆 Best Quality - Superior comprehension and structure
  • 🚀 200K Context - Handles large inputs easily
  • 💰 Generous Limits - Better quota than free Gemini
  • Fast & Reliable - Consistent performance
  • 🔄 Multiple Models - Auto-fallback across 4 Claude versions

Available Claude Models (tries in order):

  1. claude-3-5-sonnet-20241022 - Latest Sonnet (Oct 2024) - Best balance

  2. claude-3-5-sonnet-20240620 - Previous Sonnet (June 2024)

  3. claude-3-opus-20240229 - Most capable model

  4. claude-3-haiku-20240307 - Fastest, most affordable

  5. Get API key: Anthropic Console

  6. Add to MCP config (%APPDATA%\Code\User\mcp.json):

{
  "servers": {
    "frd-tdd": {
      "command": "node",
      "args": ["c:\\path\\to\\frd-tdd-mcp\\build\\index.js"],
      "env": {
        "ANTHROPIC_API_KEY": "your-anthropic-key-here"
      }
    }
  }
}

Option 2: Google Gemini (Free Fallback)

  1. Get API key: Google AI Studio
  2. Add to MCP config:
{
  "servers": {
    "frd-tdd": {
      "command": "node",
      "args": ["c:\\path\\to\\frd-tdd-mcp\\build\\index.js"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-key-here"
      }
    }
  }
}

Option 3: Both (Best Reliability)

{
  "servers": {
    "frd-tdd": {
      "command": "node",
      "args": ["c:\\path\\to\\frd-tdd-mcp\\build\\index.js"],
      "env": {
        "ANTHROPIC_API_KEY": "your-anthropic-key-here",
        "GEMINI_API_KEY": "your-gemini-key-here"
      }
    }
  }
}

Priority: Anthropic → Gemini (automatic fallback if primary fails)

3. Restart VS Code

Usage

In GitHub Copilot Chat:

Generate FRD:

Generate an FRD for an e-commerce platform with shopping cart and payment processing

Generate TDD:

Generate a TDD from the current FRD

Available Tools

| Tool | Description | Parameters | |------|-------------|------------| | generate_frd | Generate Functional Requirements Document | description: Project description | | generate_tdd | Generate Technical Design Document | None (reads from FRD.md) |

Output

  • FRD.md - Generated in project root with complete requirements
  • TDD.md - Generated in project root with technical specifications

Development

# Install dependencies
npm install

# Run in development mode
npm start

# Build for production
npm run build

# Test the MCP server
npm run mcp

Project Structure

frd-tdd-mcp/
├── src/
│   ├── index.ts           # MCP server entry point
│   ├── interactive.ts     # Interactive CLI mode
│   ├── services/
│   │   └── aiServices.ts  # Groq AI integration
│   └── tools/
│       ├── generateFRD.ts # FRD generation logic
│       └── generateTDD.ts # TDD generation logic
├── build/                 # Compiled output
├── package.json
└── tsconfig.json

Requirements

  • Node.js 18+
  • Groq API key
  • VS Code with GitHub Copilot

License

MIT

Author

Your Name

Contributing

Pull requests welcome! Please ensure tests pass before submitting.

Support

For issues and questions, please open an issue on GitHub.