{"schemaVersion":1,"id":"github-com-oraios-serena","name":"Serena","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/github-com-oraios-serena/","officialUrl":"https://github.com/oraios/serena","isCatalog":false,"description":"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.","tasks":["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"],"categoryIds":["integrations","ai","quality"],"subcategoryIds":["integrations.code","ai.context","quality.review"],"tags":["LSP","Serena","MCP"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"A local MCP with a free LSP backend and the capabilities of the supported language server.","paidUsage":"The JetBrains Plugin is a separate paid backend; the AI model is billed separately.","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.","selectionGuide":{"purpose":"Find implementations and function call sites before changing an API","chooseWhen":["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"],"considerInstead":[],"requirements":["Activate the required project for every session.","uv for installation; LSP languages may require additional dependencies."],"limitations":["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."],"faq":[{"question":"What can you use for free in Serena?","answer":"A local MCP with a free LSP backend and the capabilities of the supported language server."},{"question":"What additional costs might arise with Serena?","answer":"The JetBrains Plugin is a separate paid backend; the AI model is billed separately."},{"question":"What do you need to use Serena?","answer":"Activate the required project for every session."},{"question":"How do you get started with Serena?","answer":"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."},{"question":"What should you consider when choosing Serena?","answer":"The documentation supports Codex CLI and Codex App, including the codex context."},{"question":"Which Serena capabilities depend on LSP and the paid JetBrains backend?","answer":"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."}],"related":[],"sources":["https://github.com/oraios/serena","https://oraios.github.io/serena/02-usage/030_clients.html","https://oraios.github.io/serena/02-usage/020_running.html","https://raw.githubusercontent.com/oraios/serena/main/LICENSE","https://raw.githubusercontent.com/oraios/serena/main/README.md"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["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":["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."],"checks":["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."],"goal":"Example workflow with Serena: Find implementations and function call sites before changing an API."},"sources":["https://github.com/oraios/serena","https://oraios.github.io/serena/02-usage/030_clients.html","https://oraios.github.io/serena/02-usage/020_running.html","https://raw.githubusercontent.com/oraios/serena/main/LICENSE","https://raw.githubusercontent.com/oraios/serena/main/README.md"],"checkedAt":"2026-10-03","reviewScope":"Purpose and published terms were reviewed against the cited primary sources. This product page does not confirm execution or testing in every environment.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Local MCP for code","kind":"mcp","pricingNote":"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.","notes":"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.","labeledSources":[{"url":"https://github.com/oraios/serena","label":"Source code"},{"url":"https://oraios.github.io/serena/02-usage/030_clients.html","label":"Source: oraios.github.io"},{"url":"https://oraios.github.io/serena/02-usage/020_running.html","label":"Source: oraios.github.io"},{"url":"https://raw.githubusercontent.com/oraios/serena/main/LICENSE","label":"License"},{"url":"https://raw.githubusercontent.com/oraios/serena/main/README.md","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"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.","url":"https://opensource.org/license/mit"},{"id":"gpl-3","title":"GPL 3.0 — open-source code with copyleft","scope":null,"summary":"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.","url":"https://opensource.org/license/gpl-3.0"}],"entryIds":[],"composition":null}