Kontxt MCP Server

A Model Context Protocol (MCP) server that tries to solve condebase indexing (until agents can).

Local serverstdioPython

What is the Kontxt MCP Server?

A Model Context Protocol (MCP) server that tries to solve condebase indexing (until agents can).

The short version

  • Connects to a user-specified local code repository
  • Provides the (get_codebase_context) tool for AI clients (like Cursor, Claude Desktop)
  • Uses Gemini 2.0 Flash's 1M input window internally to analyze the codebase and generate context based on the user's client querry
  • Flash itself can use internal tools (list_repository_structure, read_files, grep_codebase) to understand the code
  • Supports both SSE (recommended) and stdio transport protocols
  • Supports user-attached files/docs/context from client's queries for more targeted analysis

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.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

A Model Context Protocol (MCP) server that tries to solve condebase indexing (until agents can). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.