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

@mykaarma/mykaarma-mcp-server

v0.0.8

Published

MCP server for MyKaarma API documentation

Downloads

8

Readme

MyKaarma API Documentation MCP Server

An MCP (Model Context Protocol) server that provides access to MyKaarma API documentation with dynamic enum generation and AI-generated summaries.

Features

  • Dynamic Enum Generation: Each documentation file becomes a category with an auto-generated enum
  • AI-Curated Summaries: Every document includes an AI-generated summary from file-summaries.json
  • Simple Interface: Just 2 tools for complete documentation access
  • Runtime Discovery: Categories are discovered at runtime from actual files in the docs folder

Available Tools

1. listCategories

Get all available documentation categories. Each file becomes a category with:

  • Generated Enum (e.g., HOW_TO_CREATE_A_CUSTOMER from how-to-create-a-customer.md)
  • AI Summary (from file-summaries.json)
  • Original Filename

2. getDocs

Get specific documentation by category enum. Takes the enum from listCategories and returns:

  • Full documentation content
  • Metadata (summary, filename, title)
  • Last updated timestamp

How It Works

Enum Generation Logic

  • how-to-create-a-customer.mdHOW_TO_CREATE_A_CUSTOMER
  • authentication-and-authorization.mdAUTHENTICATION_AND_AUTHORIZATION
  • mykaarma-webhook-events.mdMYKAARMA_WEBHOOK_EVENTS

Workflow

  1. Use listCategories to see all available documentation with their enums and summaries
  2. Pick an enum that interests you
  3. Use getDocs with that enum to get the full documentation content

File Structure

src/
├── index.ts        # MCP server with 2 tools
├── docService.ts   # Documentation service with enum generation
└── types.ts        # Simple type definitions

docs/               # 52 migrated documentation files
file-summaries.json # AI-generated filename → summary mapping

Example Usage

  1. List all categories:

    Tool: listCategories
    Returns: List of all 52 files with their enums and AI summaries
  2. Get specific documentation:

    Tool: getDocs
    Input: { category: "HOW_TO_CREATE_A_CUSTOMER" }
    Returns: Full documentation for creating customers

Documentation Source

All 52 documentation files were intelligently migrated from the official MyKaarma API documentation repository using Gemini AI to:

  • Evaluate content value and relevance
  • Generate concise summaries
  • Filter out non-essential files

Build and Run

# Build the TypeScript project
npm run build

# Start the MCP server
npm start

# Development mode
npm run dev

Version

v1.0.0 - Simplified to 2 tools with dynamic enum generation

Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
      "mykaarma-mcp-server": {
         "command": "npx",
        "args": ["-y","@mykaarma/mykaarma-mcp-server@latest"]
      },
  }
}