S

Serena

Semantic code tools (find symbol, references, edit by symbol) backed by language servers.

🧠 Code understandingGitHub stars31,414Updated 2026-11-15Auth: noneGitHub ↗
Runner-up · best for code understanding

See the pick for the verdict.

Test results

Last passed 2026-10-21
Claude CodePassed2026-10-21 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · server reported v2.1.0 · connected in 2.8s
CursorPassed2026-10-21 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.19-6bbf2c4 · server reported v2.1.0 · connected in 2.0s
Claude DesktopPassed2026-10-21 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · server reported v2.1.0 · connected in 3.0s
ChatGPT (Codex)Passed2026-10-21 · install, connect, tools, agent taskTested with Codex CLI 0.162.0-alpha.17.2 · server reported v2.1.0 · connect time not recorded

Server package and resolved dependency versions: not recorded for these runs (our harness records them from Oct 19, 2026 on).

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?

Protocol: starts, 3 tools listed · 2026-10-21 · connected in 6.4s
🔁 Serena v2.1.0 (Oct 19, 2026) renamed a tool parameter and fixed Claude Desktop chat mode. Retested on v2.1.0 on Oct 21, 2026: passed in Claude Code, Cursor, ChatGPT (Codex) and Claude Desktop (found where compute_total is defined and where it is called). Earlier results (2.0.1.dev0, Oct 13-14) are in Test history.

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
Claude Desktop · Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0)
Date
Oct 21, 2026
The task we gave
Using only the serena MCP tools, look at the code repository at /workspace/timmy/harness/sandbox/coderepo. Find which file defines the function compute_total and which other file calls it. Reply with both file names.
What it promised
details not recorded for this run
What happened

3 tool calls recorded. The names were not stored on this run.

Tool result

{"content": [{"text": "<serena>\nYou have semantic coding functions/tools that you rely on heavily. Work resource-efficiently: don't read or\ngenerate content the task doesn't need.\n\nSome tasks require understanding a large part of the codebase; others need only a few symbols or a\nsingle file. Avoid reading whole files unless necessary \u2014 acquire information step by step, using\nthe symbolic functions to get an overview of symbols and their relations, then reading only the bodies\nyou need. Once you have read a full file, there is no point re-analysing it with the symbolic read\ntools \u2014 you already have it. \n\nFor searches beyond named symbols, you can use `fs.search_for_pattern` and flexible search for patterns in the codebase. In this way, you can first find candidates for symbols or files to explore,\nand then proceed with symbolic operations.\n\n\n\nSymbols are identified by their `name_path` and `relative_path`.\nYou can get an overview of the symbols in a file by using `lsp.get_symbols_overview`, or search for a specific symbol with `lsp.find_symbol`.\nYou only read the bodies of symbols when you need to (e.g. if you want to fully understand or edit it).\nFor example, if you are working with Python code and already know that you need to read the body of the constructor of the class Foo, you can directly\nuse `lsp.find_symbol` with name path pattern `Foo/__init__` and `include_body=True`. If you don't know yet which methods in `Foo` you need to read or edit,

Agent reply

The function compute_total is defined in billing.py, and it is called from utils.py. I found this with Serena's pattern search across the repository. billing.py has def compute_total(prices, tax_rate):, and utils.py imports it and calls it in return f"Total: {compute_total(prices, 0.08)}".
Verdict
Passed

Install

claude mcp add serena -- uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context ide-assistant

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/oraios/serena",
        "serena",
        "start-mcp-server",
        "--context",
        "ide-assistant"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/oraios/serena",
        "serena",
        "start-mcp-server",
        "--context",
        "ide-assistant"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.serena]
command = "uvx"
args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "ide-assistant"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-21Protocol (direct stdio)Protocol: starts, 3 tools listedserver reported v2.1.0
2026-10-21Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · server reported v2.1.0
2026-10-21CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.19-6bbf2c4 · server reported v2.1.0
2026-10-21Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · server reported v2.1.0
2026-10-21ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · server reported v2.1.0
2026-10-14Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta) · package version not recorded
2026-10-14ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · package version not recorded
2026-10-13Protocol (direct stdio)Protocol: starts, 3 tools listed2.0.1.dev0
2026-10-13CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.12-d47ca18 · package version not recorded
2026-10-13Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · package version not recorded

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop, ChatGPT (Codex)

Maker of Serena? It passed in Claude Code, Cursor, Claude Desktop, ChatGPT (Codex) on 2026-10-21. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/serena.svg)](https://toolpassed.com/mcp/serena/)

Tools seen by our harness (3)

activate_projectinitial_instructionsserena_repl
Featured