LocalNest MCP
LocalNest MCP is a local-first server unifying semantic code search, a temporal knowledge graph, and persistent AI memory — all powered by SQLite with no cloud dependency. It provides 74 tools across these areas:
Code Intelligence
Hybrid BM25 + vector semantic search with RRF ranking (
search_hybrid)Text/regex search across file contents (
search_code) and file path search (search_files)Symbol definition lookup (
get_symbol), call site and import usage finding (find_usages)Bounded file reading with line numbers (
read_file)
Knowledge Graph & Persistent AI Memory
Store, recall, update, delete, and list durable memories with tags, scope, confidence, and importance
Full revision history, semantic deduplication, and agent-scoped isolation
Capture background events and auto-promote to durable memory (
memory_capture_event)Link memories with named relations (e.g. "depends_on", "supersedes"), traverse the memory graph, and suggest semantic relations
Temporal entity-triple store with multi-hop traversal and time-travel queries
Project & Workspace Navigation
List configured roots and projects, view compact file/directory trees, read file contents
Generate high-level project summaries (
summarize_project)
Indexing & Embeddings
Build or refresh semantic indexes (
index_project), check index and embedding backend status
Agentic Workflows
Bundle runtime status, memory state, and relevant recall for a task in one call (
task_context)Capture task outcomes into the memory pipeline, support agent priming and continuous learning
System & Health
Check server status, run health checks, view usage guidance, check for updates, and self-update
Used for proactive dependency updates as part of the enterprise-grade quality measures, including OpenSSF Scorecard monitoring and Dependabot updates.
Implicitly supported through code intelligence features like symbol finding, AST-aware chunking, and comparison with GitNexus, though not explicitly mentioned as a direct integration target.
Referenced in the README for hosting the project repository, GitHub Actions workflows, and as a comparison point for GitNexus (27k stars), though not as a direct integration target.
Supported data format for ingestion via ingest_markdown tool and as a response format option for many tools, enabling rich text content processing and output.
Referenced as the backend for claude-context (Zilliz), which is a Milvus-backed code intelligence server that LocalNest compares against, noting it lacks knowledge graph and memory features.
Required runtime environment for the MCP server, as indicated by the npm installation method and the note about external dependencies in the feature matrix.
Package distribution platform for the MCP server, with installation via npm install and update functionality through npm, including OIDC Trusted Publishing for verifiable provenance.
Mentioned as a comparison point for memory-only servers, with Basic Memory integrating with Obsidian but lacking code intelligence features that LocalNest provides.
Primary storage backend described as 'Pure SQLite' for the local-first architecture, providing persistent storage for code indexes, knowledge graphs, and memory without cloud dependencies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LocalNest MCP find where the user authentication logic is implemented"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why LocalNest?
Every other MCP server forces you to choose: memory or code intelligence. Never both.
LocalNest is the first to combine all three pillars into one server that runs entirely on your machine:
Pillar | What it does | Why it matters |
Code Intelligence | Hybrid BM25+vector search, AST-aware chunking, symbol finding (defs/usages/callers) | Your AI understands code structure, not just text |
Knowledge Graph | Temporal entity-triple store with multi-hop traversal and | Architectural decisions, dependencies, and facts — versioned over time |
Persistent Memory | Cross-session recall, semantic dedup, agent-scoped isolation, conversation ingestion | Your AI remembers what you taught it — forever |
Related MCP server: AI Knowledge Center MCP
How LocalNest Compares
No other MCP server covers all three pillars. Here's how the landscape breaks down:
vs Memory-Only Servers
LocalNest | Mem0 | Basic Memory | MCP Memory Service | AgentMemory | |
Persistent AI memory | Yes | Yes | Yes | Yes | Yes |
Knowledge graph | Yes | No | No | No | No |
Semantic code search | Yes | No | No | No | No |
Symbol finding (defs/usages) | Yes | No | No | No | No |
AST-aware chunking | Yes | No | No | No | No |
Local-first / no cloud | Yes | Hybrid | Yes | Yes | Yes |
MCP tools | 74 | 8 | ~10 | 24 | 43 |
Mem0 has 41k stars and $24M in funding — but it's memory-only with no code intelligence. Basic Memory integrates with Obsidian but can't search code. AgentMemory has auto-capture hooks but zero code features.
vs Code Intelligence Servers
LocalNest | GitNexus | claude-context | codebase-memory-mcp | CodeGraphContext | |
Semantic code search | Yes | Yes | Yes | Yes | Yes |
Knowledge graph | Yes | Code-only | No | Code-only | Yes |
Persistent AI memory | Yes | No | No | No | No |
Cross-session recall | Yes | No | No | No | No |
Symbol finding | Yes | Yes | No | Yes | Yes |
Temporal time-travel queries | Yes | No | No | No | No |
Conversation ingestion | Yes | No | No | No | No |
Local-first / no cloud | Yes | Yes | Partial | Yes | Yes |
MCP tools | 74 | 16 | ~5 | 14 | ~10 |
GitNexus (27k stars) has strong code search but no memory. claude-context (Zilliz, 5.9k stars) is Milvus-backed with no KG or memory. codebase-memory-mcp (DeusData) is the closest competitor — code + KG in a single binary — but has no AI memory layer.
Full Feature Matrix
Feature | LocalNest | codebase-memory-mcp | GitNexus | claude-context | Basic Memory | Mem0 |
Semantic code search (hybrid BM25+vec) | Yes | Yes | Yes | Yes | No | No |
Knowledge graph (entities + triples) | Yes | Code-only | Code-only | No | No | No |
Persistent AI memory | Yes | No | No | No | Yes | Yes |
Symbol finding (defs/usages/callers) | Yes | Yes | Yes | No | No | No |
AST-aware chunking | Yes | Yes | Yes | Yes | No | No |
Temporal time-travel queries | Yes | No | No | No | No | No |
Multi-hop graph traversal | Yes | No | No | No | No | No |
Conversation ingestion | Yes | No | No | No | No | No |
Agent-scoped isolation | Yes | No | No | No | No | No |
Semantic dedup | Yes | No | No | No | No | No |
Hooks system (pre/post callbacks) | Yes | No | No | No | No | No |
Interactive TUI dashboard | Yes | No | No | No | No | No |
Local-first / no cloud | Yes | Yes | Yes | Partial | Yes | Hybrid |
MCP tools | 74 | 14 | 16 | ~5 | ~10 | 8 |
Zero external deps | No (Node.js) | Yes (binary) | No | No | No | No |
LocalNest is the only server that checks every box in the first three rows.
Quick Start
# Install
npm install -g localnest-mcp
# Setup workspace + embeddings
localnest setup
# Verify
localnest doctorInteractive dashboard:
localnest dashboardMCP Client Config
After setup, add this to your AI client config:
{
"mcpServers": {
"localnest": {
"command": "localnest-mcp",
"startup_timeout_sec": 30,
"env": {
"MCP_MODE": "stdio",
"LOCALNEST_CONFIG": "~/.localnest/config/localnest.config.json",
"LOCALNEST_INDEX_BACKEND": "sqlite-vec",
"LOCALNEST_MEMORY_ENABLED": "true"
}
}
}
}Works with Claude Code, Cursor, Windsurf, Cline, Continue, Gemini CLI, and any MCP-compatible client.
Tool Suites
LocalNest exposes 74 specialized MCP tools, organized into focused suites:
Full parameter reference: Tool Documentation
Agentic Workflows
LocalNest is designed as the foundational context layer for AI coding agents:
Cold start —
agent_primeinstantly hydrates the context window with relevant memories, recent changes, and project state.Deep investigation —
findruns fused search across code fragments and historical design decisions in a single call.Continuous learning —
teachsaves architectural rules that persist across sessions, ensuring agents never repeat mistakes.Outcome capture —
capture_outcomerecords what worked and what didn't, building an experience base over time.
Enterprise-Grade Quality
OIDC Trusted Publishing for verifiable npm provenance
Continuous CodeQL static analysis on all branches
OpenSSF Scorecard monitoring and proactive Dependabot updates
Troubleshooting
Direct npm install -g git+https://... may fail with TAR_ENTRY_ERRORS. This is a known npm limitation.
Fix: clone, pack, install
git clone https://github.com/wmt-mobile/localnest.git
cd localnest && npm pack
npm install -g ./localnest-mcp-*.tgzcd $(npm root -g)/localnest-mcp && npm install --no-save @huggingface/transformers
localnest doctorResources
Documentation — Full tool reference, architecture, and guides
Comparison — Detailed competitive analysis
Architecture — Retrieval pipeline and memory graph internals
Changelog — Release history
Security — Vulnerability disclosure policy
Available Tools
74 toolslocalnest_agent_primeAgent PrimeARead-onlyIdempotent
[MANDATORY_START] The single most important tool for task initialization. Rehydrates project context, recalled memories, KG entities, relevant files, recent changes, and suggested actions in one call. Always call this BEFORE deeper research.
Inputs: task (required), project_path, nest, branch, +4 more. Returns: data, meta
localnest_auditAuditARead-onlyIdempotent
Run a comprehensive self-audit of LocalNest health. Returns memory coverage by project, KG density metrics (entities, triples, orphans, duplicates, connected components), unpopulated nests, broken bridges, stale memories, a 0-100 health score, and actionable suggestions. Call once to get a full integrity dashboard.
Inputs: response_format. Returns: data, meta
localnest_backupBackup DatabaseAIdempotent
Create a point-in-time backup of the LocalNest memory database using SQLite VACUUM INTO. The backup is a clean, compacted SQLite file verified with PRAGMA integrity_check. If destination is omitted, the backup is written to {memoryDbDir}/backups/{timestamp}.db.
Inputs: destination, response_format. Returns: data, meta
localnest_capture_outcomeCapture OutcomeA
[COMPLETE_MISSION] One-call mission summary capture. Use this after completing a task, fixing a bug, or making a major architectural decision to persist the "Winner" state for future agents.
Inputs: task, title, summary, details, +20 more. Returns: data, meta
localnest_diary_readDiary ReadARead-onlyIdempotent
Read recent diary entries for a specific agent. Only returns entries belonging to the requesting agent.
Inputs: agent_id (required), topic, limit, offset, +1 more. Returns: data, meta
localnest_diary_writeDiary WriteA
Write a private diary entry for an agent. Diary entries are isolated and only visible to the owning agent.
Inputs: agent_id (required), content (required), topic, terse, +1 more. Returns: data, meta
localnest_embed_statusEmbedding StatusARead-onlyIdempotent
Return active embedding backend/model status and vector-search readiness.
Inputs: response_format. Returns: data, meta
localnest_file_changedFile ChangedBRead-onlyIdempotent
Report that a file was edited and receive proactive hints about high-importance memories linked to it. Memories with importance >= 70 that reference the file are flagged with suggest_update=true, indicating the memory may need updating to reflect the file change.
Inputs: path (required), response_format. Returns: data, meta
localnest_findUnified FindARead-onlyIdempotent
Search across memory entries, code chunks, and knowledge graph triples in a single call. Results are re-ranked across all sources using normalized scores. Each item includes a source field ("memory", "code", or "triple"). Use the sources parameter to limit which backends are queried.
Inputs: query (required), limit, project_path, all_roots, +3 more. Returns: data, meta
localnest_find_callersFind CallersARead-onlyIdempotent
Find every call site of a function or method across indexed files. Returns file path, line number, and surrounding context for each call. Requires the project to be indexed first via localnest_index_project.
Inputs: symbol (required), project_path, language, max_results, +1 more. Returns: data, meta
localnest_find_definitionFind DefinitionARead-onlyIdempotent
Jump to the declaration location(s) of a symbol across TypeScript, JavaScript, Python, Go, and Rust files. Returns file path, line range, and declaration text. Requires the project to be indexed first via localnest_index_project.
Inputs: symbol (required), project_path, language, response_format. Returns: data, meta
localnest_find_implementationsFind ImplementationsARead-onlyIdempotent
Find every class, struct, or object that implements a given interface or trait. Supports TypeScript implements, Python class inheritance, Rust impl-for, and Go struct patterns. Requires the project to be indexed first via localnest_index_project.
Inputs: interface_name (required), project_path, language, max_results, +1 more. Returns: data, meta
localnest_find_usagesFind UsagesCRead-onlyIdempotent
[USAGE_ANALYSIS] Find call sites and import usages of a symbol by name.
Inputs: symbol (required), project_path, all_roots, glob, +4 more. Returns: data, meta
localnest_get_symbolGet SymbolCRead-onlyIdempotent
[SYMBOL_INDEX] Look up symbol definitions/exports by name using fast regex search.
Inputs: symbol (required), project_path, all_roots, glob, +3 more. Returns: data, meta
localnest_graph_bridgesGraph BridgesARead-onlyIdempotent
Discover cross-nest bridges (default) or cross-branch bridges within a nest. Use mode="cross-branch" with a nest to find entities that span different branches within that nest.
Inputs: nest, mode, response_format. Returns: data, meta
localnest_graph_traverseGraph TraverseBRead-onlyIdempotent
Traverse the knowledge graph from a starting entity with configurable max hops (default 2). Uses recursive CTEs with cycle prevention. Returns discovered entities with path information.
Inputs: start_entity_id (required), max_hops, direction, response_format. Returns: data, meta
localnest_healthHealthBRead-onlyIdempotent
Return a compact runtime health summary for fast smoke checks.
Inputs: response_format. Returns: data, meta
localnest_helpHelpCRead-onlyIdempotent
Get task-scoped tool guidance. Describe what you want to do and receive a tailored list of tools, workflow steps, and tips.
Inputs: task, response_format. Returns: data, meta
localnest_hooks_list_eventsHooks List EventsARead-onlyIdempotent
Returns all valid hook event names that listeners can subscribe to. Covers memory lifecycle (store, update, delete, recall), knowledge graph operations (addEntity, addTriple, invalidate), graph traversal, diary, ingestion, dedup, taxonomy, and catch-all wildcards.
Inputs: response_format. Returns: data, meta
localnest_hooks_statsHooks StatsARead-onlyIdempotent
Returns hook system statistics: whether hooks are enabled, total registered listener count, and a breakdown of listener counts per event type.
Inputs: response_format. Returns: data, meta
localnest_index_projectIndex ProjectC
Build or refresh semantic index for a project or across all roots.
Inputs: project_path, all_roots, force, max_files, +1 more. Returns: data, meta
localnest_index_statusIndex StatusBRead-onlyIdempotent
Return local semantic index status and metadata.
Inputs: response_format. Returns: data, meta
localnest_ingest_jsonIngest JSON ConversationAIdempotent
Ingest a JSON conversation export (array of {role, content, timestamp?} objects) into memory entries and knowledge graph triples. Pass the full JSON text directly.
Inputs: content (required), source_label, nest, branch, +3 more. Returns: data, meta
localnest_ingest_markdownIngest Markdown ConversationAIdempotent
Ingest a Markdown conversation export into memory entries and knowledge graph triples. Pass the full text content directly — file reading is handled by the CLI, not MCP tools.
Inputs: content (required), source_label, nest, branch, +3 more. Returns: data, meta
localnest_kg_add_entities_batchKG Add Entities BatchAIdempotent
Create up to 500 entities in a single transactional batch. Returns created/duplicate counts and per-row errors. Use response_format "verbose" to get back an ids[] array.
Inputs: entities (required), response_format. Returns: data, meta
localnest_kg_add_entityKG Add EntityBIdempotent
Create or update an entity in the knowledge graph. Entity IDs are auto-generated as normalized slugs (lowercase, underscored).
Inputs: name (required), type, properties, memory_id, +2 more. Returns: data, meta
localnest_kg_add_tripleKG Add TripleB
Add a subject-predicate-object triple to the knowledge graph. Entities are auto-created on first reference. Detects contradictions (same subject+predicate with different valid object) and warns without blocking.
Inputs: subject_name (required), predicate (required), object_name (required), subject_id, +8 more. Returns: data, meta
localnest_kg_add_triples_batchKG Add Triples BatchAIdempotent
Add up to 500 triples in a single transactional batch. Entities auto-created on first reference. Deduplicates against active triples.
Inputs: triples (required), response_format. Returns: data, meta
localnest_kg_as_ofKG As-Of QueryARead-onlyIdempotent
Query triples for an entity at a specific point in time. mode="event" (default) returns facts whose valid_from/valid_to bracket the date (event-time axis). mode="transaction" returns every triple LocalNest knew at that time via recorded_at, regardless of valid_to (transaction-time axis).
Inputs: entity_id (required), as_of_date (required), mode, response_format. Returns: data, meta
localnest_kg_backfill_linksKG Backfill Memory LinksAIdempotent
Retroactively scan existing memories and create KG triples linking them to matching entities. Processes memories in batches. Use limit/offset for pagination.
Inputs: limit, offset, nest, branch, +1 more. Returns: data, meta
localnest_kg_delete_entities_batchKG Delete Entities BatchADestructiveIdempotent
Delete up to 100 knowledge graph entities in one call. Cascades: also deletes all triples where each entity is subject or object. Returns count of deleted entities and removed triples.
Inputs: entity_ids (required), response_format. Returns: data, meta
localnest_kg_delete_entityKG Delete EntityADestructiveIdempotent
Delete a knowledge graph entity by ID. Cascades: also deletes all triples where the entity is subject or object.
Inputs: entity_id (required), response_format. Returns: data, meta
localnest_kg_delete_triples_batchKG Delete Triples BatchADestructiveIdempotent
Hard-delete up to 100 knowledge graph triples by ID. Unlike invalidate (which sets valid_to), this permanently removes the triples.
Inputs: triple_ids (required), response_format. Returns: data, meta
localnest_kg_invalidateKG Invalidate TripleAIdempotent
Set valid_to on a triple to mark it as no longer current. The triple remains in history but is excluded from current-state queries.
Inputs: triple_id (required), valid_to, terse, response_format. Returns: data, meta
localnest_kg_queryKG Query EntityARead-onlyIdempotent
Query all relationships for an entity in the knowledge graph with optional direction filtering (outgoing, incoming, or both).
Inputs: entity_id (required), direction, include_invalid, response_format. Returns: data, meta
localnest_kg_statsKG StatisticsARead-onlyIdempotent
Get knowledge graph statistics: total entity count, total triple count, active triple count, and breakdown by predicate type.
Inputs: response_format. Returns: data, meta
localnest_kg_timelineKG Entity TimelineARead-onlyIdempotent
Get a chronological timeline of all triples for an entity, including invalidated facts. Ordered by valid_from date ascending.
Inputs: entity_id (required), response_format. Returns: data, meta
localnest_list_projectsList ProjectsARead-onlyIdempotent
List first-level project directories under a root.
Inputs: root_path, max_entries, limit, offset, +1 more. Returns: data, meta
localnest_list_rootsList RootsBRead-onlyIdempotent
List configured local roots available to this MCP server.
Inputs: limit, offset, response_format. Returns: data, meta
localnest_memory_add_relationMemory Add RelationAIdempotent
Link two memory entries with a named relation. Use to build a traversable knowledge graph (e.g. "depends_on", "contradicts", "supersedes", "related").
Inputs: source_id (required), target_id (required), relation_type, terse, +1 more. Returns: data, meta
localnest_memory_capture_eventMemory Capture EventC
Ingest a background work event and auto-promote meaningful events into durable memory.
Inputs: title (required), event_type, status, summary, +14 more. Returns: data, meta
localnest_memory_check_duplicateMemory Check DuplicateARead-onlyIdempotent
Check whether content is a semantic duplicate of an existing memory entry. Uses embedding cosine similarity with configurable threshold (default 0.92). Returns the matching entry when a duplicate is found.
Inputs: content (required), threshold, nest, branch, +2 more. Returns: data, meta
localnest_memory_deleteMemory DeleteADestructiveIdempotent
Delete a stored memory entry and all of its revisions.
Inputs: id (required), terse, response_format. Returns: data, meta
localnest_memory_delete_batchMemory Delete BatchADestructiveIdempotent
Delete up to 100 memory entries in a single call. Returns the count of deleted entries and per-row errors for IDs that were not found or failed.
Inputs: ids (required), response_format. Returns: data, meta
localnest_memory_eventsMemory EventsBRead-onlyIdempotent
List recently captured memory events and whether they were promoted into durable memory.
Inputs: project_path, limit, offset, response_format. Returns: data, meta
localnest_memory_getMemory GetARead-onlyIdempotent
Fetch one stored memory with revision history.
Inputs: id (required), response_format. Returns: data, meta
localnest_memory_listMemory ListBRead-onlyIdempotent
List stored memories with optional scope, kind, nest, branch, and tag filters. Use item_format=compact to drop content/metadata (~50% fewer tokens) or lite to return only id+title (~85% fewer tokens).
Inputs: kind, status, project_path, topic, +8 more. Returns: data, meta
localnest_memory_recallMemory RecallCRead-onlyIdempotent
Recall the most relevant local memories for a task or query. Use item_format=compact to drop content/metadata (~50% fewer tokens) or lite to return only id+title (~85% fewer tokens).
Inputs: query (required), root_path, project_path, branch_name, +8 more. Returns: data, meta
localnest_memory_remove_relationMemory Remove RelationCDestructiveIdempotent
Remove a relation between two memory entries.
Inputs: source_id (required), target_id (required), terse, response_format. Returns: data, meta
localnest_memory_statusMemory StatusARead-onlyIdempotent
Return local memory feature status, consent state, and backend compatibility.
Inputs: response_format. Returns: data, meta
localnest_memory_storeMemory StoreC
Store a durable local memory entry.
Inputs: title (required), content (required), kind, summary, +14 more. Returns: data, meta
localnest_memory_store_batchMemory Store BatchA
Store up to 100 memory entries in a single atomic transaction. Deduplicates via fingerprint and optional semantic similarity. Returns created/duplicate counts and per-row validation errors.
Inputs: memories (required), response_format. Returns: data, meta
localnest_memory_suggest_relationsMemory Suggest RelationsARead-onlyIdempotent
Find semantically similar memory entries that could be linked to a given memory. Uses dense embeddings (all-MiniLM-L6-v2) when available, falls back to token overlap. Returns candidates ranked by similarity without creating any relations — use localnest_memory_add_relation to confirm.
Inputs: id (required), threshold, max_results, response_format. Returns: data, meta
localnest_memory_updateMemory UpdateB
Update a stored memory entry and append a revision.
Inputs: id (required), kind, title, summary, +12 more. Returns: data, meta
localnest_nest_branchesNest BranchesARead-onlyIdempotent
List all branches (topics) within a specific nest with their memory entry counts.
Inputs: nest (required), response_format. Returns: data, meta
localnest_nest_listNest ListARead-onlyIdempotent
List all nests (top-level memory domains) with their memory entry counts.
Inputs: response_format. Returns: data, meta
localnest_nest_treeNest Taxonomy TreeBRead-onlyIdempotent
Get the full taxonomy tree: all nests, their branches, and memory counts at each level.
Inputs: response_format. Returns: data, meta
localnest_project_backfillProject BackfillAIdempotent
Scan a directory for projects and create seed memory entries for those with zero existing memories. Detects package.json, Cargo.toml, go.mod, pyproject.toml, pom.xml, build.gradle, and .git. Use dry_run=true to preview without writing.
Inputs: root_path (required), dry_run, response_format. Returns: data, meta
localnest_project_treeProject TreeCRead-onlyIdempotent
Return a compact tree of files/directories for a project path.
Inputs: project_path (required), max_depth, max_entries, response_format. Returns: data, meta
localnest_read_fileRead FileARead-onlyIdempotent
Read a bounded chunk of a file with line numbers.
Inputs: path (required), start_line, end_line, response_format. Returns: data, meta
localnest_rename_previewRename PreviewARead-onlyIdempotent
Preview every location that would change when renaming a symbol. Does NOT modify any files -- returns a dry-run list of changes grouped by file. Requires the project to be indexed first via localnest_index_project.
Inputs: old_name (required), new_name (required), project_path, max_results, +1 more. Returns: data, meta
localnest_restoreRestore DatabaseADestructiveIdempotent
Restore the LocalNest memory database from a backup file. Verifies backup integrity before replacing the live database. IMPORTANT: The MCP server must be restarted after restore for changes to take effect.
Inputs: source (required), response_format. Returns: data, meta
localnest_search_codeSearch CodeARead-onlyIdempotent
[EXACT_MATCH] Search text across files under a project/root and return matching lines. Best for exact symbol names, imports, or known identifiers.
Inputs: query (required), project_path, all_roots, glob, +5 more. Returns: data, meta
localnest_search_filesSearch FilesARead-onlyIdempotent
[FAST_DISCOVERY] Search file paths and names matching a query. Use this first when looking for a module, feature, or component by name (e.g. "sso", "payment", "auth").
Inputs: query (required), project_path, all_roots, max_results, +2 more. Returns: data, meta
localnest_search_hybridSearch HybridBRead-onlyIdempotent
[DEEP_ANALYSIS] Run lexical + semantic retrieval and return RRF-ranked results. Best for queries where concepts and context matter as much as exact keywords.
Inputs: query (required), project_path, all_roots, glob, +6 more. Returns: data, meta
localnest_server_statusServer StatusBRead-onlyIdempotent
Return runtime status and active configuration summary for this MCP server.
Inputs: response_format. Returns: data, meta
localnest_summarize_projectSummarize ProjectCRead-onlyIdempotent
Return a high-level summary of a project directory.
Inputs: project_path (required), max_files, response_format. Returns: data, meta
localnest_task_contextTask ContextCRead-onlyIdempotent
[QUICK_REHYDRATION] Bundle runtime status, memory state, and relevant recall for a non-trivial task in one call.
Inputs: query, task, root_path, project_path, +6 more. Returns: data, meta
localnest_teachTeachA
Teach the agent a durable behavior rule. Stores a high-importance feedback memory that auto-surfaces in agent_prime when future tasks match the instruction domain. Use this to set persistent preferences, coding standards, or workflow rules that should apply across sessions. Teach memories can be listed (kind=feedback), updated, or deleted via existing memory CRUD tools.
Inputs: instruction (required), importance, tags, nest, +4 more. Returns: data, meta
localnest_update_selfUpdate SelfADestructiveIdempotent
Update localnest-mcp globally via npm and sync bundled skill. Supports stable, beta, or explicit version targets. Requires explicit user approval.
Inputs: approved_by_user, dry_run, version, reinstall_skill, +1 more. Returns: data, meta
localnest_update_statusUpdate StatusARead-onlyIdempotent
Check npm for the latest localnest-mcp version on the selected channel (cached, default every 120 minutes).
Inputs: force_check, channel, response_format. Returns: data, meta
localnest_usage_guideUsage GuideARead-onlyIdempotent
Return concise best-practice guidance for users and AI agents using this MCP.
Inputs: response_format. Returns: data, meta
localnest_whats_newWhat's NewARead-onlyIdempotent
Cross-session delta: new memories, KG triples, file changes, and commits since a given timestamp or last session.
Inputs: since (required), agent_id, project_path, limit, +1 more. Returns: data, meta
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 74 tools
Each tool has a clearly distinct purpose, with detailed descriptions that eliminate ambiguity. Even multiple search tools are differentiated by their search strategy (exact match, fast discovery, deep analysis).
All tools follow a consistent `localnest_verb_noun` pattern in snake_case, making it predictable and easy to navigate.
74 tools is high, but they cover a broad range of functionality (memory, knowledge graph, indexing, search, hooks, etc.). The count is justified for a comprehensive local development assistant, but may be overwhelming for agents.
The tool surface appears complete for the intended use case: memory and knowledge graph CRUD, project indexing, semantic search, backup/restore, hooks, and self-update. No obvious gaps.
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- AlicenseAqualityCmaintenanceLocal-first MCP server that gives any AI coding agent per-project memory, workflow intelligence, and always-on, lossless token & context optimization.3765 npm6MIT
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.41 npmMIT
- AlicenseNot gradedqualityBmaintenanceLocal MCP server to index your codebase once and search it across AI sessions with keyword, semantic, or hybrid search, keeping all data on disk.91 npm3MIT
- FlicenseBqualityDmaintenanceA fully local, privacy-first MCP server that gives AI coding assistants deep repository intelligence with file-and-line-cited answers, persistent semantic memory, and agentic abilities like task planning and code review—all without any cloud API calls.23-