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

@agent-tags/mcp

v0.2.0

Published

Tags are active, composable, and atomic agent directions.

Readme

@agent-tags/mcp

The MCP server behind Tags. Expands #tag markers in user prompts into XML directives so agents receive composable, location-aware instructions.

The server exposes two tools:

  • parse_tags — always-on prompt expander. Replaces #tag markers with <tag/> references and prepends each tag's directive body once at the top.
  • load_tag_creation_skill — preflight for tag-authoring tasks. Returns the canonical guide for writing new .agents/tags/*.md files.

For end-user install instructions across OpenCode, Claude Code, Codex, Gemini CLI, Qoder, etc., see the project README. This document is for running the server directly, configuring a local checkout, or contributing.

Quick Use (Published Package)

The published package is @agent-tags/mcp. Most agents only need one line of config pointing at npx:

{
  "mcpServers": {
    "tags": {
      "command": "npx",
      "args": ["-y", "@agent-tags/mcp@latest"]
    }
  }
}

The server defaults workspace to process.cwd(), which the agent sets to the project root. No env var or flag is required for normal use.

Using Without npx

You may also install the MCP as a global package. This can make the config simpler. The local binary will be linked as tags-mcp:

npm install -g @agent-tags/mcp

Then, point your agent config to tags-mcp instead of npx:

{
  "mcpServers": {
    "tags": {
      "command": "tags-mcp"
    }
  }
}

Workspace Resolution

Resolved in this order, first match wins:

  1. --workspace <abs-path> CLI flag
  2. TAGS_WORKSPACE environment variable
  3. process.cwd()

Tags are then discovered from two locations:

  • ~/.agents/tags/*.{md,txt} — global, available everywhere
  • <workspace>/.agents/tags/*.{md,txt} — project-scoped, shadows globals on name collision

Filename = tag name. File body = directive content. Both #tag_name and #tag-name resolve to the same definition.

CLI Flags

| Flag | Effect | | --- | --- | | --workspace <path> | Override the workspace root. Useful when stdio cwd is unreliable. | | --no-builtin-tags | Disable the bundled tags below. Project / global tags still load. |

Built-in Tags

Bundled by default. Override by writing a global or project tag with the same name; disable entirely with --no-builtin-tags.

| Tag | Purpose | | --- | --- | | #fyi | Accept information silently as latest fact; don't act on it. | | #explore | Investigate the marked concept across the codebase before continuing. | | #example | Treat the list as non-exhaustive and infer the underlying pattern. | | #use-skill | Load a skill mentioned by the user, or find a relevant one. | | #btw | Incidental aside; keep as background, don't treat as a topic switch. |

Limits

  • One-pass non-recursive expansion — tags inside tag bodies are not expanded.
  • Code-fence stripping is basic CommonMark (triple backticks and inline backticks); tilde fences and indented code blocks are not recognized.
  • No YAML frontmatter parsing; the entire file body becomes the directive.
  • No file watching or hot reload; restart the server after editing tag files.
  • stdio transport only.