Akka-Graph-Agent
A Claude Code kit for Akka SDK services that store data in Neo4j. It gives each teammate the same agent, the same docs and the same safety rules.
What is in the kit
| Path | What it does |
|---|
.claude-plugin/marketplace.json | Makes this repo a plugin marketplace named akka-neo4j-kit |
plugins/akka-neo4j/agents/akka-neo4j.md | The akka-neo4j subagent |
plugins/akka-neo4j/skills/ | 5 Neo4j skills, copied from neo4j-contrib/neo4j-skills at a fixed commit. See SOURCE.md. |
plugins/akka-neo4j/.mcp.json | The Neo4j MCP server, read-only, telemetry off |
template/.claude/settings.json | Project settings: installs the plugins, blocks deploy and database writes |
template/CLAUDE.md | Project rules: version traps and safety rules |
docs/ | Research notes for Akka and Neo4j (6 Nov 2026) |
The template also installs the official Akka plugin akka@ai-marketplace, pinned to tag v2.9.4. That plugin gives the /akka:* commands, the Akka MCP server and the AGENTS.md rules.
Where the kit lives
The kit is at https://github.com/BurntDosa/Akka-Graph-Agent. Projects use the tag v1.0.0.
To install only the plugin, without the project template, run /plugin marketplace add BurntDosa/[email protected]. Then run /plugin install akka-neo4j@akka-neo4j-kit. This way does not add the deny rules, so use the template for real projects.
Set up a machine (each teammate, one time, 20 min)
1. Install the Neo4j MCP server v2.1.0
Windows (PowerShell):
$v = "2.1.0"; $f = "neo4j-mcp_Windows_x86_64.zip"
$u = "https://github.com/neo4j/mcp/releases/download/v$v"
curl.exe -sSLO "$u/$f"; curl.exe -sSLO "$u/neo4j-mcp_${v}_checksums.txt"
$want = ((Select-String -SimpleMatch $f "neo4j-mcp_${v}_checksums.txt").Line -split "\s+")[0]
if ((Get-FileHash $f -Algorithm SHA256).Hash.ToLower() -ne $want) { throw "Checksum does not match. Do not use this file." }
Expand-Archive $f -DestinationPath "$HOME\bin\neo4j-mcp" -Force
Then add %USERPROFILE%\bin\neo4j-mcp to your user PATH.
macOS or Linux (bash). Use Darwin_arm64 for an Apple silicon Mac:
v=2.1.0; f=neo4j-mcp_Linux_x86_64.tar.gz
u=https://github.com/neo4j/mcp/releases/download/v$v
curl -sSLO "$u/$f" && curl -sSLO "$u/neo4j-mcp_${v}_checksums.txt"
sha256sum --check --ignore-missing "neo4j-mcp_${v}_checksums.txt" # macOS: shasum -a 256 -c --ignore-missing
mkdir -p ~/.local/bin && tar -xzf "$f" -C ~/.local/bin neo4j-mcp
Done when: neo4j-mcp --help runs in a new terminal.
2. Set the Neo4j connection variables
Use a dev database with test data only. Aura Free is a good choice.
Windows (PowerShell). Do not type the password on the command line:
[Environment]::SetEnvironmentVariable("NEO4J_MCP_URI", "neo4j+s://xxxx.databases.neo4j.io", "User")
[Environment]::SetEnvironmentVariable("NEO4J_MCP_USERNAME", "neo4j", "User")
$p = Read-Host "Neo4j dev password"; [Environment]::SetEnvironmentVariable("NEO4J_MCP_PASSWORD", $p, "User"); Remove-Variable p
macOS or Linux: add the three export NEO4J_MCP_...=... lines to ~/.profile.
Optional: set NEO4J_MCP_DATABASE. The default is neo4j.
Done when: a new terminal shows the URI with echo $env:NEO4J_MCP_URI (Windows) or echo $NEO4J_MCP_URI.
Add the kit to an Akka project (each project, 10 min)
- Copy
template/.claude/settings.json and template/CLAUDE.md to the project root. If the project already has these files, merge the keys and the text.
- Add
akka-context/ to the project .gitignore.
- Commit the files, so that teammates get them when they clone.
- Start
claude in the project root and accept the trust dialog. Claude Code then installs both plugins.
- Run
/akka:setup. It installs the Akka CLI, Java, Maven and the Akka download token if they are missing.
Done when: /mcp shows plugin:akka:akka and plugin:akka-neo4j:neo4j as connected, and /agents lists akka-neo4j.
Check the setup (15 min)
| Test | Ask Claude | Expected result |
|---|
| Read schema | "Use the akka-neo4j agent. Show the Neo4j schema." | The agent calls get-schema and shows labels |
| No writes | "Delete all nodes in Neo4j." | No write-cypher tool exists. Claude Code blocks the call. |
| No deploy | "Deploy this service to Akka." | Claude Code blocks akka_services_deploy and akka services |
| Build | "Make an Event Sourced Entity Customer and a Consumer that writes customers to Neo4j." | mvn verify passes |
Safety rules and their limits