# Code Fundi | The Codebase Map for AI Agents, Teams and Applications > The Codebase Map for Autonomous Engineering Stop your AI agents from silently breaking code they never touched. Code Fundi turns any repository into a searchable, blast-radius-aware codebase map. Give your agents the map they need to see what breaks before they ship it, not hallucinations. ## Agent-readable pages Append `?view=raw` to any internal URL for token-optimized Markdown. Use the Human / Agent toggle in the site header to switch views in a browser. Support: hi@codefundi.app - [Home (full landing)](/?view=raw): Complete product overview in one file. - [llms.txt](/llms.txt/?view=raw): This file. ## See The Blast Radius Today When agents edit a file, they rarely know what else depends on it. This blind spot causes silent regressions, breaks production, and forces teams to add manual review gates. Map every file, function, and dependency before the edit ships, and stop AI-caused outages before they happen. We bridge the gap between raw source code and the map your agents need to ship safely. Lower risk. Higher accuracy. Full visibility. Highlight: Full Blast-Radius Map ## Built for Agents and Applications A high-density map for high-performance engineering. Raw code hides the blast radius. Code Fundi maps the signal. - **Blast-Radius Guard**: We map code structure and flow, not just text. See every file that breaks before your agent edits it. - **Turn Repos into a Codebase Map**: Automatically convert entire repos into a token-optimized, structure-aware map. Perfect for RAG, documentation, and prompt engineering. - **Universal Search**: Execute sub-second queries across multiple public repos simultaneously. Find the needle in the dependency graph. - **Real-Time Observability**: Stay informed as your codebase evolves, so human teams and agents never lose track of what changed or what it affects. - **Agentic Data Layer**: The primary API for parallel agent teams. Scale your infrastructure to handle QA, documentation, and complex refactoring. - **Training Data Generation**: Generate high-quality datasets directly from your codebases for custom model fine-tuning and post-training. ## Connect. Map. Ship. How we turn raw codebases into a blast-radius-aware map in minutes. 1. **Connect the Source**: Paste a URL or connect GitHub. We automatically ingest your repo, map the dependency graph, and clean the boilerplate. 2. **Build the Codebase Map**: We convert massive codebases into a token-optimized, searchable map ready for your agents' context windows. 3. **Search & Link to Agents**: Run high-speed queries and deploy agents with a grounded map. Plug this context anywhere via MCP, or API. ## Tools - [Convert Repo to Markdown](/tools/repo-to-md/?view=raw): Convert any GitHub or GitLab repository into a token-optimized Markdown file. Perfect for ChatGPT, Claude, and AI Agent context windows. - [Convert Repo to Image](/tools/repo-to-image-context/?view=raw): Convert any GitHub or GitLab repository into token efficient PNG images optimized for LLMs. Maximize context compression while keeping full context in your agent. - [Semantic Code Search](/tools/search-codebases/?view=raw): The fastest semantic search for public and private code. Query logic, architectures, and implementations across thousands of repos in sub-seconds. - [Convert Repo to Agent Prompt](/tools/prompt-builder/?view=raw): Combine structured role-based prompts with live repository context. Generate perfect Markdown briefs for Staff Engineers, QA, and SecOps agents. ## Available On - [VS Code / Cursor](/?view=raw): Use Code Fundi in VS Code or Cursor — pick your editor on the install section - [Frontend](https://www.npmjs.com/package/@codefundi/webpack-plugin): Super Charge your Terminal with Code Fundi AI (Coming Soon) - [CLI](https://npmjs.com/package/@codefundi/cli) ## Built for High-Performance Teams - **🤖 AI Agent Builders**: Feed your autonomous agents a structured, token-optimized codebase map instead of noisy raw files. - **🏢 Enterprise Engineering**: Modernize legacy stacks and enforce architectural standards across 1000s of microservices. - **🧰 Indie Hackers & Devs**: Ship full-stack apps faster by mapping implementations and debugging with a unified coding AI. ## Infrastructure For Every Scale - [Full pricing page](/pricing/?view=raw) ### Free — $0 ($0/mo yearly) For Basic Tasks and Queries ✅ 500 Credits ✅ Public Repo Index ✅ 24-Hour Usage Logs ✅ Simple Markdown Data ✅ Single Codebase Search/Chat ✅ Email Support ### Dev — $25 ($21/mo yearly) For Advanced Automations ✅ 5,000 Credits/Mo ✅ 10 Private Repo Indexes ✅ 7-Day Usage Logs ✅ Detailed Markdown Data ✅ Multi-Codebase Search/Chat ✅ Priority Support ### Startup — $75 ($62/mo yearly) For Scaling Workflows ✅ 15,000 Credits/Mo ✅ 30 Private Repo Indexes ✅ 30-Day Usage Logs ✅ Detailed Markdown Data ✅ Multi-Codebase Search/Chat ✅ Priority Support ### Pro — $250 ($210/mo yearly) For Building Agentic Infrastructure ✅ 50,000 Credits/Mo ✅ 50 Private Repo Indexes ✅ 60-Day Usage Logs ✅ Enteprise-Grade Markdown Data ✅ Multi-Codebase Search/Chat ✅ Dedicated Support ### Enterprise — Contact Us For Teams and Production ✅ Customizable Storage & Usage ✅ Zero-Data Retention (ZDR) ✅ On-Premise / VPC Deployment ✅ Dedicated Account Manager ✅ Centralized Billing & Auditing ✅ Service Level Agreements ## Site navigation - [Product](/?view=raw) - [Pricing](/pricing/?view=raw) - [Blog](/blog/?view=raw) - [About Us](/about/?view=raw) - [Documentation](https://docs.codefundi.app/docs/introduction) - [Terms of Service](/terms/?view=raw) - [Privacy Policy](/privacy/?view=raw) - [EULA](/eula/?view=raw) - [Sign in](/auth/?view=raw) - [Search](/search/?view=raw) - [Repositories](/repo/?view=raw) - [API v2](https://docs.codefundi.app/api/v2) - [llms.txt](/llms.txt/?view=raw): Curated agent manifest - [Sitemap](/sitemap.xml/?view=raw) - [Get started for free](/auth/?view=raw) - [Talk to Sales](/contact/team/?view=raw) - [📚 Read our Docs](https://docs.codefundi.app) ## Solutions by industry & use case - [AI Agent RAG](/industry/ai-agent-builders/?view=raw): Stop your agents from breaking code they never touched. Our API provides a structure-aware, searchable map so they solve complex tickets without silent regressions. - [Legacy Modernization](/industry/enterprise-legacy/?view=raw): Turn decades of technical debt into actionable insights. Map dependencies, identify logic clusters, and automate your migration to modern stacks in days. - [Engineering Velocity](/industry/software-engineering/?view=raw): Bridge the gap between documentation and code. Map once, then search logic patterns and blast radius across your entire GitHub or GitLab organization with sub-second latency. - [Technical Due Diligence](/industry/technical-m-and-a/?view=raw): Evaluate technical assets in hours, not weeks. Code Fundi provides private, structure-aware indexing to help investment teams identify technical debt and IP risks during due diligence. - [Customer Support AI](/industry/customer-support-ai/?view=raw): Stop support hallucinations. Index your product's code and technical docs to provide AI support agents with the exact context needed to solve complex developer tickets. - [Product Intelligence](/industry/product-intelligence/?view=raw): Understand how the market builds. Use Code Fundi to index public repos and developer portals, turning complex codebases into readable strategic briefs for product leaders. - [DevRel & Docs](/industry/devrel-docs/?view=raw): Your code is your documentation. Code Fundi distills your latest repository changes into high-density Markdown, perfect for updating docs or feeding community AI assistants. - [Semantic Code Review](/usecases/code-review/?view=raw): Don't just review lines of code; review the impact. Instantly find prior art and architectural patterns across your organization to ensure every merge is high-quality. - [Fine-Tuning Data](/usecases/synthetic-data/?view=raw): Your private code is your competitive advantage. Extract and structure your best patterns into high-density training data for custom LLMs and agents. - [Agentic QA](/usecases/automated-qa/?view=raw): Accelerate your QA pipeline. Provide autonomous agents with the repo maps they need to generate comprehensive test coverage and catch regressions instantly. ## Get Started Wire Code Fundi into your workflow. Install Code Fundi for VS Code (Microsoft Marketplace), Cursor (Cursor OpenVSX), Windsurf, and other editors. - [VS Code extension](https://marketplace.visualstudio.com/items?itemName=code-fundi.code-fundi) - [Cursor extension](https://marketplace.cursorapi.com/items/?itemName=code-fundi.code-fundi) - VS Code - Cursor - Windsurf ## Code Fundi MCP MCP server id: `code-fundi` Command: `npx -y @codefundi/code-fundi-mcp` Environment: `CODEFUNDI_API_KEY`, `CODEFUNDI_BASE_URL` Setup: - `npm install` - `npm run build` Verify (shell): ```bash CODEFUNDI_API_KEY="YOUR_CODEFUNDI_API_KEY" CODEFUNDI_BASE_URL="https://api.codefundi.app" npx "-y" "@codefundi/code-fundi-mcp" ``` ### Cursor - Config path: `.cursor/mcp.json` - Guide: https://cursor.com/docs/mcp ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Windsurf - Config path: `.codeium/windsurf/mcp_config.json` - Guide: https://docs.codeium.com/windsurf ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Claude - Config path: `claude_desktop_config.json` - Guide: https://modelcontextprotocol.io ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### GitHub Copilot - Config path: `settings.json` - Guide: https://code.visualstudio.com/docs/copilot/chat/mcp-servers ```json { "mcp": { "servers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } } ``` ### Cline - Config path: `.cline/mcp.json` - Guide: https://docs.cline.bot/ ```json { "mcp": { "servers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } } ``` ### VS Code - Config path: `settings.json` - Guide: https://code.visualstudio.com/docs/copilot/chat/mcp-servers ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" }, "type": "stdio" } } } ``` ### Zed - Config path: `settings.json` - Guide: https://zed.dev/docs/ai/mcp ```json { "context_servers": { "code-fundi": { "command": { "path": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ] }, "settings": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Augment Code - Config path: `settings.json` - Guide: https://docs.augmentcode.com/ ```json { "augment.advanced": { "mcpServers": [ { "name": "codefundi", "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } ] } } ``` ### Roo Code - Config path: `settings.json` - Guide: https://docs.roocode.com/ ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Gemini CLI - Config path: `~/.gemini/settings.json` - Guide: https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Claude Desktop - Config path: `claude_desktop_config.json` - Guide: https://modelcontextprotocol.io/quickstart/user ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Opencode - Config path: `opencode.json` - Guide: https://opencode.ai/docs ```json { "mcp": { "code-fundi": { "type": "local", "command": [ "npx", "-y", "@codefundi/code-fundi-mcp" ], "enabled": true } } } ``` ### Kiro - Config path: `kiro.json` - Guide: https://kiro.dev/docs/mcp/ ```json { "mcpServers": { "CodeFundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": {}, "disabled": false, "autoApprove": [] } } } ``` ### Trae - Config path: `trae.json` - Guide: https://www.trae.ai/ ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Amazon Q CLI - Config path: `amazon-q.json` - Guide: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp.html ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Warp - Config path: `warp.json` - Guide: https://docs.warp.dev/features/warp-ai/mcp ```json { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" }, "working_directory": null, "start_on_launch": true } } ``` ### Perplexity Desktop - Config path: `perplexity.json` - Guide: https://www.perplexity.ai/help-center ```json { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } ``` ### LM Studio - Config path: `mcp.json` - Guide: https://lmstudio.ai/docs ```json { "mcpServers": { "CodeFundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ] } } } ``` ### Visual Studio 2022 - Config path: `visualstudio-mcp.json` - Guide: https://learn.microsoft.com/visualstudio/ide/mcp-servers ```json { "mcp": { "servers": { "code-fundi": { "type": "stdio", "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } } ``` ### Crush - Config path: `crush.json` - Guide: https://github.com/charmbracelet/crush ```json { "mcp": { "code-fundi": { "type": "stdio", "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### BoltAI - Config path: `boltai.json` - Guide: https://boltai.com/docs ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Rovo Dev CLI - Config path: `rovo.json` - Guide: https://support.atlassian.com/rovo/docs/ ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` ### Zencoder - Config path: `zencoder.json` - Guide: https://zencoder.ai/docs ```json { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ] } ``` ### Qodo Gen - Config path: `qodo-gen.json` - Guide: https://docs.qodo.ai/ ```json { "mcpServers": { "code-fundi": { "command": "npx", "args": [ "-y", "@codefundi/code-fundi-mcp" ], "env": { "CODEFUNDI_API_KEY": "YOUR_CODEFUNDI_API_KEY", "CODEFUNDI_BASE_URL": "https://api.codefundi.app" } } } } ``` - [Documentation](https://docs.codefundi.app) ## Repositories The full crawlable repository list is in the [sitemap](/sitemap.xml). Append `?view=raw` to any repo or file URL for raw markdown, e.g. `/repo/karpathy/nanoGPT/?view=raw`. ## Community - GitHub: https://github.com/Code-Fundi - X (Twitter): https://twitter.com/code_fundi - Discord: https://discord.gg/6RJTWCuWZj