Segundo Cerebro
Personal knowledge graph MCP server on Cloudflare D1 + Vectorize. Deploy your own sovereign second brain in one click — Claude captures atomic concepts, finds cross-domain analogies, and links them with substantive justifications. Latticework thinkin
What is Segundo Cerebro?
Segundo Cerebro is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to personal knowledge graph mcp server on cloudflare d1 + vectorize. deploy your own sovereign second brain in one click — claude captures atomic concepts, finds cross-domain analogies, and links them wi...
Personal knowledge graph MCP server on Cloudflare D1 + Vectorize. Deploy your own sovereign second brain in one click — Claude captures atomic concepts, finds cross-domain analogies, and links them with substantive justifications. Latticework thinkin
This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Personal knowledge graph MCP server on Cloudflare D1 + Vecto
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx segundo-cerebroConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Segundo Cerebro
Segundo Cérebro is a personal knowledge graph MCP server that runs entirely on your own Cloudflare infrastructure, combining a D1 SQLite database for notes and edges with Vectorize for semantic search. It enables Claude to capture atomic concepts, find cross-domain analogies, and link ideas with substantive justifications — building a latticework of interconnected knowledge over time. Setup is agent-driven: you clone the repo, authenticate with Cloudflare via Wrangler, and let your IDE provision all infrastructure automatically on the free tier.
Prerequisites
- Node.js 20 or higher
- A free Cloudflare account (no credit card required)
- Wrangler CLI installed globally (npm install -g wrangler)
- An MCP-compatible IDE such as Claude Code, Cursor, or Windsurf
- Git installed to clone the repository
Clone the repository
Clone the Segundo Cérebro repository and install dependencies.
git clone https://github.com/orobsonn/segundo-cerebro.git
cd segundo-cerebro
npm installAuthenticate with Cloudflare
Log in to your Cloudflare account using Wrangler. This opens a browser window for OAuth authentication.
npx wrangler loginRun the agent-driven setup
Open the project in your IDE and instruct Claude to configure the server. Claude reads the CLAUDE.md runbook and automatically provisions D1, Vectorize, Workers AI, and KV namespaces on your Cloudflare account. You will be prompted for your email and a passphrase (12+ characters).
Add the MCP server to Claude
After provisioning, the agent outputs your Worker URL. Add the server to Claude using the MCP HTTP transport with that URL.
claude mcp add --transport http segundo-cerebro https://<your-worker>.workers.dev/mcpAdd personalization instructions
Copy the personalization block generated by the agent into Claude Settings → Personalization → Custom instructions. This teaches Claude how to use your vault effectively.
Segundo Cerebro Examples
Client configuration
Add Segundo Cérebro to Claude Desktop using the HTTP transport pointing to your deployed Cloudflare Worker.
{
"mcpServers": {
"segundo-cerebro": {
"command": "claude",
"args": ["mcp", "add", "--transport", "http", "segundo-cerebro", "https://<your-worker>.workers.dev/mcp"]
}
}
}Prompts to try
Example prompts to capture knowledge, search your vault, and create cross-domain links.
- "Tech debt behaves like compound interest — the longer ignored, the higher the rate. Save this."
- "Show me everything I've captured about feedback loops."
- "This note on ecological succession has the same oscillatory pattern as my note on delayed negative feedback — link them."
- "Give me a vault overview: how many notes do I have and which domains are most represented?"
- "Search for notes related to systems thinking and compounding effects."Troubleshooting Segundo Cerebro
Wrangler login fails or browser does not open
Ensure you have a stable internet connection and try running `npx wrangler login --browser` to force browser launch. Alternatively, use `npx wrangler login` with the `--no-browser` flag and follow the printed URL manually.
Agent provisioning fails partway through
Re-run the setup by telling Claude 'Configure Segundo Cérebro' again. The runbook is idempotent — already-created resources are skipped. Check Cloudflare dashboard to confirm which resources exist before re-running.
Recall returns no results despite having saved notes
Run the `reembed` tool via Claude ('Re-embed all notes in my vault') to regenerate vector embeddings. This is needed if you migrated from an older version or if Workers AI embeddings were not generated at save time.
Frequently Asked Questions about Segundo Cerebro
What is Segundo Cerebro?
Segundo Cerebro is a Model Context Protocol (MCP) server that personal knowledge graph mcp server on cloudflare d1 + vectorize. deploy your own sovereign second brain in one click — claude captures atomic concepts, finds cross-domain analogies, and links them with substantive justifications. latticework thinkin It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Segundo Cerebro?
Follow the installation instructions on the Segundo Cerebro GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Segundo Cerebro?
Segundo Cerebro works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Segundo Cerebro free to use?
Yes, Segundo Cerebro is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Segundo Cerebro Alternatives — Similar Knowledge & Memory Servers
Looking for alternatives to Segundo Cerebro? Here are other popular knowledge & memory servers you can use with Claude, Cursor, and VS Code.
MemPalace
★ 52.6kA local AI memory system that stores all conversations verbatim and organizes them into navigable structures. It provides 19 MCP tools for AI assistants to search and retrieve past decisions, debugging sessions, and architecture debates automatically
Kratos
★ 25.7k🏛️ Memory System for AI Coding Tools - Never explain your codebase again. MCP server with perfect project isolation, 95.8% context accuracy, and the Four Pillars Framework.
Context Mode
★ 15.4kAn MCP server that preserves LLM context by intercepting large data outputs and returning only concise summaries or relevant sections. It enables efficient sandboxed code execution, file processing, and documentation indexing across multiple programm
Memu
★ 13.7kMemory for 24/7 proactive agents like OpenClaw.
MemOS
★ 9.3kMemOS (Memory Operating System) is a memory management operating system designed for AI applications. Its goal is: to enable your AI system to have long-term memory like a human, not only remembering what users have said but also actively invoking, u
Everos
★ 5.4kBuild, evaluate, and integrate long-term memory for self-evolving agents.
Browse More Knowledge & Memory MCP Servers
Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Segundo Cerebro in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Segundo Cerebro?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.