{"_id":"@anton-lykhoyda/ask-claude-mcp","_rev":"2-c7ccbb7059bd7cd9ad3294740f6384d0","name":"@anton-lykhoyda/ask-claude-mcp","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@anton-lykhoyda/ask-claude-mcp","version":"0.1.1","keywords":["mcp","mcp-server","modelcontextprotocol","claude","anthropic","claude-code","codex","ai","ai-collaboration","llm","code-review","second-opinion"],"author":{"name":"Lykhoyda"},"license":"MIT","_id":"@anton-lykhoyda/ask-claude-mcp@0.1.1","maintainers":[{"name":"anton-lykhoyda","email":"lykhoyda@gmail.com"}],"homepage":"https://github.com/Lykhoyda/ask-llm#readme","bugs":{"url":"https://github.com/Lykhoyda/ask-llm/issues"},"bin":{"ask-claude-mcp":"dist/cli.js"},"dist":{"shasum":"286f686c9551c32fdc921a8ff48b26f276dbc6f5","tarball":"https://registry.npmjs.org/@anton-lykhoyda/ask-claude-mcp/-/ask-claude-mcp-0.1.1.tgz","fileCount":21,"integrity":"sha512-qjoowjY3YhTgJaoAv4pq8CS/e0ZU1Oj29kZALfEynRfhUxf9UjMwxU5wl1n8nNLHOZakJVtwC5bfS8eGrLon6w==","signatures":[{"sig":"MEYCIQDTYZ+IAuk/hbx3yYqDXAbPetILp/5K433gv71CnEWnZQIhAIueEuB05v1Wbmxht3E0hN501hk0VEi03wzaDCipWC9h","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146248},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./executor":{"types":"./dist/executor.d.ts","default":"./dist/executor.js"},"./register":{"types":"./dist/register.d.ts","default":"./dist/register.js"}},"gitHead":"29cfaf9be02af39a4e428a30ee44da4adfb16a3f","mcpName":"io.github.Lykhoyda/ask-claude","scripts":{"dev":"tsdown && node dist/cli.js","lint":"biome check src/ && tsc --noEmit","test":"vitest run","build":"tsdown","start":"node dist/cli.js"},"_npmUser":{"name":"anton-lykhoyda","email":"lykhoyda@gmail.com"},"repository":{"url":"git+https://github.com/Lykhoyda/ask-llm.git","type":"git","directory":"packages/claude-mcp"},"_npmVersion":"11.16.0","description":"MCP server for consulting Anthropic Claude Code CLI from Codex and other MCP clients","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.3.6","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.2","vitest":"^4.0.18","typescript":"^5.0.0","@types/node":"^22.19.13","@biomejs/biome":"^2.4.4","@ask-llm/shared":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/ask-claude-mcp_0.1.1_1783954109883_0.06978299700114277","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ask-llm/claude-mcp. The ask-claude-mcp executable name is unchanged."}},"time":{"created":"2026-07-13T14:48:29.769Z","modified":"2026-07-14T20:56:58.326Z","0.1.1":"2026-07-13T14:48:30.034Z"},"bugs":{"url":"https://github.com/Lykhoyda/ask-llm/issues"},"author":{"name":"Lykhoyda"},"license":"MIT","homepage":"https://github.com/Lykhoyda/ask-llm#readme","keywords":["mcp","mcp-server","modelcontextprotocol","claude","anthropic","claude-code","codex","ai","ai-collaboration","llm","code-review","second-opinion"],"repository":{"url":"git+https://github.com/Lykhoyda/ask-llm.git","type":"git","directory":"packages/claude-mcp"},"description":"MCP server for consulting Anthropic Claude Code CLI from Codex and other MCP clients","maintainers":[{"name":"anton-lykhoyda","email":"lykhoyda@gmail.com"}],"readme":"# @anton-lykhoyda/ask-claude-mcp\n\nMCP server for consulting Anthropic Claude Code CLI from Codex CLI, Cursor,\nOpenCode, and other MCP clients. It fills the reverse collaboration path:\nClaude can ask Codex through `ask-codex-mcp`, and Codex can ask Claude through\n`@anton-lykhoyda/ask-claude-mcp`.\n\n## Install for Codex CLI\n\n```bash\ncodex mcp add claude -- npx -y @anton-lykhoyda/ask-claude-mcp\n```\n\nThen ask Codex to use `ask-claude` for an independent review or second opinion.\n\n> This provider is for Codex and other non-Claude hosts. Claude Code rejects\n> nested Claude Code sessions; the unified orchestrator automatically suppresses\n> the Claude provider when Claude Code is already the host.\n\n## Prerequisites\n\n- Node.js 20 or newer.\n- [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code/getting-started)\n  installed, on `PATH`, and authenticated. The implementation is validated\n  against Claude Code 2.1.206 and requires a version that supports `--safe-mode`.\n\n## Tools\n\n- `ask-claude` — ask Claude for analysis, with optional native `sessionId`,\n  model override, and relative `includeDirs`.\n- `get-usage-stats` — in-memory token and duration totals.\n- `ping` — verify the MCP server and Claude CLI installation.\n\n## Safety boundary\n\nEvery consultation runs Claude Code with `--safe-mode` and an explicit\n`Read,Glob,Grep` tool list. Claude can inspect the current workspace and allowed\nrelative directories, but cannot run shell commands or modify files. Prompts are\nsent through stdin rather than command-line arguments.\n\n## Models and configuration\n\n- Default: `opus` (override with `ASK_CLAUDE_MODEL`).\n- Fallback: `sonnet` (override with `ASK_CLAUDE_FALLBACK_MODEL`). Claude Code's\n  native `--fallback-model` handles overload or availability failures.\n- Timeout: 600000 ms (override with `ASK_CLAUDE_TIMEOUT_MS`, then\n  `GMCPT_TIMEOUT_MS`).\n\nThe tool returns both human-readable text and a structured `AskResponse` with\nthe actual model, native Claude session ID, and token usage when the CLI reports\nit.\n","readmeFilename":"README.md"}