Skip to main content
MCP server CX Codex

Sourcegull — Claude Code MCP server: code search and setup

The Sourcegull MCP server for Claude Code searches code and supports navigation across GitLab, GitHub, and Gitea repositories. An agent can query it to locate an implementation or trace related code.

Apache-2.0 ★ 19 updated 2026-11-13

Open on GitHub

What Sourcegull does

Sourcegull indexes GitLab, GitHub, and Gitea repositories for code search and navigation. Its MCP server returns relevant code lines to an agent rather than a full repository clone. The service runs on infrastructure you host.

Running Sourcegull requires a deployed server and PostgreSQL version 16 or newer; the agent connects to the server’s MCP address. Once connected, it can search source code and follow links between related parts. PostgreSQL 16 or newer is required for the server to run.

What it helps with

  • locate a function across GitLab, GitHub, and Gitea repositories
  • trace references between parts of a codebase
  • retrieve relevant source lines through MCP

Example prompts for the agent

  • Find where authentication is implemented across the repositories.
  • Trace which parts of the code call this method.
  • Search all connected repositories for uses of this type.

How to install Sourcegull

1Template address

The server address is a template: replace {…} or […] with your own values

2Platform CLI: remote server

claude mcp add --transport http sourcegull https://{sourcegull_host}/.api/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Sourcegull

How do I install Sourcegull in Claude Code?

Run claude mcp add --transport http sourcegull https://{sourcegull_host}/.api/mcp, replacing the placeholder with the Sourcegull server address.

What does Sourcegull do?

It searches and navigates code across GitLab, GitHub, and Gitea repositories. Through MCP, an agent receives lines relevant to its query.

What does Sourcegull require?

It needs a running Sourcegull server and PostgreSQL version 16 or newer. Claude Code connects to https://{sourcegull_host}/.api/mcp.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open