UNPKG

mongodocs-mcp

Version:

Lightning-fast semantic search for MongoDB documentation via Model Context Protocol. 10,000+ documents, <500ms search.

74 lines 1.85 kB
#!/usr/bin/env node /** * ULTIMATE MONGODB + VOYAGE AI DOCUMENTATION INDEXER * * The most comprehensive MongoDB documentation indexing tool ever created. * Indexes 10,000+ documents from 60+ repositories with perfect Voyage AI embeddings. * * Why this takes time but is WORTH IT: * - Indexes ALL MongoDB documentation (not just the basics) * - Perfect embeddings with Voyage AI's latest models * - Smart chunking for optimal retrieval * - Incremental updates to save time on reruns * - Beautiful progress tracking so you know it's working */ declare class UltimateMongoDBIndexer { private mongoClient; private voyageApiKey; private voyageContextualUrl; private readonly VOYAGE_DIMENSIONS; private db; private collection; private state; private startTime; private config; private readonly SOURCES; constructor(); run(): Promise<void>; /** * Create visual progress bar */ private createProgressBar; /** * Index a GitHub repository with beautiful progress */ private indexGitHubRepo; /** * Index a web page */ private indexWebPage; /** * Split text into chunks */ private splitIntoChunks; /** * Process a documentation file */ private processDocFile; /** * Index chunks with embeddings - THE HEART OF THE OPERATION */ private indexChunks; /** * Clone or update repository */ private cloneOrUpdateRepo; /** * Find documentation files */ private findDocFiles; /** * Load indexing state */ private loadState; /** * Save indexing state */ private saveState; /** * Print EPIC final statistics */ private printFinalStats; } export { UltimateMongoDBIndexer }; //# sourceMappingURL=index-docs.d.ts.map