🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

self-inspect-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

self-inspect-mcp

MCP server for Self-Inspect: one keyless tool that returns a single self-inspection metathought for what your agent is currently doing. Calls the public api.ejentum.com/self-inspect endpoint, or runs the published heuristic fully offline with SELF_INSPECT

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

self-inspect-mcp

npm MCP Registry

MCP server exposing one tool, self_inspect. The agent passes a one or two sentence description of what it is doing; the tool returns a single self-inspection metathought (a concrete self-check) or a no-match note. Keyless and free.

What it does, measured: in a 30-turn design session (Claude Sonnet 4.6), agents calling self_inspect each turn surfaced ~3.5x more decision-forks (assumptions, edge cases, preconditions) than the identical agent with no tool, the forks it would otherwise pass over in silence. Data, observations, and a one-command reproduction: evaluation.

By default it calls the public endpoint https://api.ejentum.com/self-inspect. It can also run the exact same published heuristic fully offline.

Install (stdio)

npx -y self-inspect-mcp

Claude Desktop / Claude Code / Cursor / Windsurf config

{
  "mcpServers": {
    "self-inspect": {
      "command": "npx",
      "args": ["-y", "self-inspect-mcp"]
    }
  }
}

No API key. No env block required.

The tool

self_inspect({ thought: string }) -> one metathought, or a no-match note.

Pass what you are doing, not the topic. Good: "I'm about to assert the default timeout is 30s from memory". Returns the matched metathought text to absorb and act on.

Configuration

env vareffect
SELF_INSPECT_LOCAL=1Run the vendored selector + CSV locally. No network. The selection is identical to the hosted endpoint because the core is copied, unmodified, from the canonical repo (scripts/vendor.mjs).
SELF_INSPECT_API_URLOverride the hosted endpoint URL (self-hosting / testing).

Auditability

The selector and the CSV that drive every answer are published in the parent repo and vendored here under vendor/. There is no hidden model and no scoring you cannot read. Run SELF_INSPECT_LOCAL=1 to confirm the offline answer matches what the endpoint returns.

License

MIT.

Keywords

mcp

FAQs

Package last updated on 11 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts