About pi22by7/In-Memoria
pi22by7/In-Memoria is an MCP server published by pi22by7 in the Automation category: persistent Intelligence Infrastructure for AI Agents. Conduid read 14 tools from its source: analyze_codebase, auto_learn_if_needed, contribute_insights, get_developer_profile, get_intelligence_metrics, get_pattern_recommendations and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 175 stars and 33 forks, is licensed MIT, and its last commit was on 23 Dec 2025. The latest release is v0.6.0. It follows v0.5.8, and the 5 most recent releases go back to v0.5.5. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, local-first, persistent-memory and codebase-intelligence.
Install
git clone https://github.com/pi22by7/In-MemoriaTools (14)
analyze_codebaseAnalyze files/directories with concepts, patterns, complexity (Phase 4: now handles both files and directories)| Parameter | Type | Description |
|---|---|---|
| includeFileContent | boolean | If true and path is a file, include full file content in response (default: false) |
| path * | string | Path to specific file or directory to analyze in detail |
auto_learn_if_neededSmart auto-learning with staleness detection ⭐ (Phase 4: includes quick setup functionality)| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force re-learning even if data exists |
| includeProgress | boolean | Include detailed progress information in response |
| includeSetupSteps | boolean | Include detailed setup verification steps (Phase 4: merged from quick_setup) |
| path | string | Path to the codebase directory (defaults to current working directory) |
| skipLearning | boolean | Skip the learning phase for faster setup (Phase 4: merged from quick_setup) |
contribute_insightsRecord architectural decisions| Parameter | Type | Description |
|---|---|---|
| confidence * | number | Confidence score for this insight (0.0 to 1.0) |
| content * | object | The insight details as a structured object. For best_practice: {practice: "...", reasoning: "..."}. For bug_pattern: {bugPattern: "...", fix: "..."}, etc. |
| impactPrediction | object | Predicted impact of applying this insight |
| sessionUpdate | object | Optional work session update |
| sourceAgent * | string | Identifier of the AI agent contributing this insight |
| type * | string | Type of insight: bug_pattern (recurring bugs), optimization (performance improvements), refactor_suggestion (code improvements), best_practice (recommended approaches) |
get_developer_profileAccess coding style and work context| Parameter | Type | Description |
|---|---|---|
| includeRecentActivity | boolean | Include recent coding activity in the profile (patterns used in last 30 days) |
| includeWorkContext | boolean | Include current work session context (files, tasks, decisions) |
get_intelligence_metricsAnalytics on learned patterns| Parameter | Type | Description |
|---|---|---|
| includeBreakdown | boolean | Include detailed breakdown by type and confidence |
get_pattern_recommendationsGet patterns with related files for consistency| Parameter | Type | Description |
|---|---|---|
| currentFile | string | Current file being worked on |
| includeRelatedFiles | boolean | Include suggestions for related files where similar patterns are used |
| preferences | object | Developer preferences and constraints |
| problemDescription * | string | What you want to implement (e.g., "create a new service", "add database repository", "implement API handler") |
| selectedCode | string | Currently selected code snippet |
get_performance_statusPerformance diagnostics| Parameter | Type | Description |
|---|---|---|
| runBenchmark | boolean | Run a quick performance benchmark |
get_project_blueprintInstant project context with tech stack and entry points ⭐ (Phase 4: includes learning status)| Parameter | Type | Description |
|---|---|---|
| includeFeatureMap | boolean | Include feature-to-file mapping (if available) |
| path | string | Path to the project (defaults to current working directory) |
get_semantic_insightsQuery learned concepts and relationships| Parameter | Type | Description |
|---|---|---|
| conceptType | string | Filter by concept type (class, function, interface, variable, etc.) |
| limit | number | Maximum number of insights to return |
| query | string | Code identifier to search for (e.g., "DatabaseConnection", "processRequest"). Matches against function/class/variable names, not descriptions. |
get_system_statusHealth check| Parameter | Type | Description |
|---|---|---|
| includeDiagnostics | boolean | Include system diagnostics |
| includeMetrics | boolean | Include detailed performance metrics |
health_checkVerify In-Memoria setup and configuration for a project. Checks database accessibility, project structure, and API keys.| Parameter | Type | Description |
|---|---|---|
| path | string | Project path to check (defaults to current directory) |
learn_codebase_intelligenceDeep learning to extract patterns and architecture| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force re-learning even if codebase was previously analyzed (use when codebase has significant changes) |
| path * | string | Path to the codebase to learn from |
predict_coding_approachImplementation guidance with file routing ⭐| Parameter | Type | Description |
|---|---|---|
| context | object | Additional context about the current codebase and requirements |
| includeFileRouting | boolean | Include smart file routing to identify target files for the task. Defaults to true. Set to false to disable. |
| problemDescription * | string | Description of what the user wants to add, modify, or implement (e.g., "add Ruby language support", "implement database caching", "fix authentication bug") |
search_codebaseMulti-mode search (semantic/text/pattern)| Parameter | Type | Description |
|---|---|---|
| language | string | Filter results by programming language (e.g., "typescript", "rust", "python") |
| limit | number | Maximum number of results to return |
| query * | string | Search query - literal text string or regex pattern depending on type |
| type | string | Type of search: "text" for literal string matching, "pattern" for regex/AST patterns, "semantic" for concept-based search |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 75 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/mcp-server/server.ts:2
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 9 callsrust-core/src/analysis/frameworks.rs:444, rust-core/src/analysis/frameworks.rs:446, rust-core/src/patterns/learning.rs:2004
- Lockfile
- package-lock.json
Pattern matches on the source text of 75 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.7K words, fetched a month ago. The original in the repository is authoritative.
Read full README