topos

topos

MCP.Pizza Chef: Krv-Labs

Topos helps you keep AI-written code easy to understand, safe to change, and well-structured. It works inside popular coding apps like VS Code, Claude Desktop, and Cursor. By analyzing complexity, dependencies, and risky data flows, it points out exact problems and guides your agent to improve the code. You install it via command line and connect it to your coding tools for continuous quality checks.

Coding

Use This MCP server To

Find structural problems in AI-generated code Improve code quality with targeted suggestions Check code complexity and dependencies Ensure code is easy to understand and maintain Verify improvements after code refactoring Integrate code quality checks in VS Code or Claude Desktop

README

Topos

the agent harness for structural code quality

Topos measures complexity, coupling, risky data flows, and agent cognitive load, then gives your agent a concrete target—from SLOP to PLATINUM.

Topos self-evaluation: SIMPLE, COMPOSABLE, SECURE, NAVIGABLE results for the core crates Install Topos MCP in VS Code PyPI License Topos MCP server ClawHub

Install · What it checks · Under the hood · Docs · Issues


Why Topos

Coding agents produce working code quickly. The harder question is whether the result is still easy to understand, safe to change, and well-fitted to the rest of the repository. Quality is the new currency.

Topos computes that signal from program structure—not from an LLM review or a style opinion—and returns concrete failure locations and next actions. It is fast enough to sit inside the agent loop: measure, edit, verify, repeat.

Tests check behavior. Topos checks whether the implementation is built to keep changing.

Grounded in category theory, written in Rust.

Install and Quick Start

One binary. Every supported agent harness. A clean way back out.

topos FAQ

Can I use this to check the quality of code my AI agent writes?
Yes — Topos analyzes your agent-written code to find structural issues and suggests improvements.
Can I use Topos with VS Code and Claude Desktop?
Yes — it integrates with VS Code, Claude Desktop, Cursor, and other MCP-compatible apps.
Do I need an API key or special account to use Topos?
No — Topos installs locally and does not require any API keys or accounts.
How hard is it to set up Topos?
It requires developer-level setup, including installing via command line and configuring your coding agents.
Does Topos support multiple programming languages?
Yes — it automatically detects Python, Rust, JavaScript, TypeScript, C++, and Go.
Can I uninstall Topos easily if I change my mind?
Yes — it offers a clean uninstall process that removes all installed components.
Will Topos slow down my coding workflow?
No — it runs fast enough to fit inside your coding agent’s loop for continuous quality checks.