claude-code-mcp
Verified Safeby techmad220
Overview
Exposes Claude Code CLI session history to Claude.ai or any MCP client for search and reference.
Installation
/home/techmad/claude-code-mcp/target/release/claude-code-mcp --transport sse --port 3100Security Notes
The server primarily operates locally, reading user session data from ~/.claude/. It uses SQLite with parameterized queries for indexing, preventing SQL injection. JSON-RPC tool calls are handled by predefined functions with argument validation, avoiding dynamic code execution. The SSE transport binds to 127.0.0.1 by default, limiting external exposure. The CORS policy is permissive ('Any') but is mitigated by the default local binding. No hardcoded secrets or obvious malicious patterns were found. File system access is scoped to user's .claude directory.
Similar Servers
claude-code-mcp
Acts as an MCP server to enable LLMs to run Claude Code CLI in one-shot mode, bypassing permissions for complex coding, file system, Git, and terminal operations.
claude-historian-mcp
Provides an MCP server for Claude Code to search and retrieve insights from conversation history, including past solutions, file changes, and tool usage patterns.
consult-llm-mcp
An MCP server that allows AI agents like Claude Code to consult stronger, more capable AI models (e.g., GPT-5.2, Gemini 3.0 Pro) for complex code analysis, debugging, and architectural advice.
mcpick
Manages MCP server configurations for Claude Code to optimize context usage and performance by enabling/disabling servers, creating backups, and using profiles.