serena

serena is an MCP server for Claude Code from atretyak1985/swarmery. Its token cost is not measured, scanned A, a copy of serena, Apache-2.0.

An MCP server that provides Serena's semantic code-navigation functions to an agent. MCP is a connection format that lets an agent use an external tool.

In plain words
What is it for?
It helps search symbols, find references, and collect refactoring context in a project.
Why use it?
It gives the agent symbol-level code information that ordinary text search does not provide.

MCP server for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: listed in a Claude config.

Part of the lsp-pack plugin — 1 MCP server shipped together

Good fit It helps search symbols, find references, and collect refactoring context in a project.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/atretyak1985/swarmery/lsp-pack-serena

Installing this writes the configuration, not the program: `serena` has to be on your PATH already, or the server will not start.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Installing this writes the configuration, not the program: `serena` has to be on your PATH already, or the server will not start.

Made for: Claude Code.

Or install lsp-pack, the plugin that ships this one along with the rest of its 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for serena

README.md
[![agentmods](https://agentmods.dev/badge/mcp/atretyak1985/swarmery/lsp-pack-serena/github.svg)](https://agentmods.dev/mcp/atretyak1985/swarmery/lsp-pack-serena)
Your own site
<a href="https://agentmods.dev/mcp/atretyak1985/swarmery/lsp-pack-serena"><img src="https://agentmods.dev/badge/mcp/atretyak1985/swarmery/lsp-pack-serena/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for serena

Your own site · 80×15
<a href="https://agentmods.dev/mcp/atretyak1985/swarmery/lsp-pack-serena"><img src="https://agentmods.dev/badge/mcp/atretyak1985/swarmery/lsp-pack-serena.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Security

Grade A, and why

serena scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to serena — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/lsp-pack/.mcp.json · 12 lines

What it actually says

{
  "serena": {
    "command": "serena",
    "args": [
      "start-mcp-server",
      "--context",
      "claude-code",
      "--project",
      "."
    ]
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 12 lines scan A 42c892c0959a

Subscribe to this mod's changes

serena is an MCP server published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed 2d ago), licensed Apache-2.0. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. It is 89% identical to serena, differing in 4 lines, and is treated as a copy.

Related

serena compared with mcp servers from other repositories

serena next to 6 mcp servers from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
serenaatretyak1985/swarmeryMCP server72d agoApache-2.0A—Claude Code
docs-langchainlangchain-ai/langchainMCP server149ktodayMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
component-explorermicrosoft/vscodeMCP server195ktodayMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
codex_message_boardopenai/codexMCP server134ktodayApache-2.0A—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
reference-langchainlangchain-ai/langchainMCP server149ktodayMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
playwright-testmicrosoft/playwrightMCP server99ktodayApache-2.0A—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
reamorluto/reaMCP server439ktodayMITA—Claude Code