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

@ushiradineth/veil

v0.1.9

Published

Veil is a fast MCP server and CLI for local code retrieval. It indexes a repo and exposes focused tools for files, symbols, search, lookup, web research, URL fetch, and git context.

Downloads

726

Readme

Veil MCP

Veil is a fast MCP server and CLI for local code retrieval. It indexes a repo and exposes focused tools for files, symbols, search, lookup, web research, URL fetch, and git context.

What It Is For

Veil is built for agents that need to move from prompt to implementation quickly.

It gives the agent indexed access to files, symbols, and relevant code chunks, so it can retrieve precise context before writing code. This reduces broad file reads and repeated text scans, improves token efficiency, and shortens time to first meaningful code change.

In practice, Veil acts as a local retrieval layer for coding agents: discover where code lives, resolve symbols, pull focused context, then execute edits.

Get Started

Requires Node.js 20 or later.

Add Veil to your MCP client config:

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

Install the Veil skill (optional, improves agent tool routing):

npx -y skills add https://github.com/ushiradineth/veil/tree/main/docs --skill veil

MCP Tools

Available Veil MCP tools:

| | Tool | Description | | --- | --- | --- | | - | status | Index status and staleness reasons | | - | refresh | Full or changed index refresh | | - | files | File path substring lookup | | - | symbols | Symbol name lookup | | - | search | Indexed code chunk search | | - | lookup | Intent-aware contextual retrieval with explainability | | - | discover | Combined status and focused retrieval in one call | | - | web_search | No-key web search (google, duckduckgo, wikipedia, github, reddit, deepwiki) | | - | fetch_url | Markdown-first URL content fetch | | - | git_status | Branch and workspace state | | - | git_log | Commit history lookup | | - | git_diff | Uncommitted or range diff lookup | | - | git_show | Commit details and optional patch | | - | gh_lookup | GitHub issues, PRs, checks, and repo context bootstrap via gh | | - | diagnostics | Cache and latency diagnostics |

CLI Examples

# status and refresh
veil cli status --workspace .
veil cli refresh --workspace . --mode changed

# local index retrieval
veil cli discover --workspace . --query "find build logic"
veil cli lookup --workspace . --query "where is parseNdjson defined"

# web and fetch
veil cli web-search --query "typescript language server" --limit 5
veil cli fetch-url --url https://example.com --format markdown

# git and github context
veil cli git-status --workspace .
veil cli git-log --workspace . --limit 10
veil cli git-diff --workspace .
veil cli git-show --workspace . --rev HEAD
veil cli gh-lookup --repo owner/repo --kind issues --query "is:open"

# diagnostics
veil cli diagnostics

MCP Client Configuration

codex mcp add veil -- npx -y @ushiradineth/veil@latest server

Install via CLI:

claude mcp add --scope user veil -- npx -y @ushiradineth/veil@latest server

See the Claude Code MCP guide for more details.

Add the following configuration to your opencode.json file. If you do not have one, create it at ~/.config/opencode/opencode.json (guide):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "veil": {
      "type": "local",
      "command": ["npx", "-y", "@ushiradineth/veil@latest", "server"]
    }
  }
}

Click to install:

Or install manually in Cursor Settings -> MCP -> New MCP Server with:

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