MCP Catalogs
HomeSephera screenshot

Sephera

by Reim-developer·77·Score 46

Fast Rust CLI for code metrics and AST-compressed context bundles with built-in MCP server.

developer-toolsai-llmproductivity
9
Forks
0
Open issues
1 mo ago
Last commit
2d ago
Indexed

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:

you:Analyze codebase metrics without cloning repositories
you:Generate compressed context bundles for AI model prompting
you:Trace dependency impact before making code changes
you:Integrate code analysis capabilities directly into AI agents via MCP
you:What languages does Sephera support?
you:How does the MCP server integrate with AI tools?

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 README
  • loc

    Count lines of code in a repository with language-aware metrics

  • context

    Create deterministic Markdown or JSON bundles with AST compression and focus paths

  • graph

    Analyze dependency graphs with reverse dependency queries and impact analysis

Comparable tools

tree-sitter-mcpcloctokeicodebase-insider

Installation

Install Sephera using Cargo:

cargo install sephera

Or 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.

Compare Sephera with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.