MCP Catalogs
HomeIn-Memoria screenshot

In-Memoria

by pi22by7·168·Score 47

MCP server that learns code patterns and provides persistent memory for AI assistants.

developer-toolsai-llmfile-system
29
Forks
2
Open issues
5 mo ago
Last commit
2d ago
Indexed

Overview

In Memoria is an MCP server built in Rust that learns from actual codebases and remembers across sessions. It analyzes patterns, architecture, and conventions to provide context-aware assistance to AI coding tools. The system combines Tree-sitter AST parsing for 12 languages with semantic analysis and pattern learning, storing data locally in SQLite and SurrealDB. It offers 13 specialized tools for AI assistants, including project blueprints, smart file routing, and pattern prediction.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Persistent memory for AI coding assistants across sessions
you:Intelligent code analysis and pattern learning
you:Smart file routing for feature implementation
you:What programming languages does In Memoria support?
you:How does it store data?

When to choose this

Choose In-Memoria when you need an AI assistant that remembers your project-specific patterns and conventions across coding sessions, especially when working with Claude or GitHub Copilot.

When NOT to choose this

Don't choose In-Memoria if you need cloud-based AI assistance with multi-project support, as it's designed for local-only, single-project codebases.

Tools this server exposes

12 tools extracted from the README
  • analyze_codebase

    Analyze files/directories with concepts, patterns, complexity

  • search_codebase

    Multi-mode search (semantic/text/pattern)

  • learn_codebase_intelligence

    Deep learning to extract patterns and architecture

  • get_project_blueprint

    Instant project context with tech stack and entry points

  • get_semantic_insights

    Query learned concepts and relationships

  • get_pattern_recommendations

    Get patterns with related files for consistency

  • predict_coding_approach

    Implementation guidance with file routing

  • get_developer_profile

    Access coding style and work context

  • contribute_insights

    Record architectural decisions

  • auto_learn_if_needed

    Smart auto-learning with staleness detection

  • get_system_status

    Health check

  • get_intelligence_metrics

    Analytics on learned patterns

Comparable tools

continue-servercursor-agentgithub-copilot

Installation

Installation

# Install globally
npm install -g in-memoria

# Or use directly with npx
npx in-memoria --help

Claude Desktop Integration

Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json):

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

FAQ

What programming languages does In Memoria support?
Currently supports 12 languages: TypeScript, JavaScript, Python, PHP, Rust, Go, Java, C/C++, C#, Svelte, and SQL.
How does it store data?
Uses SQLite for structured data patterns and metadata, and SurrealDB with SurrealKV backend for persistent vector embeddings. Everything stays on your machine.

On Hacker News

Recent discussion from the developer community.

Compare In-Memoria with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.