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

@2kw/ai-mcp-server

v6.1.0

Published

MCP server for 2kw.ai — EU-hosted AI platform: OpenAI-compatible LLM gateway, schema-driven document extraction, transcription, agents with a knowledge base, and cost observability. 158 tools for Claude Code, Cursor, and Windsurf.

Readme

2kw.ai MCP Server

An MCP (Model Context Protocol) server for 2kw.ai — the EU-hosted AI integration platform. It gives AI coding assistants like Claude Code, Cursor, and Windsurf direct access to an OpenAI-compatible LLM gateway, schema-driven document extraction, audio transcription, custom agents with a knowledge base, and cost observability — 158 tools, straight from your editor.

Typical prompts once installed: "extract the line items from this invoice PDF", "create a schema for purchase orders and test it against these samples", "transcribe this call recording", "what did our extraction traffic cost this week?".

Installation

Claude Code

claude mcp add 2kw --env AI_2KW_API_KEY=sk_your_api_key -- npx -y @2kw/ai-mcp-server

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "2kw": {
      "command": "npx",
      "args": ["-y", "@2kw/ai-mcp-server"],
      "env": {
        "AI_2KW_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Windsurf

Add the same block to .windsurf/mcp.json. Any MCP-compatible client works with this configuration pattern — the server speaks stdio by default and streamable HTTP when MCP_TRANSPORT=http.

Get an API key from your 2kw.ai dashboard — paid plans start with a 7-day free trial.

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | AI_2KW_API_KEY | Yes | — | API key for the 2kw.ai platform (legacy alias: BACKBONE_API_KEY) | | AI_2KW_BASE_URL | No | 2kw.ai cloud API | Point at a self-hosted deployment (legacy alias: BACKBONE_BASE_URL) | | MCP_TRANSPORT | No | stdio | Transport mode: stdio or http | | MCP_HTTP_PORT | No | 3100 | Port for HTTP transport |

Available Tools

| Category | What your assistant can do | |----------|---------------------------| | Document conversion | Convert PDF, DOCX, XLSX, images, and 20+ formats to Markdown/text/HTML/JSON | | Data extraction | Run schema-driven extractions (sync/async), estimate tokens, re-run, inspect results | | AI Gateway | Chat completions and Responses (agent or direct model) through the OpenAI-compatible gateway, list available models | | Transcription | Transcribe audio (FLAC, MP3, MP4, OGG, WAV, WebM) to text, JSON, SRT, VTT | | Schemas | CRUD, versioning, labels, validation, and testing against sample documents | | Prompts | Versioned prompt management, labels, compilation, testing | | Datasets & experiments | Build datasets, run experiments, manage evaluators, record scores | | Agents | CRUD, versioning, labels, tool-approval history, and tool-catalog sync history | | Conversations | Create/inspect/delete conversations and replay their items for the responses API | | Knowledge base | CRUD, document upload/attach/versioning, hybrid search, and citation resolution | | Files | Upload, list, download, and delete files (agent input or knowledge documents) | | Observability | Analytics (spend, quality, providers, errors), traces, billing limits | | API docs | Browse the platform API documentation by section |

Why 2kw.ai

  • EU data residency — built-in models run GDPR-compliant and EU-hosted, operated by Manfred Kunze Development GmbH (Germany)
  • One platform — gateway, extraction, transcription, and observability share one API, one dashboard, one bill
  • Grounding scores — every extracted value links back to where it came from in the source document

Related

  • 2kw.ai — platform overview and pricing
  • Documentation — full API reference and guides
  • @2kw/ai — the 2kw.ai CLI (2kw, backbone, bb) for terminals and agentic workflows

License

Proprietary — see LICENSE for details.