ProductDecember 16, 20245 min read

Introducing Semfora Engine: Semantic Code Intelligence for AI

Today we're releasing Semfora Engine, a free semantic code analysis tool that gives AI agents deep understanding of any codebase—100% locally, no cloud required.

T

The Semfora Team

Engineering

Introducing Semfora Engine

Today we're excited to announce Semfora Engine, a free semantic code analysis tool designed from the ground up for AI coding assistants. It runs entirely on your machine—no cloud, no telemetry, no data leaving your system.

The Problem

AI coding assistants are powerful, but they're often working blind. They can see the code you're currently editing, but they lack deep understanding of your entire codebase—the call graphs, the dependencies, the patterns, the risks.

Every time you ask an AI to help with code, it's essentially starting from scratch. This leads to:

  • Incomplete context: The AI doesn't know what functions call what
  • Token waste: Sending entire files when only symbols matter
  • Privacy concerns: Many tools require sending code to the cloud

Our Solution

Semfora Engine provides a semantic layer that sits between your codebase and your AI tools. It:

  1. Indexes your entire codebase with semantic understanding
  2. Exposes 30+ MCP tools for AI agents to query
  3. Compresses output by 73% using our TOON format
  4. Runs 100% locally—your code never leaves your machine

Key Features

TOON Compression

Our Text Object-Oriented Notation (TOON) format reduces token usage by 73% compared to JSON while preserving all semantic information.

symbol: validateUser
kind: fn
lines: 15-45
calls:
  - hashPassword [await]
  - db.query [await, try]
risk: medium (3)

Call Graph Generation

Understand your codebase at a glance. Semfora generates complete call graphs showing:

  • What functions call what
  • Risk levels for each function
  • Circular dependencies
  • Orphaned code

MCP Server

Native support for the Model Context Protocol means any MCP-compatible AI assistant can use Semfora's semantic analysis directly.

Getting Started

Installation takes 30 seconds:

# Install via cargo or curl
cargo install semfora-engine
# or: curl -fsSL https://sh.semfora.com/install.sh | bash

# Index your codebase
semfora-engine index

# Configure your AI tools (auto-detects Claude Code, Cursor, etc.)
semfora-engine setup

What's Next

This is just the beginning. We're actively developing:

  • Semfora CVE for vulnerability detection
  • Semfora CI for CI/CD integration
  • Semfora Graph for visualization

Try Semfora Engine today—it's free, runs locally, and gives your AI assistant the context it needs to truly understand your code.