Listen to today's AI briefing

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

Grainulator: The MCP-Powered Research Plugin That Forces Claude Code to Prove Its Claims
AI ResearchScore: 72

Grainulator: The MCP-Powered Research Plugin That Forces Claude Code to Prove Its Claims

Grainulator transforms Claude Code into a research engine with typed claims, conflict detection, and confidence scoring—forcing AI to prove its work.

GAla Smith & AI Research Desk·7h ago·3 min read·4 views·AI-Generated
Share:
Source: github.comvia hn_claude_codeCorroborated
Grainulator: The MCP-Powered Research Plugin That Forces Claude Code to Prove Its Claims

What It Does — Structured Research with Accountability

Grainulator is a Claude Code plugin that replaces vague research prompts with systematic, auditable research sprints. When you ask Claude to "research how our auth system works," Grainulator orchestrates a multi-pass process where every finding becomes a typed claim stored in claims.json. These claims are then adversarially challenged, confidence-graded, and compiled into decision-ready briefs.

The core innovation: evidence tiers that grade confidence from statedwebdocumentedtestedproduction. The compiler runs 7 passes over claims—checking type coverage, evidence strength, conflict detection, and bias—and produces a confidence score. If unresolved conflicts exist, it blocks output until you resolve them.

Setup — Install in 2 Minutes

# Install from Claude plugin marketplace
claude plugin marketplace add https://github.com/grainulation/grainulator/blob/main/.claude-plugin/marketplace.json
claude plugin install grainulator

![Glitchy — the Grainulator mascot](https://github.com/grainulation/grainulator/raw/main/site/glitchy.png)


# If you get SSH permission errors (common with GitHub)
git config --global url."https://github.com/".insteadOf "git@github.com:"
# Then retry the install

# Or clone manually
git clone https://github.com/grainulation/grainulator.git ~/.claude/plugins/grainulator
claude plugin add ~/.claude/plugins/grainulator

Requirements: Node.js ≥20 (needed for MCP servers that run via npx).

For team deployment, add to your project's .claude/settings.json:

{
  "enabledPlugins": ["grainulator@grainulation-marketplace"]
}

How To Use It — No Slash Commands Needed

Once installed, just talk to Claude normally. The intent router detects what you want:

  • "research how our auth system works" — Runs a full research sprint
  • "challenge r003" — Adversarial testing of claim ID r003
  • "what are we missing?" — Blind spot analysis
  • "write it up" — Generates compiled brief

Launch research sprints with: "research X using grainulator"

The grainulator subagent (agents/grainulator.md) runs autonomously, reading compiler output to decide what command to run next—research, challenge, witness, blind-spot—until reaching decision-ready confidence.

MCP Architecture — Four Specialized Servers

Grainulator uses MCP (Model Context Protocol) servers for specialized tasks:

  1. wheat — Claims engine that manages typed claims and evidence
  2. mill — Format conversion between different claim representations
  3. silo — Knowledge store for persistent claim storage
  4. DeepWiki — Codebase research capabilities

This MCP architecture means each component can be updated independently and potentially used by other Claude Code plugins.

When To Use It — Beyond Basic Code Questions

Use Grainulator when you need:

  1. Architecture decisions — Research multiple approaches with evidence grading
  2. Library comparisons — Get confidence-scored evaluations instead of opinions
  3. Codebase audits — Systematically document findings with conflict detection
  4. Onboarding research — New team members can explore codebases with structured output
  5. Documentation generation — Compiled briefs become living documentation

The adversarial challenge system is particularly valuable for catching AI hallucinations—forcing Claude to provide evidence before you accept claims.

Try the Demo First

Before installing, visit grainulator.app for an interactive demo with in-browser AI (WebLLM with SmolLM2-360M, ~200MB download). The PWA demonstrates the research sprint concept with 50 pre-generated demo topics and live local inference.

The CLAUDE.md Integration

Add this to your project's CLAUDE.md to document your research methodology:

## Research Standards

We use Grainulator for systematic research with evidence tiers:
- stated → web → documented → tested → production

All findings become typed claims in `claims.json`
Run "challenge [claim-id]" to test robustness
Compile with "write it up" when confidence >80%

Following this story?

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

AI Analysis

**Install this plugin today if you do any research with Claude Code.** The evidence tier system alone will save you hours of back-and-forth verifying AI claims. Instead of asking "are you sure?" repeatedly, you get graded confidence scores and can challenge specific claims. **Change your research workflow:** Start with `"research [topic] using grainulator"` instead of open-ended questions. The structured output—with typed claims and conflict detection—gives you audit trails you can reference weeks later. The `claims.json` file becomes a knowledge base that persists across sessions. **Use the adversarial challenge feature proactively.** After any research sprint, run `"what are we missing?"` for blind spot analysis, then challenge the weakest claims with `"challenge [id]"`. This forces Claude to find counter-evidence before you make decisions based on its research. **Team leaders:** Add Grainulator to your `.claude/settings.json` and establish evidence tier standards. Document in your `CLAUDE.md` what confidence level is required for different decisions (e.g., production changes need `tested` or `production` evidence).

Mentioned in this article

Enjoyed this article?
Share:

Related Articles

More in AI Research

View all