Topos

listing.by

Measure complexity, coupling, risky data flows and agent cognitive load in code, and get concrete targets from SLOP to PLATINUM.

state.local.long (state.local.title)listing.badge.runs_with

listing.install

listing.local.explain

uvx topos-mcp

listing.local.needs listing.local.note

listing.share.h

listing.share.p_local

mcp.tc/i/topos

listing.about

Topos analyzes program structure and gives coding agents a quality signal they can act on. Each file gets four verdicts: Simple, Composable, Secure and Navigable. These roll up into a medal from SLOP to PLATINUM, with failure locations and next actions. It supports Python, Rust, JavaScript, TypeScript, C++ and Go.

It runs locally as a stdio server, installed with uvx topos-mcp from PyPI. The package bundles a Rust binary, and analysis runs on your machine without sending source code to an external model. No API key is needed. The composability score uses a dependency graph that requires gitnexus installed through npm. A separate topos CLI can register the server with supported agents such as Claude Code, Cursor and VS Code.

listing.can

  • Score files on simplicity, composability, security and navigability
  • Get a SLOP to PLATINUM quality medal per file
  • Find the worst structural problems in a repository
  • Verify whether an edit is a real improvement
  • Detect risky data flows and dangerous API reachability
  • Analyze Python, Rust, JavaScript, TypeScript, C++ and Go

listing.tools

listing.notools.local

listing.prompts

  • Use Topos to find this repository's worst structural problem and fix it.

  • Evaluate the src folder and tell me which files score SLOP.

  • Refactor this module, then verify with Topos that its score improved.

  • Which files in this project have risky data flows?

listing.setup.h

listing.setup.local

Claude Code

  1. Run this in a terminal, in your project folder:
claude mcp add --transport stdio topos -- uvx topos-mcp
  1. Start Claude Code and type /mcp. topos should show as connected.

Add --scope user to make it available in every project.

Claude Desktop

  1. Open Settings → Developer → Edit Config. It opens claude_desktop_config.json. Add:
claude_desktop_config.json
{
  "mcpServers": {
    "topos": {
      "command": "uvx",
      "args": [
        "topos-mcp"
      ]
    }
  }
}
  1. Save the file and restart Claude Desktop.

Needs uv (Python) on your computer. The file lives in ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows.

Cursor

Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):

mcp.json
{
  "mcpServers": {
    "topos": {
      "command": "uvx",
      "args": [
        "topos-mcp"
      ]
    }
  }
}

Needs uv (Python) on your computer.

VS Code

Or from a terminal:

code --add-mcp '{"name":"topos","type":"stdio","command":"uvx","args":["topos-mcp"]}'

Or commit it to the repo in .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "topos": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "topos-mcp"
      ]
    }
  }
}

Needs uv (Python) on your computer.

Devin Desktop

  1. Add it to ~/.config/devin/mcp_config.json (macOS and Linux) or %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "topos": {
      "command": "uvx",
      "args": [
        "topos-mcp"
      ]
    }
  }
}
  1. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

Codex

codex mcp add topos -- uvx topos-mcp

Or edit ~/.codex/config.toml directly:

config.toml
[mcp_servers.topos]
command = "uvx"
args = ["topos-mcp"]

Needs uv (Python) on your computer.

Gemini CLI

gemini mcp add topos uvx topos-mcp

This adds it to the current project. Add -s user to use it everywhere.

Any client

Most clients that start local servers accept this shape:

{
  "mcpServers": {
    "topos": {
      "command": "uvx",
      "args": [
        "topos-mcp"
      ]
    }
  }
}

Zed puts servers under context_servers in its settings, with the same command, args and env fields.

Needs uv (Python) on your computer.

listing.faq

Can I paste mcp.tc/i/topos into my MCP client?

No. Topos runs on your own computer, started by your client, so it has no web address to connect to. The quick link is the page to share; the install command is uvx topos-mcp.

Does Topos need an API key?

No. It doesn't declare any keys or environment variables. It runs with your user account's permissions, so check what its tools can reach.

Is Topos a remote or a local server?

Local. Your client starts it as a process on your computer with uvx topos-mcp, which needs uv (Python).

What can Topos do?

You can score files on simplicity, composability, security and navigability, get a SLOP to PLATINUM quality medal per file and find the worst structural problems in a repository.

Which clients can use it?

Any client that starts local servers: Claude Code, Claude Desktop, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. claude.ai and ChatGPT only connect to remote servers.

Who wrote this page?

mcp.tc's robot read Topos's public metadata (its package and repository pages), and an AI model drafted the text from it. A person reviews anything the checks can't confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.

listing.em.h

listing.em.lead_local listing.em.how

listing.em.badge

em.prev_lightem.prev_dark
Markdown
[![Topos on mcp.tc](https://mcp.tc/i/topos/badge.svg)](https://mcp.tc/i/topos)
HTML
<a href="https://mcp.tc/i/topos"><img src="https://mcp.tc/i/topos/badge.svg" alt="Topos on mcp.tc" height="20"></a>

listing.em.badge_note

listing.em.widget

HTML
<script src="https://mcp.tc/w/topos.js" async></script>

listing.em.widget_note

iframe

HTML
<iframe src="https://mcp.tc/embed/topos" title="Topos on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

listing.em.iframe_note

JSON

listing.em.json_local

https://mcp.tc/i/topos.json

listing.em.fields

listing.disclaimer_checked