Skip to main content

Multi-Workspace MCP Memory Server for GitHub Copilot with automatic re-indexing

Project description

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.


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 .vscode/settings.json:

{
  "mcp.servers": {
    "codemind": {
      "command": "python",
      "args": ["D:/path/to/codemind/codemind.py"]
    }
  }
}

3. Reload

Press Ctrl+Shift+P → "Developer: Reload Window"


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 ask naturally:

"Add authentication"

Copilot automatically:

  1. Searches existing code
  2. Finds src/auth/jwt.py
  3. Suggests modifying it instead of creating new files

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
Usage Guide How to use with Copilot
Changelog Version history
Tools Reference All 20 tools explained
Architecture Technical details
Examples Real-world scenarios
FAQ Common questions

Requirements

  • Python 3.10+
  • VS Code with GitHub Copilot
  • ~80MB for embedding model
  • ~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 🚀

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_codemind-2.0.3.tar.gz (47.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_codemind-2.0.3-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_codemind-2.0.3.tar.gz.

File metadata

  • Download URL: mcp_codemind-2.0.3.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_codemind-2.0.3.tar.gz
Algorithm Hash digest
SHA256 33ccfa2e71b33871f13893f6aef48b05cccca1618308fad99ac83e8974f722bf
MD5 82f3ed7c9e84c55492f41abfb601d8ab
BLAKE2b-256 e97611bc7c51b43182493510dc722dd8551aec262c0d488deb96807190329779

See more details on using hashes here.

File details

Details for the file mcp_codemind-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: mcp_codemind-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_codemind-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e15663637bf08fc9b54eed0a67f80d8c7cbba3cea9c22bced34e6618def8294
MD5 62f1290225aa9d733d1ad13d83cf0b9f
BLAKE2b-256 51ce407f4116af69729aa59a21d9bd2b951b66f4899675d2b471f869ccacd75a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page