Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

A developer at a terminal with AI code suggestions, DuckDB logo, and code snippets highlighting undocumented C++ APIs
Open SourceScore: 80

How GitHits MCP Server Helped Claude Code Find Undocumented DuckDB C++ APIs

Install GitHits MCP to make Claude Code search real GitHub code, finding undocumented DuckDB C++ APIs for predicate pushdowns in extensions.

·13h ago·3 min read··19 views·AI-Generated·Report error
Share:
Source: flaky.buildvia hn_claude_code, reddit_claudeMulti-Source
How do I use the GitHits MCP server to help Claude Code find undocumented APIs?

Install the GitHits MCP server to make Claude Code search real GitHub code instead of docs, enabling it to find undocumented APIs and implement features like predicate pushdowns in DuckDB extensions.

TL;DR

GitHits MCP server searches actual GitHub code, not docs, letting Claude Code find undocumented APIs and stop saying 'impossible'.

The Problem: Claude Code Says "Impossible" When It's Not

You're building a DuckDB extension. You need to implement predicate pushdowns—filtering, limiting, and projecting data at the API level instead of fetching everything and filtering locally. You know it's possible because DuckDB's own httpfs and postgres_scanner extensions do it. But the internal C++ APIs (TableFunctionSet, FunctionData, TableFilterSet, the bind/init/scan lifecycle with filter propagation) aren't documented anywhere.

You ask Claude Code. It tells you, confidently, that what you want isn't possible. Multiple times.

This is the gap. Claude Code is incredible at reading your codebase and writing production code—but it's only as good as the context you give it. When the APIs you need exist only in source code, not documentation, Claude can't find them.

The Solution: GitHits MCP Server

GitHits is a code search tool that searches actual GitHub code—millions of repos, real implementations, exact function signatures. It's not a documentation MCP. It's a code MCP.

The author of duckdb-web-archive (a DuckDB extension for querying Wayback Machine and Common Crawl) tried Context7 first. It fetched docs but everything was too high-level. The internal C++ extension APIs didn't exist in any documentation. They existed in DuckDB's own source code and community extensions.

GitHits changed everything. Once enabled as an MCP server in Claude Code, Claude could:

  • Find TableFunction::pushdown_complex_filter implementations from DuckDB's own extensions
  • See exact function signatures and patterns from postgres_scanner, httpfs, and community extensions
  • Understand how filter propagation works through the bind/init/scan lifecycle

Claude went from "this isn't possible" to showing exactly how to implement filter pushdown, limit pushdown, projection pushdown, and distinct pushdown.

How to Set It Up

  1. Join the GitHits waitlist at githits.com. Approval is quick.
  2. Get your API key from the GitHits dashboard.
  3. Add the MCP server to your Claude Code config. In your claude_code_settings.json or ~/.claude/settings.json:

Helping Claude Code to find undocumented APIs from the code

{
  "mcpServers": {
    "githits": {
      "command": "npx",
      "args": ["-y", "@githits/mcp-server"],
      "env": {
        "GITHITS_API_KEY": "your-api-key-here"
      }
    }
  }
}
  1. Restart Claude Code. Now when you ask about undocumented APIs, Claude can search actual GitHub code.

When to Use GitHits vs. Other MCPs

  • Context7 / documentation MCPs: Use when you need API docs, tutorials, or official reference material. Great for well-documented libraries.
  • GitHits: Use when the APIs you need exist only in source code—internal APIs, extension APIs, undocumented features, or when you need to see real implementation patterns.
  • Combined: Use both. Let documentation MCPs handle the high-level, and GitHits for the nitty-gritty implementation details.

The Takeaway

Claude Code is powerful, but it can't read what it can't see. When you hit a wall where Claude confidently says something is impossible, it's often a context problem—not a capability problem. MCP servers like GitHits bridge that gap by giving Claude access to real code implementations.

The next time Claude tells you something can't be done, ask yourself: Does Claude have access to the code that proves it can? If not, find an MCP server that does.

Try It Now

  1. Install GitHits MCP server
  2. Ask Claude Code: "Find examples of TableFunction::pushdown_complex_filter in DuckDB extensions on GitHub"
  3. Watch Claude go from "impossible" to implementation-ready

Source: flaky.build

Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from multiple verified sources, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Claude Code users should immediately integrate GitHits MCP into their workflow when working with undocumented or internal APIs. The key insight: Claude's confidence doesn't correlate with correctness when context is missing. Before accepting Claude's "impossible" verdict, add a code-search MCP server and re-ask the same question. For DuckDB extension developers specifically, this workflow is essential. DuckDB's C++ extension APIs are poorly documented but well-implemented in first-party extensions. GitHits lets Claude find those implementations and adapt them to your codebase. The same pattern applies to any framework or library where the source code is the documentation. To operationalize this: add GitHits to your default MCP configuration, not just when you hit a wall. Proactive context beats reactive debugging. When starting a new feature, ask Claude to search for similar implementations on GitHub before writing any code. This turns Claude from a general-purpose assistant into a domain-specific expert that's seen every pattern in your ecosystem.
Compare side-by-side
Claude Code vs GitHits

Mentioned in this article

Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Open Source

View all