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-inspect/mcp-server

v6.19.0

Published

Read-only MCP server for local AgentInspect TraceFacts, causal failure, and Evidence tools

Readme

@agent-inspect/mcp-server

Read-only MCP server for the local coding-agent debug loop: list runs, summarize failures, inspect trees, evaluate contracts, and fetch TraceFacts (get_trace_facts) — without invoking agent tools or mutating traces.

Support level: Preview — see SUPPORT-LEVELS.md.

agent-inspect MCP server

When to use

  • Let Cursor, Claude Code, Codex, Gemini, or other MCP clients inspect local .agent-inspect/ evidence
  • Debug failed trajectories with the same TraceFacts used by CLI checks

When not to use

  • Invoking target-app tools through MCP
  • Uploading traces to a remote MCP host / collector
  • Expecting the server to edit application code

Install

npm install @agent-inspect/mcp-server
# optional helper:
npx agent-inspect mcp configure --client cursor

Example

npx @agent-inspect/mcp-server --dir .agent-inspect

Flagship tools (read-only)

| Tool | Role | |------|------| | list_recent_runs / list_recent_failures | Browse local runs | | get_run_summary / get_execution_tree | Bounded summaries | | get_first_causal_failure | Deterministic first causal failure | | get_contract_failures | TraceContract / check failures | | get_trace_facts | TraceFacts / semantic parity summary | | compare_runs | Structural diff | | create_share_checked_evidence | Share-gated Evidence package |

First causal failure ambiguity

Unlinked failures remain unrelated. get_first_causal_failure does not infer causal parents from event adjacency or timing alone, so ambiguous relationships remain explicit rather than being fabricated.

Results are redacted (share profile by default), bounded, and deterministic for the same inputs.

Privacy

  • Reads local trace directory only
  • Tool results go through a share-profile redaction / size boundary
  • Exposes configured local evidence to the connected MCP client — treat that client as a trust boundary
  • No trace mutation; no agent tool invocation; no default upload

Limitations

  • Preview surface — tool catalog and bounds may evolve
  • Not a gateway or remote upload service
  • Not a substitute for hosted APM

Docs

Troubleshooting

  • Empty resources: Confirm --dir points at JSONL traces
  • Security: Do not expose server beyond localhost without redaction review

Version

Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.

License

MIT