Code Context MCP Server

MCP server for code context from local git repositories

Local serverstdioTypeScript

What is the Code Context MCP Server?

MCP server for code context from local git repositories

What it actually does

  • Uses local git repositories instead of GitHub API
  • Stores data in SQLite database
  • Splits code into semantic chunks
  • Generates embeddings for code chunks using Ollama
  • Provides semantic search over code

Configuration

  • Node.js (v16+) - Git - Ollama with an embedding model

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
queryRepoClones a repository, processes code, and performs semantic search:

How to install the Code Context MCP Server

{
  "mcpServers": {
    "code-context-mcp": {
      "command": "/path/to/your/node",
      "args": [
        "/path/to/code-context-mcp/dist/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js (v16+) - Git - Ollama with an embedding model

Example prompts to try

  • “Use Code Context MCP to queryRepo.”

Frequently asked questions

MCP server for code context from local git repositories Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.