Second Brain MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Second Brain MCPfind where the user authentication logic is"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧠 Second Brain MCP
Your code, but searchable like memories. Stop grepping, start remembering. A semantic search MCP server for your codebase—ask natural questions, get smart answers.
TL;DR
Second Brain MCP is a local server that indexes your code and other text-based files, allowing you to perform semantic searches using natural language. It runs as a Model Context Protocol (MCP) server, so you can interact with it from any MCP-compatible client. It uses OpenAI's embedding models to understand the meaning of your code, not just keywords.
🛠️ Tech Stack
This project is a TypeScript-based Node.js application.
Component | Technology | Key Libraries/Frameworks |
Application Runtime | Node.js | TypeScript, |
Database | SQLite |
|
Embeddings | OpenAI |
|
Development | Package Manager |
|
🚀 Quick Start
The following instructions are optimized for a Linux environment (Ubuntu/Debian).
Prerequisites
You must have Node.js (v20+) and npm installed.
Clone the repository
git clone https://github.com/RyanMaxiemus/second-brain-mcp.git cd second-brain-mcpConfigure Environment Variables
You will need an OpenAI API key. You can set it as an environment variable:
export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"Install Dependencies
Install all necessary Node.js dependencies.
npm installBuild the Application
Compile the TypeScript code to JavaScript.
npm run buildRun the Application
Launch the MCP server.
npm startThe server will be running and ready to accept connections from an MCP client.
🤝 Contributing
Found a bug? Have an idea for a new feature? We welcome all contributions!
Open an Issue: Before submitting a Pull Request, please open an issue to discuss the bug or feature you're working on. This helps prevent duplicate work and ensures alignment with the project's goals.
Fork and Branch: Fork the repository and create a new branch for your contribution.
Code and Commit: Write clean, well-documented code. Commit messages should be descriptive and follow a conventional format (e.g.,
feat: add support for local embeddings).Submit a PR: Submit a Pull Request against the
mainbranch. We'll review it as quickly as possible.
Let's make Second Brain the most intuitive code search tool available, together.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RyanMaxiemus/second-brain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server