What are the prerequisites for Code Context MCP Server?
Node.js v16 or later, Git, and Ollama with an embedding model (recommended: `unclemusclez/jina-embeddings-v2-base-code`).
@fkesheh
Basic information
A Model Context Protocol (MCP) server for providing code context from git repositories
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"code-context-mcp": {
"command": "node",
"args": [
"-p",
"process.arch"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
A Model Context Protocol (MCP) server that provides code context from local git repositories. It clones repositories locally, processes branches and files, generates embeddings for code chunks using Ollama, and performs semantic search over code. Designed for developers who need to search and understand codebases offline.
Install Node.js v16+, Git, and Ollama with an embedding model. Clone the repository, install dependencies (npm install), and build (npm run build). Set DATA_DIR and REPO_CACHE_DIR environment variables. Configure with Claude Desktop by adding the server entry in claude_desktop_config.json. Use the queryRepo tool with parameters like repoUrl, branch, query, keywords, filePatterns, excludePatterns, and limit.
Node.js v16 or later, Git, and Ollama with an embedding model (recommended: `unclemusclez/jina-embeddings-v2-base-code`).
If you encounter incompatible architecture errors with `better-sqlite3`, rebuild it from source: `npm rebuild better-sqlite3 --build-from-source`. Ensure your Node.js architecture (`process.arch`) matches the binary, and set `npm_config_arch=arm64` and `npm_config_target_arch=arm64` in your shell profile if needed.
Use `curl` to send a test embed request: `curl http://localhost:11434/api/embed -d '{"model":"unclemusclez/jina-embeddings-v2-base-code","input":"Llamas are members of the camelid family"}'`. Try the localhost, 127.0.0.1, or IPv6 address if one fails.
The `branch` parameter is optional. If not provided, the tool automatically uses the repository's default branch.
Yes. The optional `keywords` parameter filters chunks that contain at least one of the specified keywords (case‑insensitive). The `filePatterns` and `excludePatterns` parameters accept glob patterns (e.g., `**/*.ts`) to include or exclude files.

Local-first credential broker for MCP. AI coding agents (Claude Code, Cursor, Codex…) call APIs, SSH and databases through scoped presets; secrets stay in your OS keychain and never enter the agent's context.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.
CronWatch records every run of your scheduled jobs in your own database, and speaks up when one is missed, fails, gets stuck, runs slow or costs too much. CronWatch is free and open-source.

AI-native payments for tools and APIs. Discover, pay for, execute, and publish monetized APIs directly from your agent, settled per call in USDC over x402, through the Model Context Protocol. payments · finance · x402 ·
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up
Comments