Submit

Code Context MCP Server

@fkesheh

a year ago
developer-tools
A Model Context Protocol (MCP) server for providing code context from git repositories
Overview

what is Code Context MCP Server?

Code Context MCP Server is a Model Context Protocol (MCP) server designed to provide code context from local git repositories, enabling developers to efficiently manage and search their codebases.

how to use Code Context MCP Server?

To use the Code Context MCP Server, clone the repository, install the necessary dependencies, and configure the environment variables. You can then run the server and use it with tools like Claude Desktop for semantic search.

key features of Code Context MCP Server?

  • Clones git repositories locally and processes branches and files.
  • Generates embeddings for code chunks to facilitate semantic search.
  • Uses SQLite for data storage, ensuring efficient data management.
  • Splits code into semantic chunks for better searchability.

use cases of Code Context MCP Server?

  1. Searching for specific code snippets across multiple repositories.
  2. Analyzing code changes and their impacts on different branches.
  3. Enhancing code understanding through semantic search capabilities.

FAQ from Code Context MCP Server?

  • What are the prerequisites for using Code Context MCP Server?

You need Node.js (v16+), Git, and Ollama with an embedding model installed.

  • How do I configure the server?

Set the environment variables for the SQLite database and repository cache directories as specified in the documentation.

  • Can I use this server with other tools?

Yes, it can be integrated with tools like Claude Desktop for enhanced functionality.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.