BASE

Serena

Serena

Local MCP for code · Free + paid

MCP tools for understanding and changing existing code: finding symbols and their references, reviewing structure, making targeted edits, and renaming. A practical candidate for large backend repositories and monorepos.

Resource illustration: Serena

Open resource ↗

What you can use for free

A local MCP with a free LSP backend and the capabilities of the supported language server.

Paid features and costs

The JetBrains Plugin is a separate paid backend; the AI model is billed separately.

Access and limitations

A free local MCP with an LSP backend by default. The alternative Serena JetBrains Plugin is paid, with a trial available. Your AI client/model is billed under its own terms. The free LSP backend's capabilities depend on the language and specific language server; dependency search, moves, and the interactive JetBrains debugger cannot be promised in the free version. For Codex App, the documentation recommends explicitly activating the project at the start of a session. A stateful instance has one active project; independent projects require separate instances.

Use cases

  • Find implementations and function call sites before changing an API
  • Replace a function body without reading the entire file
  • Understand an unfamiliar backend through symbols and dependencies

Example workflow

A possible workflow; this is not a report of hands-on testing.

Example workflow with Serena: Find implementations and function call sites before changing an API.

Before you start

  • A repository and a symbol whose implementations or call sites you need to find.
  • A description of the planned API change and affected components.

Steps

  1. Activate the relevant project in the current Serena session.
  2. Find the symbol's definition and references; investigate the impact of the change before editing.
  3. Make the agreed change, review the diff, and check related calls.

Check your result

  • All relevant usage sites are accounted for; the search applies to the active project.
  • Independent parallel projects do not share one stateful instance with a common active project.

Choosing Serena

Find implementations and function call sites before changing an API

Choose this when

  • Find implementations and function call sites before changing an API
  • Replace a function body without reading the entire file
  • Understand an unfamiliar backend through symbols and dependencies

Requirements

  • Activate the required project for every session.
  • uv for installation; LSP languages may require additional dependencies.

Things to consider

  • Costs and limits of free use: The JetBrains Plugin is a separate paid backend; the AI model is billed separately.
  • Terms of use: Current main: the Serena application is GPL-3.0-or-later; the SolidLSP library is MIT. The combined package is under GPL. The last MIT release of the application is v1.7.0; the transition does not change the license of earlier versions.
  • A stateful instance has one active project; independent parallel work requires separate instances.
  • Implementation/declaration search and refactorings vary by backend and language; JetBrains capabilities cannot be promised for the free LSP backend.

Frequently asked questions

What can you use for free in Serena?

A local MCP with a free LSP backend and the capabilities of the supported language server.

What additional costs might arise with Serena?

The JetBrains Plugin is a separate paid backend; the AI model is billed separately.

What do you need to use Serena?

Activate the required project for every session.

How do you get started with Serena?

Activate the relevant project in the current Serena session. Find the symbol's definition and references; investigate the impact of the change before editing. Make the agreed change, review the diff, and check related calls.

What should you consider when choosing Serena?

The documentation supports Codex CLI and Codex App, including the codex context.

Which Serena capabilities depend on LSP and the paid JetBrains backend?

The LSP backend provides symbols, references, and editing according to the specific language server's capabilities. The JetBrains backend separately adds advanced refactorings and interactive debugging; the plugin is paid with a trial, and the README does not support Rider or CLion. Serena supplies tools, while a separate LLM organizes their use.

License

Current main: the Serena application is GPL-3.0-or-later; the SolidLSP library is MIT. The combined package is under GPL. The last MIT release of the application is v1.7.0; the transition does not change the license of earlier versions.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

GPL 3.0 — open-source code with copyleft

You can run, modify, and sell the program. When distributing a GPL program or a derivative product based on it, recipients must receive the corresponding source code and GPL rights; GPL-covered code cannot be made closed-source. Ordinary use of a tool does not make your project or the independent outputs it creates subject to GPL.

License terms

Usage details

The documentation supports Codex CLI and Codex App, including the codex context. Activate the required project for every session. A stateful instance has one active project; independent parallel work requires separate instances.

Technologies and topics

  • LSP
  • Serena
  • MCP

Sources

Other resources