# ctx-sys

> Use this tool when you need to efficiently search and understand large codebases across multiple programming languages. It solves problems related to code discovery, entity extraction, and context retrieval by indexing code and serving relevant information through a local server. The tool accepts codebases as input and outputs ranked search results, making it ideal for developers working on complex projects who require precise and private code analysis.

Canonical page: https://skillsregistry.net/skills/david-franz-ctx-sys  
JSON: https://api.skillsregistry.net/v1/skills/david-franz-ctx-sys

## Description

Local hybrid RAG system that indexes codebases and serves context through an MCP server. Uses Tree-sitter AST parsing for precise entity extraction across TypeScript, Python, Rust, Go, Java, C/C++, and C#. Combines vector search, full-text search (FTS5), and graph traversal with reciprocal rank fusion for result ranking. Stores everything in a single SQLite instance with local Ollama embeddings, ensuring code never leaves the machine. Includes session management, architectural decision logging, and cross-session learning.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-05-21

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/david-franz-ctx-sys)
- **Repository:** <https://github.com/david-franz/ctx-sys>

## 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": "david-franz-ctx-sys"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/david-franz-ctx-sys` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/david-franz-ctx-sys/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
