# Code Sage

> Use this tool when you need to search and analyze large codebases semantically, solving problems like code exploration and documentation generation across multiple programming languages. It takes in code repositories and natural language queries as inputs, and outputs relevant code snippets and metadata, utilizing hybrid search capabilities and vector embeddings. Ideal for development workflows requiring intelligent code understanding, Code Sage provides a high-performance solution with minimal dependencies.

Canonical page: https://skillsregistry.net/skills/faxioman-code-sage  
JSON: https://api.skillsregistry.net/v1/skills/faxioman-code-sage

## Description

Code Sage is a high-performance semantic code search server written in Rust that combines BM25 keyword search with vector embeddings using RRF reranking for hybrid search capabilities. The implementation uses AST-based chunking via tree-sitter to intelligently split code into semantic units (functions, classes, methods) across 60+ programming languages and file types, with character-based fallback for unsupported formats. Built with embedded storage (USearch for vectors, Tantivy for full-text, Sled for metadata) requiring zero external dependencies, it supports multiple embedding providers including OpenAI, LM Studio, and Ollama, with automatic .gitignore respect and custom file extension support. The server exposes tools for code analysis, natural language search, index management, and status checking, making it valuable for code exploration, documentation generation, and development workflows requiring semantic understanding of large codebases.

## Trust

- **Trust score (0–1):** 0.54
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/faxioman-code-sage)
- **Repository:** <https://github.com/faxioman/code-sage>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "faxioman-code-sage"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/faxioman-code-sage` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/faxioman-code-sage/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
