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

balm-shared-mcp

v0.0.8

Published

Model Context Protocol server for balm-shared library integration

Readme

BalmSharedMCP

Model Context Protocol (MCP) server for intelligent interaction with the shared-project frontend resource library.

Overview

BalmSharedMCP provides AI-powered assistance for developers working with the shared-project library, offering:

  • Project Scaffolding: Automated project creation with shared-project integration
  • Code Generation: Intelligent generation of components, pages, and configurations
  • Resource Analysis: Deep understanding of shared-project components and utilities
  • Best Practices: Contextual guidance and recommendations

Installation

# Install dependencies
npm install

# Set up Git hooks
npm run prepare

Development

# Start development server with file watching
npm run dev

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Lint code
npm run lint

# Format code
npm run format

Usage

As MCP Server

The server can be used with any MCP-compatible client:

# Start the server
npm start

Configuration

Create a config.json file in the project root:

{
  "sharedLibraryPath": "./path/to/shared-library",
  "templatesPath": "./templates",
  "defaultProjectConfig": {
    "apiEndpoint": "/api",
    "mockEnabled": true,
    "authEnabled": true
  },
  "logging": {
    "level": "info"
  }
}

Environment Variables

| Variable | Required | Description | Default | |----------|----------|-------------|---------| | WORKSPACE_ROOT | ✅ | Root directory of your workspace | ./ | | SHARED_LIBRARY_NAME | ❌ | Name of the shared library | my-shared | | SHARED_LIBRARY_PATH | ❌ | Override full path (takes priority) | - | | LOG_LEVEL | ❌ | Logging level | info |

Path Resolution: SHARED_LIBRARY_PATH || (WORKSPACE_ROOT + SHARED_LIBRARY_NAME)

Available Tools

Project Management

  • create_project: Create new projects with balm-shared integration
  • analyze_project: Analyze existing project structure

Code Generation

  • generate_crud_module: Generate complete CRUD business modules
  • generate_page_component: Generate page components

Resource Query

  • query_component: Query balm-shared component information
  • get_best_practices: Get best practices and examples

Architecture

src/
├── core/           # MCP server core implementation
├── managers/       # Project and resource managers
├── generators/     # Code generation engines
├── analyzers/      # Resource analysis tools
├── handlers/       # File system and template handlers
├── utils/          # Utilities and helpers
└── config/         # Configuration management

Testing

The project uses Vitest for testing with comprehensive coverage requirements:

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Generate coverage report
npm run test:coverage

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a pull request

License

MIT License - see LICENSE file for details.