by haplollc
A map of your codebase for Claude Code: an on-device code graph with an MCP server, a CLI, a Mac app and a VS Code extension.
# Add to your Claude Code skills
git clone https://github.com/haplollc/VesaliusGuides for using mcp servers skills like Vesalius.
Last scanned: 10/24/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-24T08:42:18.668Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how Vesalius compares with popular alternatives.
Vesalius is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by haplollc. A map of your codebase for Claude Code: an on-device code graph with an MCP server, a CLI, a Mac app and a VS Code extension. It has 81 GitHub stars.
Yes. Vesalius passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/haplollc/Vesalius" and add it to your Claude Code skills directory (see the Installation section above).
Vesalius is primarily written in Swift. It is open-source under haplollc on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Vesalius against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Vesalius gives Claude Code a map of your codebase, indexed entirely on your Mac, so it answers questions about your code with exact file and line references in fewer tokens.
Install
brew install haplollc/tap/vesalius
vesalius setup
Try it
vesalius usages RepositoryEngine.ensureFresh
If this is useful, a star helps others find it.
When you ask an AI coding assistant about your project, something like "what breaks if I change this?", it works the way a new teammate would on their first day: search for a name, open a file, search again, open another file, and slowly piece the answer together. Every one of those steps costs time and tokens, and on a real codebase they add up fast. Vesalius gives your assistant a map instead. It reads your repository once, right on your Mac, and remembers how everything connects: which file uses which, who calls what, where a feature actually lives. Then Claude Code can ask it directly and get answers with exact file and line references, usually in one call instead of a chain of searches. In our benchmark that cut the tokens Claude Code spent answering real questions about real codebases roughly in half, and a blind AI judge scored the answers about the same. A map is useful to people too, so Vesalius also comes as a Mac app and a VS Code extension for exploring code yourself. Vesalius itself never uploads your code.
brew install haplollc/tap/vesalius
vesalius setup
That's it. Open Claude Code in any project and ask the way you normally would. It picks the right tool on its own:
Who calls
SessionStore.save, and what would I have to update if I renamed it? Where are in-app purchases handled? Are there any circular imports under src/? What's in PaymentService.swift?
Most answers come back in one call, with file:line evidence. Claude still opens or greps files when it wants to check something, just far less: in our benchmark, 2.65 search, read and shell calls per question instead of 7.2.
Here is setup in Vesalius's own repository:
$ vesalius setup
Setting up Vesalius 2.1.0 (/opt/homebrew/bin/vesalius)
✓ Claude Code: registered for every project
claude mcp add --scope user vesalius -- /opt/homebrew/bin/vesalius mcp
✓ Claude Code: now runs Vesalius's read-only tools without asking
mcp__vesalius__* in permissions.allow, ~/.claude/settings.json
✓ Claude Code: connected
– Codex: not installed
✓ Indexed Vesalius: 256 files in 3.6 s
Next: start Claude Code in a project (in a session that's already open, run /mcp), then ask, for example:
Who uses Theme, and what would I have to change to rename it?
vesalius doctor checks the connection any time
vesalius stats shows what Claude asked Vesalius
vesalius setup --undo reverses all of this
What setup changes, and nothing else:
vesalius mcp with Claude Code for every project (claude mcp add --scope user), and with Codex when
the codex command is installed.mcp__vesalius__* to permissions.allow in ~/.claude/settings.json, so Claude Code runs the five
read-only tools without asking. The rest of that file stays as it was, and --no-permissions skips this step.It never writes to your repository, your CLAUDE.md or your hooks. --dry-run shows the plan first, and
vesalius setup --undo reverses it.
You need a Mac with Apple silicon on macOS 15 or later, and Claude Code or another MCP client.
git clone https://github.com/haplollc/Vesalius.git
cd Vesalius
scripts/install-cli.sh # builds a release binary and installs it to ~/.local/bin
vesalius setup
The first build downloads SwiftSyntax and ArgumentParser (about 47 MB) and compiles SwiftSyntax in release mode, so it
takes several minutes: about 6 on an M2 in our runs, more on a busy machine. If ~/.local/bin is not on your PATH,
the script prints the line to add to your shell profile. To install somewhere else, pass a folder:
scripts/install-cli.sh ~/bin.
# What setup runs for Claude Code
claude mcp add --scope user vesalius -- vesalius mcp
# Share it with your team through .mcp.json instead. Each person approves it once when they next start Claude Code;
# until then `claude mcp list` shows "⏸ Pending approval".
claude mcp add --scope project vesalius -- vesalius mcp
# Always serve one repository, wherever Claude Code is started
claude mcp add --scope user vesalius -- vesalius mcp --repo ~/code/your-app
# Load every Vesalius tool on demand instead of two up front (see VESALIUS_MCP_PROFILE under Configuration)
claude mcp add --scope user vesalius -e VESALIUS_MCP_PROFILE=lean -- vesalius mcp
A new registration in the same scope needs the old one removed first: claude mcp remove --scope user vesalius.
Codex reads ~/.codex/config.toml (setup uses codex mcp add when that command is installed):
[mcp_servers.vesalius]
command = "vesalius"
args = ["mcp"]
Cursor reads ~/.cursor/mcp.json:
{ "mcpServers": { "vesalius": { "type": "stdio", "command": "vesalius", "args": ["mcp", "--repo", "/path/to/repo"] } } }
Any other MCP client that speaks stdio can run vesalius mcp --repo /path/to/repo; leave out --repo only if the
client starts servers in your project folder. If a client can't find vesalius, give its full path,
/opt/homebrew/bin/vesalius. The Mac app's Settings › Agents can also register Vesalius with Claude Code and Codex.
| Tool | Ask it… | What comes back |
|---|---|---|
usages |
who calls X? what uses this file? what breaks if I rename X? | Its uses as file:line + code, grouped by the function they sit in, including uses only type inference can see, minus same-name lookalikes, plus a completeness check. With change: rename | signature | remove: the edit list and the tests to run. |
feature_map |
where are purchases handled? how is data persisted? | The core types and functions grouped by role, with their decisive lines, framework and I/O calls, config and environment links, and call sites: a map that points straight at the right files and lines. |
outline |
what's in this file, type or function? | Declarations with signatures and line ranges, first doc sentences and calls in order, at about a fifth of the tokens of reading the file. |
architecture |
how is this project put together? | Targets and their product types, packages, folders, dependency direction, cycles and cross-target links, from the project files plus the code graph. |
dependency_cycles |
do we have circular imports? | Every cycle in scope with each edge's import line and where the imported names are used, plus what was scanned, so "no other cycles" needs no re-check. |
usages and feature_map are loaded up front, which adds about 900 tokens to Cla