claude_run
Send a prompt to Claude via the local CLI, enabling cross-validation of AI outputs from other backends or use when the MCP client is not Claude.
Instructions
Send a prompt to Claude via the local Claude Code CLI. Use this when the MCP client is NOT Claude (e.g. Cursor, Windsurf, Zed) or for cross-checking results from other AI backends. Uses cached Anthropic auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Claude model to use, e.g. "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5". Omit to use the default model. | |
| prompt | Yes | Prompt or question to send to Claude. | |
| timeout_seconds | No | Max seconds to wait for a response. | |
| working_directory | No | Ignored for Claude (always runs from homedir to prevent agentic mode). Kept for API compatibility. |