Tea Rags
MCP server by artk0de Verified · npm:tea-rags
Tea Rags is an MCP server that gives AI coding agents semantic and hybrid search over a local codebase index. It also reports call graphs, churn and architecture signals.
Install Tea Rags
Built from the published package, never by AI.
claude mcp add tea-rags -- npx -y tea-ragsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"tea-rags": {
"args": [
"-y",
"tea-rags"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"tea-rags": {
"args": [
"-y",
"tea-rags"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tea-rags": {
"args": [
"-y",
"tea-rags"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tea-rags -- npx -y tea-rags{
"mcpServers": {
"tea-rags": {
"args": [
"-y",
"tea-rags"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add tea-rags npx -y tea-ragsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the tea-rags block.
About
Tea Rags is a Codebase Intelligence layer that an AI coding agent queries over MCP. It indexes the repository on the user's machine and combines several layers: semantic and hybrid search over AST-aware chunks, call graph data such as callers, callees and fan-in, and git history such as churn, bug-fix rate, ownership and age. It also checks layout and naming against the project's own history.
The declared default embedding backend is Ollama, with Qdrant as the local vector store. The source also says it supports OpenAI, Cohere and Voyage AI. Labels in its reports are computed from the repository's own percentiles. The project is aimed at developers who want their coding agent to pick well-maintained code to copy and to understand the impact of a change before making it.
Written from the project's README and checked against it.
Tools it gives your assistant
semantic_searchFinds code by meaning, with optional rerank presets such as hotspots, dangerous and proven.hybrid_searchCombines dense vector search with BM25 to match both meaning and exact identifiers.get_callersLists the exact call sites of a symbol before it is changed.trace_pathEnumerates call paths between two symbols and ranks each step by risk.review_changesChecks added declarations in a diff against the project's naming vocabulary.get_architecture_reportReports dependency direction, leaking facades, silent coupling and main sequence issues.get_ontology_reportAudits the whole project vocabulary for synonyms, homonyms and outliers.
What you need
- Qdrant vector database running locally
- Ollama for the default embeddings
- Optional OpenAI, Cohere or Voyage AI access for other embedding providers
Try asking
- Find retry logic I can reuse in this repository
- What is risky to touch around vector writes?
- Who calls this function before I change it?
Good to know
- Architecture and naming labels are relative to the repository's own percentiles.
- Ambiguous calls are reported as ambiguous rather than resolved.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Tea Rags
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Tea Rags: common questions
Does Tea Rags send code to a cloud service?
The source says it runs 100% local and indexes the repository on the user's machine. Cloud embedding providers are listed as optional support.
Which embedding providers does Tea Rags support?
Ollama is the default. The source also says it supports OpenAI, Cohere and Voyage AI.
Which MCP tools does Tea Rags expose?
The source names semantic_search, hybrid_search, get_callers, trace_path, review_changes, get_architecture_report and get_ontology_report.
How do I install Tea Rags?
In Claude Code run claude mcp add tea-rags -- npx -y tea-rags. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Tea Rags the official server?
Tea Rags is published by npm:tea-rags from its verified domain in the official MCP Registry.
Is Tea Rags free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Tea Rags safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to Tea Rags?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Tea Rags work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
