Getting Started
LocalNest MCP is a local-first MCP server that gives AI agents scoped access to your codebase, with optional semantic indexing, hybrid retrieval, and local memory.
Reference-first docs for installing, indexing, searching, and operating LocalNest.
This site is structured for implementation work. Start with setup, then move into search and indexing, and use release notes only when you need version-specific behavior.
sqlite-vecQuick start
If you want the shortest path:
- Install globally.
- Run setup.
- Run doctor.
- Paste the generated MCP block into your client.
Recommended global install:
npm install -g localnest-mcp
localnest install skills
localnest setup
localnest doctor
Fallback:
npx -y localnest-mcp-setup
npx -y localnest-mcp-doctor
Upgrade paths:
localnest upgrade
localnest upgrade stable
localnest upgrade beta
localnest upgrade 0.0.5
Choose your path
- New install: start with Install, then Configuration.
- Architecture and internal flow: use Architecture.
- Daily coding workflow: jump to Tools and Search.
- Version-specific behavior: use Current release and Release matrix.
0.0.5 before you upgrade or publish.Archived beta.8Open the full archived doc set when you need the previous-beta behavior.What you get
Scoped workspace access
Browse roots, inspect project trees, and read bounded file ranges without exposing unrelated files.
Fast lexical search
Use localnest_search_files and localnest_search_code for modules, exact symbols, and regex patterns.
Local semantic retrieval
Index a project locally, then use hybrid retrieval to answer concept-level questions with better recall.
Durable local memory
Enable opt-in memory capture to persist decisions, preferences, and prior fixes on your machine.
Suggested reading order
0.0.5 stable behavior, including runtime updates, install behavior, and the current memory workflow.Release matrixCompare stable and beta docs when you are working across versions.Typical workflow
Install the package, run localnest setup, opt into memory if needed, then verify with localnest doctor.
Add the generated mcpServers.localnest block and restart the client.
Use localnest_search_files first when locating a feature, module, or directory.
If memory is enabled, run localnest_task_context before deeper analysis so runtime status and relevant memory come back together.
Use localnest_search_code for exact identifiers and localnest_search_hybrid for concept retrieval.
Read the relevant file window with localnest_read_file before making changes or conclusions.