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

@sniper.ai/mcp-knowledge

v3.0.1

Published

SNIPER MCP server for domain knowledge indexing and retrieval

Downloads

209

Readme

@sniper.ai/mcp-knowledge

npm version License: MIT

MCP server for domain knowledge indexing and retrieval in SNIPER-enabled projects. Indexes Markdown knowledge files from .sniper/knowledge/ and exposes them to Claude Code agents via search, list, and get tools.

Installation

npm install @sniper.ai/mcp-knowledge

Usage

Add the server to your Claude Code MCP configuration:

{
  "mcpServers": {
    "sniper-knowledge": {
      "command": "npx",
      "args": ["sniper-mcp-knowledge"]
    }
  }
}

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | SNIPER_KNOWLEDGE_DIR | .sniper/knowledge | Path to the knowledge files directory (must be within the project) |

MCP Tools

The server exposes three tools to Claude Code agents:

knowledge_search

Search the knowledge base using a text query. Returns matching entries ranked by relevance.

| Parameter | Required | Description | |-----------|----------|-------------| | query | Yes | Search query | | max_results | No | Maximum number of results (default: 10) | | max_tokens | No | Maximum total tokens in results (default: 4000) |

knowledge_list

List all knowledge entries, optionally filtered by topic.

| Parameter | Required | Description | |-----------|----------|-------------| | topic | No | Filter entries by topic |

knowledge_get

Get a specific knowledge entry by its ID.

| Parameter | Required | Description | |-----------|----------|-------------| | id | Yes | Entry ID |

MCP Resources

| URI | Description | |-----|-------------| | sniper-knowledge://topics | List all topics in the knowledge base | | sniper-knowledge://entry/{id} | Get a specific knowledge entry |

How It Works

  1. On first query, the server indexes all Markdown files in the knowledge directory
  2. The index is cached to knowledge-index.json in the knowledge directory
  3. When source files change, the index is automatically rebuilt
  4. Agents can search, list, and retrieve domain knowledge entries at runtime

Development

# From the monorepo root
pnpm build          # Build
pnpm dev            # Watch mode

Documentation

Full documentation is available at sniperai.dev.

License

MIT