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

@mooosamir/vkp-mcp

v0.1.3

Published

MCP server for Vector Knowledge Platform — semantic search over knowledge bases

Readme

@mooosamir/vkp-mcp

MCP server for Vector Knowledge Platform (VKB/VKP) — semantic search over knowledge bases, returning AI-ready text chunks.

Prerequisites

  1. A running Vector Knowledge Platform instance (local or hosted).
  2. An API key with search scope from the Customer Dashboard → API Keys.

Install in Cursor

Add to your Cursor MCP settings (~/.cursor/mcp.json or project .cursor/mcp.json):

Search all accessible projects:

{
  "mcpServers": {
    "vkb": {
      "command": "npx",
      "args": ["-y", "@mooosamir/vkp-mcp"],
      "env": {
        "VKP_BASE_URL": "http://localhost:8000",
        "VKP_API_KEY": "vkp_live_YOUR_KEY",
        "VKP_PROJECTS": "all"
      }
    }
  }
}

Search specific projects (comma-separated list):

{
  "mcpServers": {
    "vkb": {
      "command": "npx",
      "args": ["-y", "@mooosamir/vkp-mcp"],
      "env": {
        "VKP_BASE_URL": "http://localhost:8000",
        "VKP_API_KEY": "vkp_live_YOUR_KEY",
        "VKP_PROJECTS": "proj_default,proj_hr"
      }
    }
  }
}

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | VKP_BASE_URL | yes | Platform base URL (e.g. http://localhost:8000) | | VKP_API_KEY | yes | API key with search scope (vkp_live_...) | | VKP_PROJECTS | yes | "all" or comma-separated project ids (e.g. proj_default,proj_hr) |

Tool: get_knowledge

Retrieves answers and factual information from the knowledge base. The AI should use this tool whenever a question may depend on uploaded documents or internal knowledge.

Parameters

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | query | string | yes | Search query | | top_k | number (1–100) | no | Max chunks (default: 5) | | filters | object | no | Metadata filters |

Example

{
  "query": "What is the vacation policy?",
  "top_k": 5
}

Response

Returns two text blocks:

  1. Markdown — ready to inject into an AI prompt.
  2. JSON — structured chunks with rank, chunk_id, document_id, score, text, and metadata.

Local development

cd vkp_mcp
npm install
npm run build
VKP_BASE_URL=http://localhost:8000 VKP_API_KEY=vkp_live_... VKP_PROJECTS=all npm start

Publishing to npm

Scoped package @mooosamir/vkp-mcp publishes under the @mooosamir npm scope.

npm login
# Create org at https://www.npmjs.com/org/create
cd vkp_mcp
npm publish --access public

Troubleshooting

| Error | Fix | |-------|-----| | 401 invalid_api_key | Check VKP_API_KEY is correct and active | | 403 project_access_denied | API key is not scoped to the configured project(s) | | 403 insufficient_permission | API key needs search scope | | 429 rate_limit_exceeded | Wait and retry | | 404 on npm publish to @vkb/mcp | Publish under @mooosamir/vkp-mcp or add your user to the @vkb npm org | | no_accessible_projects | Create a project or set VKP_PROJECTS=all with a key scoped to all projects |

License

MIT