Serena

Active
GitHub Python MIT

Description

Powerful MCP toolkit for coding that provides semantic retrieval and editing capabilities, serving as an IDE for AI agents

Key Features

  • Semantic code retrieval — symbol-level code understanding with relational structure, no need to read entire files
  • Cross-file refactoring — symbol-level rename, move, and reference lookup completed in a single atomic call
  • 40+ language support — LSP backend supports Python, Java, TypeScript, Go, Rust and 40+ other languages
  • MCP protocol integration — seamlessly connects with Claude Code, Codex, VS Code and other clients via Model Context Protocol
  • JetBrains plugin backend — leverages JetBrains IDE's powerful code analysis capabilities as an alternative backend
  • Agent-first tool design — high-level abstraction tool interfaces avoiding low-level operations like line numbers or primitive search

Use Cases

💡 Large codebase navigation: quickly locate symbols, function definitions, and reference relationships in complex projects
💡 Automated code refactoring: agents call Serena tools for cross-file renames and structural adjustments
💡 Code review enhancement: discover potential issues and dependency relationships through semantic analysis
💡 Multi-language project management: handle Python, TypeScript and other languages in the same workflow
💡 Code analysis in CI/CD pipelines: perform semantic-level code checks in automated workflows

Quick Start

```bash
pip install serena
serena --transport http --port 8080
```

Related Projects