v0.5.3
Introduction
Local codebase map, symbol index, and module boundary checker for AI coding agents.
Septum (@dimassetoid/septum-mcp) is a local MCP server and CLI that helps AI coding agents navigate multi-language repositories and respect module dependency rules.
It indexes declarations, static imports, module ownership, and application entrypoints into a local SQLite database (.septum/septum.db).
What Septum Does
| Tool | What it does |
|---|---|
septum_map | Lists modules/domains, allowed and forbidden dependency rules, file relationships, and entrypoints without reading raw files. |
septum_symbol | Finds symbols across languages, reads only the relevant lines within a byte budget, and reports which files depend on a symbol. |
septum_slice | Traces static relationships from HTTP routes, controllers, jobs, or CLI commands across layers. |
septum_boundary | Checks proposed imports before writing (file), audits modules or the whole repo (domain, all), or checks staged Git changes (staged). |
Septum also includes an interactive MCP App UI (ui://septum/app.html via septum_app), five read-only septum:// resources, five workflow prompts, and CLI commands (init, sync, check, stats, hook pre-write, serve).
Supported Languages
- Declarations & Imports: TypeScript, JavaScript, Go, PHP (including Blade), Python, Rust, Java, C#, Ruby, and embedded scripts in Vue, Astro, and Svelte.
- TypeScript Fallback:
.tsand.tsxfiles automatically fall back to the official TypeScript compiler parser when Tree-Sitter hits syntax recovery on newer syntax. - Entrypoint Detection: Selected patterns in Go, Laravel, Symfony, NestJS, Express, Fastify, Hono, Elysia, Next.js App Router, FastAPI, Django, Flask, and MCP/CLI apps.
Static Analysis Limits (Important)
Septum analyzes source files and declared module rules statically—it does not execute your code.
- A static import confirms a dependency relationship, not that a specific function runs at runtime.
- Results can return
unknownorpartialwhen files are unindexed, stale, or use dynamic imports;unknownis never treated as approval. - Output defaults to compact
"text"mode (format: "json"is also available) and supportsmax_bytesresponse budgets.