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

@capitalthought/agentsfirst-mcp

v0.4.0

Published

MCP server that scores websites and codebases against the Agents First framework. Use it to check how agent-ready any product is. https://agentsfirst.dev

Readme

@capitalthought/agentsfirst-mcp

MCP server that scores any website or codebase against the Agents First framework. Use it to check how agent-ready a product is — yours, a competitor's, a portfolio company's, an acquisition target's.

Five verb-first tools, read-only, structured returns. Sister package to @capitalthought/create-agents-first (the scaffold).

Quick start

Run with no install:

npx -y @capitalthought/agentsfirst-mcp

The server speaks MCP over stdio. Wire it into your agent runtime:

Claude Code

// ~/.claude.json (or .claude/mcp.json)
{
  "mcpServers": {
    "agentsfirst": {
      "command": "npx",
      "args": ["-y", "@capitalthought/agentsfirst-mcp"]
    }
  }
}

Cursor

// .cursor/mcp.json
{
  "mcpServers": {
    "agentsfirst": {
      "command": "npx",
      "args": ["-y", "@capitalthought/agentsfirst-mcp"]
    }
  }
}

Windsurf / Cline / generic MCP-compatible clients

Same shape — command: "npx", args: ["-y", "@capitalthought/agentsfirst-mcp"]. Drop into the client's MCP config.

Tools

All tools are read-only. The server never writes anywhere.

agentsfirst_prep

Prep Gate. Call this first, every session. Verifies the rubric is loaded (8 principles, 7 anti-patterns), Node >=20, and the canonical principles URL is reachable.

Params: none.

Returns: { ok, checks: [{ name, ok, message }], rubric_version, principles_url }.

score_codebase

Probes a local directory and scores it against the 8 principles. Looks for AGENTS.md, MCP/CLI/SDK presence, prep tooling, typed state, visible-output sinks, multi-model wiring, perspective dispatch, retry/recovery. 100 points total.

Params:

  • path (string, default cwd) — directory to score.
  • depth ('quick' | 'standard' | 'deep', default 'standard') — reserved for future heuristics.

Returns: { score, level, level_name, principles, anti_patterns_flagged, top_moves, probe_signals }.

score_website

HTTP-probes a URL for agent-discoverable surfaces and scores against 5 dimensions: Discoverability (25), Content Accessibility (20), Bot Access Control (15), Agent Capabilities (30), Visibility of Agent Integrations (10). Looks for robots.txt, /llms.txt, /AGENTS.md, /.well-known/*, OpenAPI surfaces, MCP server card, and markdown content negotiation.

Params:

  • url (string, required) — must be http:// or https://.

Returns: { score, level, level_name, dimensions, anti_patterns_flagged, top_moves, probe_signals }.

get_principle

Returns the canonical text of one principle.

Params:

  • slug — one of interface-first, contract-first, prep-gates, typed-state, visible-outputs, multi-model-verification, perspective-dispatch, autonomous-recovery.

Returns: { slug, name, summary, full_url, anti_patterns_defended }.

get_anti_pattern

Returns the canonical definition of one anti-pattern.

Params:

  • slug — one of lazy-wrapper, invisible-product, agents-without-rules, single-model-trust, slow-chatbot, ship-and-forget, god-server.

Returns: { slug, name, definition, opposes_principle, glossary_url }.

What the score means

Total maps to a 0–4 adoption level:

| Score | Level | Name | |------:|------:|------| | 0–10 | 0 | No agent access | | 11–25 | 1 | Agent as Afterthought | | 26–60 | 2 | Agent-Aware | | 61–85 | 3 | Agents First | | 86–100 | 4 | Agent-Driven |

Aim for Level 3 on net-new projects. Lift legacy projects 1 → 2 → 3 incrementally.

Full rubric: https://agentsfirst.dev/principles/. Glossary of anti-patterns and metrics: https://agentsfirst.dev/glossary/.

Local development

git clone https://github.com/capitalthought/agentsfirst
cd agentsfirst/tools/agentsfirst-mcp
npm install
npm run build
npm run prep    # sanity-check the prep gate
node dist/server.js   # boot the server (stdio)

Send a tools/list request over stdio:

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/server.js | head -20

Publishing

Same flow as @capitalthought/create-agents-first. Granular access token in 1Password Employee vault, scope-wide on @capitalthought, bypass-2fa: true. GitHub Actions auto-publishes on tag push (v0.1.0). Full reference: ~/icloud/Claude/ref-npm-publishing.md.

License

MIT — © 2026 Joshua Baer.