Search Tools

MCP Codebase RAG logo

MCP Codebase RAG

allentcm/mcp-codebase-rag

This 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.

Install

docker run -i --rm -e DATABASE_URL -e VOYAGE_API_KEY -e EMBEDDING_TABLE -e TRACKING_TABLE -p 8080:8080 allentcm/mcp-codebase-rag:1.0.0

Client configuration

{
  "mcpServers": {
    "codebase-rag": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URL",
        "-e",
        "VOYAGE_API_KEY",
        "-e",
        "EMBEDDING_TABLE",
        "-e",
        "TRACKING_TABLE",
        "-p",
        "8080:8080",
        "allentcm/mcp-codebase-rag:1.0.0"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "VOYAGE_API_KEY": "<VOYAGE_API_KEY>",
        "EMBEDDING_TABLE": "<EMBEDDING_TABLE>",
        "TRACKING_TABLE": "<TRACKING_TABLE>"
      }
    }
  }
}

Environment variables

DATABASE_URLVOYAGE_API_KEYEMBEDDING_TABLETRACKING_TABLE
Author
@allentcm
Category
Search Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Semantic Code Search: Uses Voyage embedding model to convert queries into vectors and search code snippets by similarity.

  • File Listing: Lists all tracked files in the codebase.

  • File Content Retrieval: Fetches the full content of a file by filename.

Tools (3)

  • search_codebase

  • get_files

  • get_file_content

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Exa Web Search logo

Exa Web Search

exa-labs/exa-mcp-server

1.4k

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Search Tools
modelcontextprotocol logo

modelcontextprotocol

ppl-ai/modelcontextprotocol

1k

The official MCP server implementation for the Perplexity API Platform, providing AI assistants with real-time web search, reasoning, and research capabilities through the Agent API and the Search API.

Search Tools
Coco AI logo

Coco AI

infinilabs/coco-app

353

Tagline: "Coco AI - search, connect, collaborate – all in one place.".

Search Tools
MCP Webresearch logo

MCP Webresearch

mzxrai/mcp-webresearch

241

A Model Context Protocol (MCP) server for web research.

Search Tools
Google Search logo

Google Search

web-agent-master/google-search

226

A Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches and extract results. It can be used directly as a command-line tool or as a Model Context Protocol (MCP) server to provide real-time search capabilities to AI assistants like Claude.

Search Tools
MCP Everything Search logo

MCP Everything Search

mamertofabian/mcp-everything-search

140

An MCP server that provides fast file searching capabilities across Windows, macOS, and Linux. On Windows, it uses the Everything SDK. On macOS, it uses the built-in mdfind command.

Search Tools