The AI Agent's Coding Knowledge Engine.
The AI Agent's Coding Knowledge Engine.
Install the CodeIndex MCP and give your agent real-time access to thousands of high-quality, AI-vetted code resources, code snippets, and architecture patterns, powered by a blazing-fast full-text search engine.
Why we built this
LLMs that power AI code editors are powerful, but they often miss the context needed to produce reliable code due to outdated training data. By giving them direct access to a specialized knowledge base of patterns and documentation, we close that gap, enabling faster, more accurate coding. No more guessing. No more hallucinations.
With context-aware search, your agent becomes sharper, more efficient, and generates clean, working code in fewer attempts.
To install is a simple npx cidx@latest login, follow the instructions and you are up and running in a couple of min.
Installation
- Log in to CodeIndex via terminal:
npx cidx@latest login
Copied!- This will open a browser window for GitHub login and securely store your token.
- Authorize CLI integration when prompted.
- Once complete, close the browser window and return to your terminal.
- Verify your token is valid:This confirms your token is working and your account is correctly configured.
npx cidx@latest check
Copied! - Complete MCP installation in Cursor:Copy the output and paste it into the installation prompt inside Cursor.
npx cidx@latest
Copied!
Troubleshooting
If you're having issues connecting CodeIndex to MCP inside Cursor, the steps above will reset and complete the installation.
That's it! Your CodeIndex MCP is now ready to supercharge your AI coding assistant.
MCP function reference
searchDocumentation
Allows the agent to query across indexed documentation sources. Returns relevant sections with high-precision scoring.
searchCodeSnippets
Find implementation examples, patterns, and code solutions that match your search query across all libraries.
searchArchitecturePatterns
Search for recommended project structures, design patterns, and architecture recommendations for web and game development.
getArchitecturePatternById
Retrieve the complete details of a specific architecture pattern, including full markdown content and implementation guidance.
getSnippetByDocumentationId
Retrieve code snippets specifically associated with a documentation entry. This allows precise access to the implementation examples for a particular documentation resource.