
Sephera
by Reim-developer·★ 77·Score 46
Fast Rust CLI for code metrics and AST-compressed context bundles with built-in MCP server.
Overview
Sephera is a focused Rust CLI tool that combines codebase metrics, AST-compressed context generation, and dependency graph analysis. It provides four main commands: loc for line counting, context for creating AI-ready code bundles, graph for dependency analysis, and mcp for exposing these capabilities through the Model Context Protocol. The tool supports direct repository URL analysis without cloning and offers AST compression techniques to reduce token usage by 50-70% while preserving API structure.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose Sephera when you need fast codebase analysis with AST compression for LLM contexts and want to expose these capabilities directly to AI agents through MCP without complex wrappers.
When NOT to choose this
Avoid Sephera if you need write access to databases (it's read-only only), or if you require a more general-purpose agent runtime rather than a specialized code analysis tool.
Tools this server exposes
3 tools extracted from the READMElocCount lines of code in a repository with language-aware metrics
contextCreate deterministic Markdown or JSON bundles with AST compression and focus paths
graphAnalyze dependency graphs with reverse dependency queries and impact analysis
Comparable tools
Installation
Install Sephera using Cargo:
cargo install sepheraOr download prebuilt binaries from [GitHub Releases](https://github.com/Reim-developer/Sephera/releases).
To use with Claude Desktop, add this to your config.json:
{
"mcpServers": {
"sephera": {
"command": "sephera",
"args": ["mcp"]
}
}
}FAQ
- What languages does Sephera support?
- Sephera supports Rust, Python, TypeScript, JavaScript, Go, Java, C++, and C with AST compression capabilities.
- How does the MCP server integrate with AI tools?
- The built-in MCP server exposes loc, context, and graph commands over stdio transport, allowing direct integration with Claude Desktop, Cursor, and other MCP-compatible clients without shell wrappers.
On Hacker News
Recent discussion from the developer community.
- Story by reimdev · 2025-06-03
- Story by reimisdev · 2026-04-03
- Story by reimisdev · 2025-08-22
Compare Sephera with
Last updated · Auto-generated from public README + GitHub signals.