loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

vite-mf-monorepo-rag

MCP Tool

fubaritico/vite-mf-monorepo-rag

MCP server as a RAG to ease the interaction with Claude for the migration of vite-mf-monorepo-tmdb

Install

$ npx loaditout add fubaritico/vite-mf-monorepo-rag

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "vite-mf-monorepo-rag": {
      "command": "npx",
      "args": [
        "-y",
        "vite-mf-monorepo-rag"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

vite-mf-monorepo-rag

Local RAG system for semantic recall of the vite-mf-monorepo legacy codebase from Claude Code.

Goal

Allow Claude Code, when working in the Next.js project, to find legacy code and patterns by meaning — not by filename. Instead of searching by file name or regex, Claude Code calls recall("how was token refresh handled?") and gets back the most semantically relevant chunks from the legacy codebase.

How it works
1. INDEXING (one-time, then re-run when legacy changes)
   pnpm index
   → walks vite-mf-monorepo (349 files)
   → chunks each file into overlapping segments
   → embeds each chunk via nomic-embed-text (Ollama, local)
   → stores chunks + embeddings in MongoDB Atlas (legacy_chunks)

2. RECALL (at query time, triggered by Claude Code)
   Claude Code calls the recall() MCP tool with a natural language query
   → query is embedded via nomic-embed-text
   → vector search in MongoDB Atlas finds the top N most similar chunks
   → Claude Code receives file paths + content ranked by semantic similarity
Stack

| Component | Choice | |---|---| | Embeddings | nomic-embed-text via Ollama (local, 768 dimensions) | | Vector store | MongoDB Atlas M0 — rag-cluster / rag / legacy_chunks | | Vector index | Atlas Vector Search — cosine similarity, filters on filePath, package, app | | MCP server | Local stdio server exposing recall() to Claude Code | | Language | TypeScript |

Prerequisites
Ollama

Ollama must be running locally — it handles all embedding generation.

  1. Download and install from ollama.com
  2. Pull the embedding model:
ollama pull nomic-embed-text
  1. Verify:
ollama list

Ollama must be running in the background before indexing or using recall.

Structure
src/
  indexer/
    index.ts      # indexing pipeline entry point
    walk.ts       # recursive file walker with ignore rules
    classify.ts   # classifies files as app or package
    chun

Tags

claudeclaude-codemcpmcp-servermongodb-atlastypescriptvector-database

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated23 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/22/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/fubaritico/vite-mf-monorepo-rag)](https://loaditout.ai/skills/fubaritico/vite-mf-monorepo-rag)