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 🙏

© 2025 – Pkg Stats / Ryan Hefner

hommy-specs-mcp

v1.0.0

Published

MCP服务器,提供结构化软件开发规范生成功能

Readme

<<<<<<< HEAD

Hommy Specs MCP

English | 中文

A Model Context Protocol (MCP) server that provides structured software development specification generation services. This server replicates Kiro's spec mode functionality, enabling automatic generation of requirements documents, system design diagrams, and task lists based on feature descriptions.

Features

  • 🔧 Requirements Generation: Automatically generate structured requirements documents with user stories and EARS format acceptance criteria
  • 🏗️ System Design: Create comprehensive design documents with architecture diagrams, data models, and API specifications
  • 📋 Task Planning: Generate detailed, prioritized task lists following test-driven development principles
  • 🔌 MCP Integration: Seamlessly integrate with any MCP-compatible client (Claude Desktop, Cursor, etc.)
  • 📦 Easy Installation: Run directly with npx - no complex setup required
  • 🚀 CI/CD Ready: Built-in GitHub Actions support for automated testing and npm publishing

Quick Start

Using npx (Recommended)

npx hommy-specs-mcp

Installation

npm install -g hommy-specs-mcp

MCP Client Configuration

Add to your MCP client configuration (e.g., cursor or trae、augment):

{
  "mcpServers": {
    "hommy-specs-mcp": {
      "command": "npx",
      "args": ["hommy-specs-mcp"],
      "env": {}
    }
  }
}

Available Tools

create-requirements

Generate structured requirements documents from feature descriptions.

Parameters:

  • featureDescription (required): Description of the feature to be developed
  • context (optional): Project context and background information
  • constraints (optional): Array of constraints and limitations

Example:

{
  "featureDescription": "User authentication system with email login and OAuth support",
  "context": "Web application backend API",
  "constraints": ["Must support JWT tokens", "Password encryption required"]
}

create-design

Generate system design documents based on requirements.

Parameters:

  • requirements (required): Requirements document content
  • includeArchitecture (optional): Whether to include architecture diagrams (default: true)
  • includeDiagrams (optional): Whether to generate Mermaid diagrams (default: true)

create-tasks

Generate implementation task lists from design documents.

Parameters:

  • design (required): Design document content
  • testDriven (optional): Use test-driven development approach (default: true)
  • maxTaskComplexity (optional): Maximum task complexity level (simple/medium/complex)

validate-spec

Validate specification documents for completeness and consistency.

Parameters:

  • specContent (required): Specification document content to validate
  • specType (required): Type of specification (requirements/design/tasks)

Development

Prerequisites

  • Node.js >= 18.0.0
  • npm or yarn

Setup

git clone https://github.com/JochenYang/hommy-specs-mcp.git
cd hommy-specs-mcp
npm install

Development Scripts

# Start development server
npm run dev

# Build the project
npm run build

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Lint code
npm run lint

# Fix linting issues
npm run lint:fix

Testing

The project includes comprehensive testing:

  • Unit Tests: Test individual components and functions
  • Integration Tests: Test MCP protocol communication
  • End-to-End Tests: Test complete spec generation workflows
# Run all tests
npm test

# Run specific test types
npm run test:unit
npm run test:integration
npm run test:e2e

# Watch mode for development
npm run test:watch

Architecture

The server is built with a modular architecture:

  • MCP Server Core: Handles protocol communication and tool registration
  • Spec Generator Engine: Core business logic for document generation
  • Document Templates: Standardized templates for different document types
  • Validation Layer: Input validation and error handling
  • Transport Layer: Support for multiple transport protocols (Stdio, HTTP)

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Roadmap

  • [ ] Advanced template customization
  • [ ] Multiple output formats (PDF, HTML)
  • [ ] Integration with popular project management tools
  • [ ] AI-powered requirement analysis
  • [ ] Multi-language support

Built with ❤️ using TypeScript and the Model Context Protocol SDK.

hommy-specs-mcp

61588270b18cf618d5530bf44ea8a2f1e9b9426b