← Back to directory
I

In Memoria

Community
Give AI coding assistants codebase memory across sessions.
Category
Dev Tools #443 of 751
Stars
★ 175 Popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
Optional API key
License
MIT
Last commit
⚠
Tools
13
49FMRS · D

Based on the provided README and manifest, In Memoria is an MIT-licensed, stdio MCP server for codebase memory, with 13 tools. The README describes local-first storage and cross-session context, while noting that initial analysis of large projects can be slow and pattern accuracy depends on codebase consistency.

Strongest · Setup experience 12/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
10/20
Maintenance
9/20
Documentation
11/20
Setup experience
12/20
Why each score
Reliability 7/20
The README identifies 13 MCP tools, storage components, supported languages, and several performance limits, making the intended happy path reasonably clear. Only the README and manifest are available here; there is no verifiable CI workflow or committed test evidence. The README's test counts are not independently verified, so the static calibration cap applies, with further deductions for missing source evidence on initialization, error handling, and actual tool behavior.
Security and permissions 10/20
The manifest marks OPENAI_API_KEY as optional and secret, and says local embeddings are the fallback; the README claims local data storage and no telemetry. There is no source evidence to verify data flows, filesystem scope, network behavior, side effects, or confirmation for sensitive actions, so the score remains moderate-low. The supplied material does not show evidence of a security red line.
Maintenance 9/20
The project is listed as unarchived, has an MIT license and version 0.6.0, and provides a maintainer identity, issue tracker, and community channels. The supplied material does not verify release history, commit activity, issue response, dependency updates, or a security response process, so points are deducted for uncertain sustained maintenance and governance.
Documentation 11/20
The README explains the purpose, names and groups tools, gives installation and client configuration examples, lists language support and known limits, and acknowledges the project's early stage. Tool parameters, permissions and data flows, troubleshooting, costs, and security handling are thin; some sections still refer to v0.5.x, which reduces consistency.
Setup experience 12/20
The README provides an npx launch command, configuration examples for Claude Desktop, Claude Code, and Copilot, and Node.js and source-build requirements. The setup path is understandable, but there is no runtime verification evidence beyond the manifest, the Copilot instructions include manual agent-file migration, and setup for other MCP clients is broad rather than detailed.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesConnects to a database

Best for

  • Developers who want AI assistants to retain codebase context across sessions.
  • Codebases with consistent patterns where project summaries and code search are useful.

Not for

  • Users who do not use an MCP-capable client or do not want to configure a local server.
  • Production workflows that require mature, polished software without early-stage rough edges.
  • First-time analysis of very large codebases when fast completion is required; the README says initial analysis of projects with 100,000 or more files can be slow.

Required permissions

  • Needs access to analyze the selected codebase files; the README says build artifact directories are filtered automatically.
  • Uses local persistent storage, including SQLite and SurrealDB/SurrealKV.
  • The manifest lists an optional `OPENAI_API_KEY` for OpenAI embeddings, with local transformers.js as a fallback.

Risks and side effects

  • Analysis and pattern accuracy depend on codebase size and consistency; results may be weaker for small or inconsistent projects.
  • The README describes the project as early-stage and notes that large codebases may take a long time to analyze initially and that documentation could improve.
  • If an optional OpenAI API key is configured, embeddings use that service; the README otherwise describes local embeddings and says code stays on the machine.

Setup

Before you start

Runtime:Node.js 18+

OPENAI_API_KEY optionalsecret Optional OpenAI API key for embeddings, available from OpenAI. If omitted, the server falls back to local transformers.js.

Install Node.js, then add the provided MCP JSON configuration to Claude Desktop. For Claude Code, follow the README's command to add the server. To learn a codebase before use, run npx in-memoria learn ./project-path, or start the server and use its automatic learning feature.

claude_desktop_config.json
{"mcpServers":{"in-memoria":{"command":"npx","args":["in-memoria","server"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "in-memoria": {
      "command": "npx",
      "args": [
        "in-memoria",
        "server"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.in-memoria]
command = "npx"
args = ["in-memoria", "server"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add in-memoria -- npx in-memoria server

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Start the MCP server and confirm that the client lists In Memoria tools such as get_project_blueprint. Ask for a project overview and check that the response includes the codebase's tech stack or entry points.

Troubleshooting

  1. Check that Node.js is installed and the MCP client configuration uses `npx` with arguments `in-memoria server`.
  2. Check that the server is running. Copilot calls MCP tools only in Agent mode, and the README specifies VS Code 1.106 or later.
  3. Before the first query, run `npx in-memoria learn ./project-path` or use the automatic learning tool.
  4. If analysis fails or looks wrong, check the project path and codebase size, then report the issue to the project.

Things to try

Once connected, you can ask your AI assistant things like:

  • Analyze this codebase's architecture and main patterns.
  • Search the codebase for authentication-related code.
  • Based on this project's patterns, suggest how to implement password reset.
  • Record the decision to use JWT middleware for authentication.

Tools 13

analyze_codebase read-only
Analyze files or directories for concepts, patterns, and complexity.
search_codebase read-only
Search the codebase by semantic meaning, text, or pattern.
learn_codebase_intelligence writes
Learn patterns and architecture from the codebase.
get_project_blueprint read-only
Get an overview of the project's stack, entry points, and architecture.
get_semantic_insights read-only
Query learned concepts and their relationships.
get_pattern_recommendations read-only
Get pattern recommendations with related files.
predict_coding_approach read-only
Get implementation guidance and file routing based on learned information.
get_developer_profile read-only
Access coding style and work context.
Show 5 more tools
contribute_insights writes
Record architectural decisions.
auto_learn_if_needed writes
Check whether learning data is stale and learn automatically when needed.
get_system_status read-only
Check system health.
get_intelligence_metrics read-only
View analytics on learned patterns.
get_performance_status read-only
View performance diagnostics.

Use cases

Query project architecture, conventions, and recorded decisions across sessions.
Find likely relevant files from a feature request.
Search for code by meaning and get guidance based on learned patterns.

Supported clients

Claude Desktop
Claude Code
GitHub CopilotPartial support

Listed from the project's documentation, not tested by this site.

Overview

In Memoria is an MCP server for persistent codebase intelligence. It analyzes a project and records patterns, architecture, conventions, and work context for AI assistants to query in later sessions. The project describes local-first storage and offers semantic search, project context, and file routing.

Similar servers

Source revision 9cbed0d63a52 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/in-memoria.svg)](https://followmcp.com/en/servers/in-memoria)