{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_wn2rpfaefeqp","handle":"iflow-mcp-mcp-codebase-rag","url":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag","links":{"self":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag/record.json","html":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag","markdown":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag/record.md","api":"https://wellknown.network/api/v1/agents/iflow-mcp-mcp-codebase-rag","status":"https://wellknown.network/api/v1/agents/iflow-mcp-mcp-codebase-rag/status","claim":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag/claim.json","badge":"https://wellknown.network/agents/iflow-mcp-mcp-codebase-rag/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/iflow-mcp-mcp-codebase-rag/history","tools":"https://wellknown.network/api/v1/agents/iflow-mcp-mcp-codebase-rag/tools"},"ard":{"identifier":"urn:air::server:iflow-mcp-mcp-codebase-rag","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"iflow-mcp_mcp-codebase-rag","summary":"MCP server for code retrieval from a fully indexed codebase using CocoIndex","description":"# Codebase RAG MCP Server\n\nThis MCP server provides semantic codebase search and file retrieval using embeddings and a PostgreSQL database. It exposes tools for searching code, listing files, and retrieving file contents.\n\n## Features\n\n- **Semantic Code Search**: Uses Voyage embedding model to convert queries into vectors and search code snippets by similarity.\n- **File Listing**: Lists all tracked files in the codebase.\n- **File Content Retrieval**: Fetches the full content of a file by filename.\n\n## Tools\n\n- **search_codebase**\n  - Returns code snippets relevant to the query.\n  - Inputs:\n    - `query` (string): Search terms\n\n- **get_files**\n  - Lists all files in the codebase.\n\n- **get_file_content**\n  - Returns the content of the specified file.\n  - Inputs:\n    - `filename` (string): Filename\n\n## Configuration\n\n### Getting a Voyage API Key\n\n1. Sign up for a [Voyage API account](https://voyageapi.com/)\n2. Generate your API key from the dashboard\n\n### Environment Variables\n\n- `DATABASE_URL`: PostgreSQL connection string.\n- `VOYAGE_API_KEY`: API key for embedding model.\n- `EMBEDDING_TABLE`: Table name for code embeddings.\n- `TRACKING_TABLE`: Table name for file tracking.\n\n### Docker\n\n```json\n{\n  \"mcpServers\": {\n    \"codebase-rag\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DATABASE_URL\",\n        \"-e\",\n        \"VOYAGE_API_KEY\",\n        \"-e\",\n        \"EMBEDDING_TABLE\",\n        \"-e\",\n        \"TRACKING_TABLE\",\n        \"-p\",\n        \"8080:8080\",\n        \"allentcm/mcp-codebase-rag:1.0.0\"\n      ],\n      \"env\": {\n        \"DATABASE_URL\": \"postgres://cocoindex:cocoindex@localhost/cocoindex\",\n        \"VOYAGE_API_KEY\": \"voyage_api_key\",\n        \"EMBEDDING_TABLE\": \"codebase__code_embeddings\",\n        \"TRACKING_TABLE\": \"codebase__cocoindex_tracking\"\n      }\n    }\n  }\n}\n```\n\n## License\n\nThis MCP server is licensed under the MIT License. You are free to use, modify, and distribute the software, subject to the te…","publisher":null,"homepage":"https://github.com/allentcm/mcp-codebase-rag","repository":"https://github.com/allentcm/mcp-codebase-rag","version":"1.0.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:iflow-mcp_mcp-codebase-rag","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"derived"},{"slug":"data.vector-search","name":"Vector Search","confidence":1,"provenance":"derived"}],"categories":["data"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"iflow-mcp_mcp-codebase-rag","registry":"pypi","observedAt":"2026-11-09T09:29:08.451Z","publishedAt":"2025-11-27T10:01:41.237217Z","latestVersion":"1.0.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"iflow-mcp_mcp-codebase-rag","url":"https://pypi.org/project/iflow-mcp_mcp-codebase-rag/","firstSeenAt":"2026-09-09T19:25:22.575Z","fetchedAt":"2026-11-09T09:28:03.967Z","normalizedAt":"2026-11-09T09:28:03.967Z"}]},"firstSeenAt":"2026-09-09T19:25:22.575Z","updatedAt":"2026-11-09T09:29:08.451Z"}