
Claude Bridge Mcp
If you're bouncing between Claude Code in your terminal and Claude Chat in the browser, this eliminates the friction. It reads Claude Code's local session logs from `~/.claude/projects/` and surfaces them through MCP tools like `get_latest_output`, `list_sessions`, and `watch_session` for polling. Version 2.2 adds `send_to_session`, which writes prompts to a filesystem inbox that Claude Code can pick up cooperatively, and `setup_drive_sync` pushes session context directly to a Google Doc via the Drive API every 30 seconds so Claude Projects can read it without manual syncing. Useful when you want Chat or Projects to see what Code just built, or when you're coordinating work across both environments without copy-paste.
- tools
- 8
- transport
- STDIO
- last updated
- Apr 17, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
get_latest_outputgrab the most recent assistant message from any (or the most-recent) Claude Code session.
grab the most recent assistant message from any (or the most-recent) Claude Code session.
No parameter schema in public metadata yet.
list_sessionsenumerate all local sessions with project path, message count, and timestamps.
enumerate all local sessions with project path, message count, and timestamps.
No parameter schema in public metadata yet.
get_session_contextfetch the last N messages from a session for context injection.
fetch the last N messages from a session for context injection.
No parameter schema in public metadata yet.
watch_sessionpoll a session file every 2 seconds and drain new messages on demand.
poll a session file every 2 seconds and drain new messages on demand.
No parameter schema in public metadata yet.
write_contextsnapshot the last N messages into ~/.claude/bridge-context.md and ~/Documents/claude-bridge-context.md as clean markdown.
snapshot the last N messages into ~/.claude/bridge-context.md and ~/Documents/claude-bridge-context.md as clean markdown.
No parameter schema in public metadata yet.
start_auto_synckeep that markdown snapshot live: rewrites both files every 30 seconds (configurable) so a synced folder stays current without manual calls.
keep that markdown snapshot live: rewrites both files every 30 seconds (configurable) so a synced folder stays current without manual calls.
No parameter schema in public metadata yet.
setup_drive_syncauthorize direct Google Drive upload. Each sync tick then upserts a Google Doc named claude-bridge-context via the Drive API.
authorize direct Google Drive upload. Each sync tick then upserts a Google Doc named claude-bridge-context via the Drive API.
No parameter schema in public metadata yet.
send_to_sessionqueue a prompt for a specific Claude Code session via a cooperative inbox at ~/.claude/bridge-inbox/<session_id>.txt.
queue a prompt for a specific Claude Code session via a cooperative inbox at ~/.claude/bridge-inbox/<session_id>.txt.
No parameter schema in public metadata yet.
Sponsors
Readme
claude-code-bridge-mcp
MCP server that pipes Claude Code session output directly into Claude Chat — no more copy-paste between tools.
claude-code-bridge-mcp is a Model Context Protocol (MCP) server that reads Claude Code's local session logs from ~/.claude/projects/<project-hash>/ and exposes them as tools to any MCP-compatible client (Claude Desktop, Claude Chat, Cursor, etc.). Run Claude Code in your terminal and pull its latest output into Claude Chat with a single tool call.
Features
Details
- Repository
- github.com/rahuljava2807/claude-code-bridge-mcp
- Category
- Communication & Messaging
- Package
@rahulonramp2807/claude-bridge-mcp- Transport
- STDIO
- Registry
- MCP registry, active