Tablif Town/Semlith/Problem page
Problem page

How to search across multiple git repositories with Claude

Developers working on complex software systems often find that a single feature or bug fix spans multiple git repositories and requires unified context. When you use Claude or other AI agents, the context window is typically restricted to the current directory or a single repository you have opened. This limitation makes it incredibly difficult for the agent to understand cross-repository dependencies, shared internal libraries, or how a change in a backend API might affect a frontend consumer located in a different project. You need a reliable way to give Claude a comprehensive view of your entire codebase and related documentation without the tedious process of manually copying and pasting relevant files into the chat interface. By providing a unified index, you ensure the agent has the facts it needs to be helpful.

3 min readWritten from semlith.comWelcome page from Tablif · 1 Nov 2026
The short answer

Semlith addresses these challenges by creating a single, unified index that encompasses all your repositories, documents, and project tickets. It functions as a central source of truth that any AI agent can query through a standardized Model Context Protocol (MCP) URL, regardless of where the agent is running.

On this page
  1. Why the usual way fails
  2. How Semlith helps
  3. Step by step
  4. Tips
  5. Questions

Why the usual way fails

Most modern AI tools and IDE extensions are designed to index a single workspace or a specific folder at a time. If your organization utilizes a microservices architecture or maintains separate repositories for documentation, infrastructure, and application code, the AI remains blind to the broader architectural picture. Standard command-line tools like grep or ripgrep can find specific strings across multiple folders, but they lack the semantic understanding required to identify symbol definitions or complex relationships that span repository boundaries. Manually selecting and feeding files into a chat interface is not only slow but also prone to human error, as you might miss a critical dependency that you didn't even know existed. Furthermore, many cloud-based AI agents operate in sandboxed environments, meaning they cannot access your local file system or private internal tools like Confluence and Jira where the actual business requirements and technical specifications are stored. This lack of visibility leads to hallucinations where the agent guesses how external components work instead of referencing the actual source code.

How Semlith helps

Semlith addresses these challenges by creating a single, unified index that encompasses all your repositories, documents, and project tickets. It functions as a central source of truth that any AI agent can query through a standardized Model Context Protocol (MCP) URL, regardless of where the agent is running. Instead of forcing you to re-index each repository for every new session or tool, Semlith indexes your entire workspace once and keeps that information fresh as you make changes. The underlying engine maps the intricate relationships between code symbols across all these different sources, which allows an AI agent to see exactly which functions in one repository call the code you are currently modifying in another. This provides the agent with the necessary reach to provide accurate, context-aware answers without relying on guesses about missing information. Because it uses a graph-based approach rather than just a generative model for retrieval, the answers it provides to the agent are based on hard facts found within your files.

“Your context is spread across repos and tools. The caller lives in another repository. The spec is in Confluence”
From semlith.com
“Every repository and document, indexed once and kept fresh — answering every agent, on every machine, over one MCP URL.”
From semlith.com

Step by step

  1. Install the Semlith binary on your local development machine using the provided one-line installer or the cargo package manager.
  2. Execute the setup command to automatically register the Semlith server with your preferred AI clients, such as Claude Code, Cursor, or the ChatGPT desktop application.
  3. Add your various git repositories, Confluence spaces, and Jira projects to the local indexer to begin the data ingestion process.
  4. Allow the system a few moments to complete the initial indexing and build the cross-repository graph that maps symbol relationships.
  5. Connect your Claude instance to the local or remote MCP URL generated by the Semlith portal to enable seamless communication.
  6. Start asking Claude complex questions that span your entire toolset, such as identifying every location where a specific API endpoint is consumed across the organization.

Tips

  • Utilize the automated impact check feature to visualize how a proposed code change in a pull request affects dependent callers in other repositories before you merge.
  • Enhance the quality of AI responses by indexing your Confluence documentation and Jira tickets alongside your source code to provide full project context.
  • Run the free version of the software locally to ensure that all your sensitive data remains on your own machine and is accessible even without an internet connection.
  • Monitor the retrieval ledger in the portal to see exactly which code chunks and document sections the AI agent referenced to generate its specific answer.

Questions

How long does it take for changes to become searchable?

Local file changes are typically indexed and searchable in less than five seconds.

Source: semlith.com
Can I use it without an internet connection?

Yes, the free version runs entirely on your local machine and works offline.

Source: semlith.com
How does it compare to standard search tools like grep?

It outperforms grep in retrieval benchmarks, correctly identifying the relevant file for a fix 76.8% of the time.

Source: semlith.com

Index your code and documents once to provide a single source of truth for every AI agent running on your machine or in the cloud.