GOGO
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GOGO - Code Intelligence MCP Server
GOGO is a local-first Model Context Protocol (MCP) server that gives AI agents a searchable vector db of your codebase without requiring heavy hardware.
Features
Ultra-low memory footprint: 96-99% compression using Matryoshka Representation Learning and Binary Quantization
Hybrid search: Combines vector similarity, BM25 keyword search, and symbol lookups
Smart chunking: Tree-sitter powered extraction of functions, classes, and methods
Code intelligence: Symbol definitions, call graphs, reference finding, and more
Git-aware sync: Only re-indexes changed files (incremental updates)
Local-first: All processing happens on your machine via Ollama
File watching: Auto-sync when files change
Related MCP server: Codebase RAG MCP Server
Requirements
Python 3.11+
Ollama with
nomic-embed-textmodel4GB+ RAM
Installation
Install Ollama and pull the embedding model:
ollama pull nomic-embed-textThen from source:
git clone https://github.com/eccreativ/gogo-mcp.git
cd gogo-mcp
uv syncConfiguration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"gogo": {
"command": "uv",
"args": ["run", "gogo-server"],
"cwd": "/path/to/gogo-mcp"
}
}
}MCP Tools
Indexing
Tool | Description |
| Full index of a codebase with parallel tree-sitter parsing |
| Git-aware incremental sync (only changed files) |
| Remove index for a codebase |
| Auto-sync on file changes |
| Stop watching a directory |
Search
Tool | Description |
| Powerful unified search - combines vector similarity, BM25, symbol lookup, and reference search in one call |
| Semantic search with query intent classification |
| Find all usages of a symbol (calls, imports, inheritance) |
Code Intelligence
Tool | Description |
| O(1) lookup of where a function/class is defined |
| High-level architecture: entry points, key classes, file structure |
| What calls this function? What does it call? |
| Find symbols often used together (co-occurrence analysis) |
Usage Examples
Index a codebase
index_directory("/path/to/your/project")Search with super_grep
super_grep("authentication", "/path/to/project")Returns:
Symbol definitions matching "authentication"
All references/usages
Semantically similar code
Related symbols
Get codebase overview
get_codebase_overview("/path/to/project")Returns:
File count, symbol count, reference count
Symbol types breakdown (functions, classes, etc.)
Entry points (main functions, handlers)
Key classes with method counts
Explore a function
get_call_graph("handleLogin", "/path/to/project", direction="both")Returns:
Where the function is defined
All callers (who calls this)
All callees (what this calls)
Architecture
Chunking Pipeline
Parse code with tree-sitter (supports 30+ languages)
Extract functions, classes, methods as separate chunks
Augment with metadata (imports, signatures, docstrings)
Embed each chunk with Ollama
Vector Compression
Two-stage retrieval for speed + accuracy:
Stage 1: Hamming Distance Filter
Binary quantized vectors (256 bits)
Fast XOR + popcount
Returns top 100 candidates
Stage 2: Cosine Similarity Reranking
MRL-truncated float vectors (256 dimensions)
Precise ranking
RRF fusion with BM25 scores
Indexes
Index | Purpose |
Vector (binary) | Fast similarity search |
Vector (MRL float) | Precise reranking |
BM25 (FTS) | Keyword search |
Symbols | O(1) definition lookup |
References | Call graph, usages |
Supported Languages
Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, C#, Ruby, PHP, Swift, Kotlin, Scala, Lua, R, Julia, Elixir, Erlang, Haskell, OCaml, Clojure, Perl, Dart, and more via tree-sitter.
Performance
Memory: ~16 bytes per code chunk (vs 3KB for standard RAG)
Indexing: Parallel tree-sitter parsing + parallel embedding
Search: <100ms on 100K+ chunks
Compression: 96-99% vs full float32 vectors
Development
# Install dependencies
uv sync
# Run tests
uv run pytest
# Run server directly
uv run gogo-serverLicense
MIT License - see LICENSE file.
Credits
Built with:
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides semantic code search and retrieval capabilities for AI agents, enabling them to query codebases using natural language with automatic learning, hybrid search, and intelligent chunking of functions and classes.37 npm31ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to chat with codebases by indexing local directories or GitHub repositories into a vector database for semantic search and code retrieval.15MIT
- AlicenseBqualityDmaintenanceEnables AI agents to index local Python repositories and retrieve code intelligence through semantic search, caller lookups, hybrid context expansion, and visualization.5MIT
- AlicenseBqualityBmaintenanceEnables AI coding agents to build and query local repository memory, returning ranked files, context packs, relationship maps, semantic recall, and feedback-tuned search without uploading code.960 PyPI1MIT