Gtags MCP server
io.github.harshithsunku/mcp-gtags-server·v2.0.0·1 starsIndexed C/C++ code navigation for AI agents — GNU Global (gtags) lookups over MCP, not grep scans.
1 stars80 downloads/wk
Reviews
Write oneNobody has reviewed Gtags yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Gtags tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
- Code scan24 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 26 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Gtags compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 80
- more than 57% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-09-17, latest 2026-09-17, typically one every 1 day.
Install Gtags in Claude Code, Cursor or VS Code
claude mcp add mcp-gtags-server -- uvx mcp-gtags-server
What the publisher says
From the Gtags repository's README, as published. We do not edit it. Read it on GitHub
mcp-gtags-server
Stop letting your AI agent grep. Give it an index.
mcp-name: io.github.harshithsunku/mcp-gtags-server
# If you don't have uv yet (one-time, no sudo):
curl -LsSf https://astral.sh/uv/install.sh | sh{ "mcpServers": { "gtags": { "command": "uvx", "args": ["mcp-gtags-server"] } } }One user-level config entry, no sudo, no pre-installed anything — the whole toolchain installs itself into user space on first use, and every repo you open is served automatically.
📖 Full documentation — install for every client, the tool reference, output format, kernel features, configuration and troubleshooting.
Every AI coding agent — Claude Code, Cursor, Codex, you name it — answers "where is this function defined?" the same way: grep the entire tree. On a million-line C/C++ codebase that's a full scan per question, and the output is a firehose: every comment, string literal, and unrelated match, dumped straight into the model's context window.
mcp-gtags-server replaces those scans with indexed lookups powered by GNU Global (gtags) — the same tags engine kernel and systems developers have trusted for decades — exposed to agents over the Model Context Protocol. Built for the codebases LSP-based tools can't handle: kernel-scale C/C++, trees that don't currently compile, machines you can't sudo on.
- ~100× faster per query — milliseconds instead of seconds, at any codebase size
- Radically less noise — the definition, not 7,873 lines of matches
- Speaks kernel — #ifdef guard stacks with .config filtering, macro-generated symbols (sysread → its SYSCALLDEFINE3 site) that no other tagging tool resolves, and definitions the parser misses recovered from their EXPORT_SYMBOL site via ctags
- Zero index management — first query builds the index, every query auto-refreshes it
- Correctness measured in CI — a 64-case golden eval covering all 8 tools against a pinned kernel: 100% recall, 100% precision@1 (docs/capability.md)
- Works everywhere MCP does — Claude Code, Claude Desktop, Cursor, any MCP client
The numbers (real Linux kernel, not a toy)
Measured on a full Linux kernel checkout — 65,163 C/C++ files, 37.1 million lines — warm page cache:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19restoreB → Ascore 92
Gtags: common questions
- Is Gtags MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Gtags safety report
- How do I install Gtags?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Gtags need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Gtags maintained?
- The last commit was 46 days ago (2026-09-19). The latest release is v2.0.0.
- How does Gtags compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 80 (more than 57% of 12,191 servers with a package). Full comparison.