CodeMind

CodeMind

Enables GitHub Copilot to understand and navigate your codebase with 20 tools for search, context, dependencies, and safety checks across projects.

Category
Visit Server

README

CodeMind ๐Ÿง 

Give GitHub Copilot memory across all your projects

Tests Python License

CodeMind is an MCP server that gives GitHub Copilot 20 specialized tools for understanding your codebase.

<!-- mcp-name: io.github.MrUnreal/codemind -->


Why CodeMind?

Without it:

  • โŒ Copilot creates duplicate files
  • โŒ Forgets decisions you just made
  • โŒ Doesn't understand your project structure

With it:

  • โœ… Finds existing code before creating new files
  • โœ… Remembers architectural decisions
  • โœ… Understands dependencies and relationships
  • โœ… Warns about breaking changes

Quick Start

Option 1: Install from PyPI (Recommended)

1. Install the package

pip install mcp-codemind

2. Configure VS Code

Add to .vscode/settings.json:

{
  "mcp.servers": {
    "codemind": {
      "command": "python",
      "args": ["-m", "codemind"]
    }
  }
}

3. Reload

Press Ctrl+Shift+P โ†’ "Developer: Reload Window"

Done! ๐ŸŽ‰


Option 2: Install from Source

1. Clone and install

git clone https://github.com/MrUnreal/codemind.git
cd codemind
pip install -r requirements.txt

2. Configure VS Code

Add to your VS Code settings (Ctrl+Shift+P โ†’ "Preferences: Open User Settings (JSON)"):

{
  "mcp.servers": {
    "codemind": {
      "command": "python",
      "args": ["/full/path/to/codemind.py"],
      "cwd": "${workspaceFolder}"
    }
  }
}

Replace /full/path/to/codemind.py with the actual path to where you cloned CodeMind.

3. Reload VS Code

Press Ctrl+Shift+P โ†’ "Developer: Reload Window"

4. Test It

Open Copilot Chat and try:

Does this project have authentication?

Done! ๐ŸŽ‰

Need help? Check our Troubleshooting Guide


What You Get

20 AI Tools in 6 Categories:

Category What It Does
๐Ÿ” Search Find existing code, check if features exist
๐Ÿ“ Context Understand files, track changes, remember decisions
๐Ÿ”— Dependencies See what imports what, visualize structure
๐Ÿ“Š Analysis Code quality metrics, config auditing
โš ๏ธ Safety Check breaking changes before refactoring
๐Ÿ—‚๏ธ Management Index files, find TODOs, git history

How It Works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  You: "Add authentication"                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         v
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Copilot (with CodeMind):                                   โ”‚
โ”‚  ๐Ÿ” Searching existing code...                              โ”‚
โ”‚  รขล›โ€ฆ Found: src/auth/jwt.py (95% match)                      โ”‚
โ”‚  ๐Ÿ’ก "I found existing JWT auth. Should I extend it?"        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Without CodeMind:
โŒ Creates duplicate auth files
โŒ Doesn't know about existing code
โŒ No context of your architecture

You ask naturally โ†’ Copilot automatically uses CodeMind โ†’ Gets smart suggestions

No explicit tool calls needed!


Example Usage

๐Ÿ’ฌ "Does this project have authentication?"
โœ… Found in src/auth/jwt.py

๐Ÿ’ฌ "What will break if I rename UserModel?"
โš ๏ธ 7 files will be affected

๐Ÿ’ฌ "What depends on database.py?"
๐Ÿ“‹ Used by: models/, auth/, tests/

๐Ÿ’ฌ "Show me TODOs"
๐Ÿ“ Found 12 TODOs across 5 files

Multi-Workspace Support

Work with multiple projects simultaneously:

  • Each project gets its own database
  • No cross-contamination
  • Isolated configurations

Documentation

Document Purpose
Getting Started Start here! Complete beginner's guide
Usage Guide How to use with Copilot
Contributing How to contribute to CodeMind
Tools Reference All 20 tools explained
Examples Real-world scenarios
FAQ Common questions
Architecture Technical details
Changelog Version history

Requirements

  • Python 3.8 or higher
  • VS Code with GitHub Copilot
  • ~80MB for embedding model (downloaded automatically on first use)
  • ~1-5MB per project for database

Status

  • โœ… 20/20 tools operational
  • โœ… 110+ tests passing (99%+ rate)
  • โœ… Production ready
  • โœ… Actively maintained

Contributing

Contributions welcome! See CONTRIBUTING.md


License

MIT - See LICENSE


Built with: Python, FastMCP, sentence-transformers, SQLite

Making Copilot smarter, one project at a time ๐Ÿš€

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured