Raysurfer Code Caching
MCP server for LLM output caching and reuse. Caches and retrieves code from prior AI agent executions, delivering cached outputs up to 30x faster.
Raysurfer Code Caching MCP Server
MCP server that caches and reuses code from prior AI agent executions. Search before coding, upload after success.
No install required — runs via npx.
Setup
Get your API key from the dashboard.
Claude Desktop
Add to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"raysurfer": {
"command": "npx",
"args": ["-y", "raysurfer-code-caching-mcp"],
"env": {
"RAYSURFER_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Claude Code
claude mcp add raysurfer -e RAYSURFER_API_KEY=YOUR_API_KEY_HERE -- npx -y raysurfer-code-caching-mcp
VS Code
Add to your .vscode/mcp.json:
{
"inputs": [
{
"password": true,
"id": "raysurfer-api-key",
"type": "promptString",
"description": "Raysurfer API Key"
}
],
"servers": {
"raysurfer": {
"command": "npx",
"args": ["-y", "raysurfer-code-caching-mcp"],
"env": {
"RAYSURFER_API_KEY": "${input:raysurfer-api-key}"
}
}
}
}
Tools
| Tool | Description |
|---|---|
raysurfer_search | Search for cached code matching a task (set public_snips: true to include community snippets) |
raysurfer_upload | Upload code after successful execution |
raysurfer_vote | Vote on cached code quality |
raysurfer_patterns | Get proven task-to-code patterns |
Resources
raysurfer://help- Help text about available tools and workflowraysurfer://status- Connection status and configuration
Development
bun install
bun run build
bun run dist/index.js
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Graph Tools
An interactive graph analysis toolkit with web visualizations and AI-powered analysis capabilities.
Lifecycle MCP Server
An MCP server for managing the software development lifecycle, with support for an optional external SQLite database.
Gemini Imagen 3.0
Generate high-quality images using Google's Imagen 3.0 model via the Gemini API.
SSH Server MCP
An MCP server that provides SSH-based remote management tools, acting as proxy
MCP Sourcify Server
Verify and retrieve smart contract source code using the Sourcify API.
Jupyter Notebook MCP Server
Interact with Jupyter notebooks, allowing for code execution, cell manipulation, and notebook management.
MCP RAG Server
A Python server providing Retrieval-Augmented Generation (RAG) functionality. It indexes various document formats and requires a PostgreSQL database with pgvector.
Code-Index-MCP
A local-first code indexer that enhances LLMs with deep code understanding. It integrates with AI assistants via the Model Context Protocol (MCP) and supports AI-powered semantic search.
Rollbar
Access Rollbar project data for error monitoring and debugging.
Databutton App MCP
Call your Databutton app endpoints as LLM tools with MCP.