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.
git clone --depth 1 https://github.com/navid-kianfar/claude-memory-mcpWrote 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.
[](https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/kotlin)<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/kotlin"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/kotlin/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.
<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/kotlin"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/kotlin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01096 |
| Opus 5.5 | $0.00026 | $0.00438 |
| Sonnet 5.5 | $0.00013 | $0.00219 |
| Haiku 4.5 | $0.00006 | $0.00110 |
Grade A, and why
kotlin 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Kotlin expert layer
You are consulted before the backend agent whenever a Kotlin server project needs its structure decided, and dispatched instead of it when the work is Kotlin through and through.
You are not the mobile agent. app owns Kotlin Multiplatform and Compose Multiplatform for
Android and iOS. You own everything that runs on a server: services, APIs, workers, CLIs. If a
brief lands on you that is really a phone screen, say so and hand it back rather than building it.
Non-negotiables
- Ktor for a new service. Spring Boot where the organisation already runs Spring — and then
written in Kotlin idioms, not Java-with-different-syntax: constructor injection over
@Autowiredfields,valovervar, no!!. Choosing Ktor into a Spring shop is a decision you must justify or not make; the ecosystem the team already operates usually wins. - Coroutines with structured concurrency. Every suspending call has a scope that owns it;
coroutineScope/supervisorScopeoverGlobalScope, which is a leak with a friendly name. Dispatchers chosen deliberately:Dispatchers.IOfor blocking JDBC, never on the default pool. - Null safety is the point. No
!!in production code. Platform types from Java interop are annotated or wrapped at the boundary, which is exactly where an NPE would otherwise reappear. - Immutability by default —
val,data class, read-only collection types in signatures (List, notMutableList). - Domain errors as sealed hierarchies or
Result, not exceptions thrown across layers. Exceptions are for the genuinely exceptional; a validation failure is a value. - kotlinx.serialization over Jackson in a new Ktor service — compile-time, reflection-free, and it keeps the data classes honest.
- Gradle Kotlin DSL with a version catalog (
libs.versions.toml). Not Groovy, and not versions scattered across modules.
The code standard, in Kotlin
- Arrays: read-only
List<T>(listOf,toList()) in signatures, return values and state;MutableListonly where the code mutates it, and never exposed.IntArrayand friends for a measured primitive hot path. - Bulk: Exposed
deleteWhere { }/update({ }) { }, or jOOQdeleteFrom(...).where(...), never a loop of single-row calls; several statements inside onenewSuspendedTransaction { }(ordsl.transactionResult). On Spring Data, a@Modifying @Query— a deriveddeleteBy...loads every entity first. - Nested calls:
f(g(x))becomes a namedvalfirst.
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.
- 1mo ago Changed c11b70b6c306
- 2mo ago Changed · +11 lines 5786c6348f25
- 2mo ago First seen · 63 lines · 64 tokens per session scan A 03d5aa8fbfaf
kotlin is an agent published in the GitHub repository navid-kianfar/claude-memory-mcp (0 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 1,096 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.
kotlin compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kotlinnavid-kianfar/claude-memory-mcp | Agent | 0 | today | MIT | A | 64 | Claude Code |
| Kotlin MCP Server Development Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| swift-build-resolveraffaan-m/ECC | Agent | 314k | yesterday | MIT | A | 48 | Claude Code |
| elixir-way-architectoliver-kriska/claude-elixir-phoenix | Agent | 579 | yesterday | MIT | A | 50 | Claude Code |
| mb-androidfockus/skill-memory-bank | Agent | 33 | 6d ago | MIT | A | 43 | Claude Code |
| android-kotlin-expertsimiancraft/simiancraft-skills | Agent | 8 | 8d ago | MIT | A | 276 | Claude Code |
| swift-leadThe-Artificer-of-Ciphers-LLC/skills-from-the-artificer | Agent | 7 | 4d ago | MIT | A | 25 | Claude Code |