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

@kotton/ask-kai-mcp

v1.0.1

Published

Stdio MCP bridge for Ask K.AI (proxies to the hosted remote MCP server).

Readme

@kotton/ask-kai-mcp

Stdio MCP bridge for Ask K.AI — the ENGIE Italy brand analyst.

This package is a tiny transport adapter for MCP clients that only support stdio (e.g. older Claude Desktop). It forwards every request to the hosted remote MCP endpoint over HTTPS using your personal Bearer key.

Most modern MCP clients (Claude Desktop ≥0.7, Cursor, VS Code, Continue) support remote HTTP directly — you do not need this package in that case. Use the direct remote configuration from your K.AI dashboard at /mcp-access.

Tester install guide (Claude Desktop)

1. Generate your MCP key

  • Log into the K.AI dashboard
  • Go to Ask K.AI → MCP Access (/mcp-access)
  • Click Generate Key
  • Copy the key (starts with kai_mcp_)

2. Edit Claude Desktop config

Open claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the ask-kai server block inside mcpServers:

{
  "mcpServers": {
    "ask-kai": {
      "command": "npx",
      "args": ["-y", "@kotton/ask-kai-mcp"],
      "env": {
        "KAI_MCP_KEY": "kai_mcp_YOUR_KEY_HERE"
      }
    }
  }
}

Replace kai_mcp_YOUR_KEY_HERE with your actual key.

3. Restart Claude Desktop

  • Fully quit Claude Desktop (not just close the window)
  • Re-open it
  • Start a new chat
  • Click the 🔌 (tools) icon — you should see ask-kai listed with its tools

4. Test it

Type: "Use ask-kai to show me ENGIE's share of search trend."

Troubleshooting

| Symptom | Fix | |---------|-----| | Tools not showing | Check Settings → Developer → MCP Log for ask-kai stderr | | KAI_MCP_KEY missing | Key not set in the env block of the config | | 401 Unauthorized | Key revoked or wrong; regenerate at /mcp-access | | 404 or connection error | Check your internet connection; the endpoint is hosted |

Optional env vars

| Var | Purpose | Default | |-----|---------|---------| | KAI_MCP_KEY | Your personal Bearer key | (required) | | KAI_MCP_URL | Custom endpoint URL | Production K.AI MCP server |

What it does

  • Reads JSON-RPC frames from stdin (one per line)
  • Adds Authorization: Bearer $KAI_MCP_KEY and Accept: application/json, text/event-stream
  • Forwards each request to the remote MCP endpoint
  • Writes the upstream JSON response back to stdout

No business logic, no credentials beyond your personal key. All authentication, rate-limiting, and data access lives on the hosted endpoint.

License

UNLICENSED — internal use.