Gortex logo

Gortex

Indexes multi-repository code into a local knowledge graph and exposes focused code-intelligence tools through MCP.

Install Gortex

Run the project’s own setup commands, in order.

Setup steps from the project

gortex installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://get.gortex.dev | sh
    
  2. 2. Install
    irm https://get.gortex.dev/install.ps1 | iex
    
  3. 3. Install
    gortex install                          # one-time machine setup (MCP, skills, slash commands)
    
  4. 4. Start the server
    gortex daemon start --detach            # background daemon
    
  5. 5. Configure
    cd ~/projects/myapp && gortex init      # per-repo: .mcp.json, hooks, community routing
    

Overview

gortex MCP server indexes local repositories into a persistent knowledge graph and exposes code intelligence to AI agents and IDEs through MCP. It parses 257 languages and supports symbol lookup, call chains, impact analysis, dataflow, contracts, refactoring, and code actions. A long-running local daemon maintains the graph, while agents retrieve targeted context instead of reading entire files. Reach for gortex when coding agents need cross-repository understanding, speculative edits, or graph-based answers with minimal external dependencies.

Use cases

  • Trace callers and callees before changing a symbol
  • Assess cross-repository blast radius for an edit
  • Find API contracts between service repositories
  • Preview speculative workspace edits without touching disk
  • Review pull requests with graph-grounded impact analysis

Key features

  • Persistent multi-repository code knowledge graph
  • Tree-sitter parsing for 257 languages
  • MCP tools for symbols, call chains, dataflow, and impact
  • Live editor overlays and speculative edit simulation
  • Cross-service contract detection
  • Local daemon with incremental filesystem updates

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

30/30 checks healthy over the last 19d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2.1kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Gortex works

What gortex does

gortex turns one or more local code repositories into a persistent, queryable knowledge graph for coding agents and IDEs. The graph represents functions, classes, references, call chains, HTTP routes, cross-service contracts, and related provenance. It supports multi-repository analysis by default, allowing references and contracts to cross repository boundaries when resolution has sufficient evidence.

Parsing is based on tree-sitter grammars for 257 languages, with additional resolver support for languages including Python, TypeScript, JavaScript, PHP, C#, Go, C, C++, Java, Kotlin, Swift, Zig, Rust, Ruby, Elixir, OCaml, and Haskell. Jupyter and Databricks notebooks are also supported. The engine is designed to return focused information for agent tasks rather than requiring broad file reads.

How it works

A single static binary runs the analysis engine and daemon on macOS, Linux, or Windows. The daemon stores its graph in SQLite, watches the filesystem for changes, and incrementally updates analysis. One daemon can serve multiple IDE windows. Repository state can be combined into a shared graph, with per-session isolation for multi-repository work.

MCP access is available through standard local setup and through the HTTP server’s versioned API and MCP Streamable HTTP endpoint. A web UI can visualize the resulting graph. Live editor overlays let tools read unsaved buffers as a shadow graph, while branching supports parallel speculative sessions.

Setup and configuration

Install the binary with the macOS/Linux shell installer or the Windows PowerShell installer. The installer detects the operating system and architecture, verifies the download, and places the executable on the PATH. Package-manager and source-build options are also available.

A typical setup installs the machine integration, starts the background daemon, tracks a repository, and initializes that repository’s agent configuration:

  • gortex install performs one-time machine setup.
  • gortex daemon start --detach starts the background process.
  • gortex track <repository> adds a repository to the graph.
  • gortex init creates per-repository MCP configuration and related hooks.

The initialization command can configure detected coding assistants, including Claude Code, Cursor, Windsurf, VS Code with Copilot, Continue, Cline, Codex CLI, Gemini CLI, and Zed.

Tools and capabilities

The MCP surface includes more than 100 tools, with the catalog configurable so an agent can use only the required subset. Capabilities include:

  • Finding symbols and tracing callers, callees, and call chains.
  • Calculating blast radius and checking likely effects of a change.
  • Inspecting dataflow, clones, contracts, and cross-service references.
  • Previewing edits and simulating edit chains without writing to disk.
  • Applying or validating refactoring-oriented code actions.
  • Reviewing pull requests with impact analysis, risk assessment, reviewer suggestions, and line-anchored findings.
  • Searching with store-native full-text and vector retrieval, with embedded GloVe-50d embeddings by default.

The graph can identify HTTP, gRPC, GraphQL, messaging, WebSocket, environment-variable, OpenAPI, and Temporal workflow contracts across repositories. Optional LLM provider support includes local llama.cpp, Anthropic, OpenAI, Ollama, Claude or Codex CLI subprocesses, Gemini, Bedrock, DeepSeek, and Requesty.

Limitations and notes

The main workflow is local and does not require a network connection or model download. Semantic search can use optional external or local backends, but the default embedded search path avoids those dependencies. Telemetry is off by default; when enabled, it sends anonymous tool or command counts to a configured endpoint and excludes code, paths, names, and exact counts. The binary also exposes a GCX1 wire format for compact, round-trippable responses.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gortex

gortex is an MCP server that connects AI coding agents to local repositories indexed as a code knowledge graph. Its main tools cover symbol lookup, call-chain tracing, blast-radius analysis, dataflow, contract discovery, speculative edits, refactoring actions, and pull-request review across supported languages and repositories.

Install gortex with the macOS/Linux shell installer or the Windows PowerShell installer, then run `gortex install`, start the daemon, track a repository, and run `gortex init` inside that repository. The installer verifies the downloaded binary and adds it to PATH.

Run `gortex init` in a tracked repository to create its MCP configuration and hooks. gortex can configure detected supported assistants, including Claude Code, Cursor, Windsurf, VS Code with Copilot, Continue, Cline, Codex CLI, Gemini CLI, and Zed.

Yes. gortex combines multiple repositories in one graph by default and can resolve references, call chains, and service contracts across repository boundaries. Session isolation is available for multi-repository work.

Yes. gortex runs as a local static binary and daemon on macOS, Linux, and Windows, with an on-disk SQLite graph store. Its basic workflow requires no external service or model download.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGortex AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gortex?style=directory)](https://allmcps.com/mcp/gortex)
HTML Embed
<a href="https://allmcps.com/mcp/gortex"><img src="https://allmcps.com/api/badge/gortex?style=directory" alt="Gortex on AllMCPs" /></a>