🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

sprout-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sprout-mcp

Model-tiered content pipeline MCP server — cheap models seed, expensive models verify

pipPyPI
Version
0.1.4
Weekly downloads
34
41.67%
Maintainers
1
Weekly downloads
 

Sprout MCP

Drop your Opus bill 80%. Model-tiered content pipeline for MCP — cheap models seed work, expensive models verify it.

Sprout routes tasks to the right model tier automatically. Haiku drafts, Sonnet fact-checks, Opus verifies. Every chunk tracks provenance, confidence, and cost.

Install

uvx sprout-mcp

Or add to Claude Code's MCP config (~/.claude/settings.json):

{
  "mcpServers": {
    "sprout": {
      "command": "uvx",
      "args": ["sprout-mcp"]
    }
  }
}

How It Works

  Haiku (seed)  →  Sonnet (watered)  →  Opus (sprouted)
    Draft            Fact-check           Verify
    $0.005/M         $0.015/M             $0.075/M
  • Seed — Haiku drafts content cheaply (summarization, extraction, first passes)
  • Water — Sonnet reviews and fact-checks the seeds
  • Sprout — Opus deep-verifies only what passed Sonnet's review

Instead of running everything through Opus at $75/M output tokens, most work stays at Haiku's $5/M. Only the final verification — typically 10-20% of total work — touches Opus.

Tools (13)

ToolDescription
submit_chunkStore content with provenance (model, task type, sources)
get_review_queueList chunks needing review, filtered by confidence/project
mark_reviewedPromote (seed→watered→sprouted) or reject chunks
recommend_modelGet model recommendation for a task type
get_statsDashboard of chunk counts, confidence levels, token usage
export_chunksExport verified chunks as JSON
opus_testGenerate structured review summary for batch verification
schedule_taskSchedule tasks to run at a specific time or delay
list_scheduledView pending scheduled tasks
cancel_scheduledCancel a pending scheduled task
configure_routingAdd/update routing rules at runtime
get_cost_reportEstimated spend per model with real pricing
retry_on_errorTrack failed attempts with backoff guidance

Configuration

Environment Variables

VariableDefaultDescription
SPROUT_DB_PATH~/.sprout/sprout.dbSQLite database location
SPROUT_CONFIG(none)Path to JSON config file for custom routes and pricing
SPROUT_MAX_RETRIES3Max retry attempts before giving up
SPROUT_RETRY_BACKOFF2.0Exponential backoff base (seconds)

Custom Config File

Create a JSON file and point SPROUT_CONFIG at it:

{
  "routes": {
    "code_review": { "tier": "sonnet", "reason": "Code analysis needs reasoning" },
    "translation": { "tier": "haiku", "reason": "Straightforward language task" }
  },
  "pricing": {
    "custom-model": 10.00
  }
}

Default Routing Table

Task TypeTierWhy
biography_synthesishaikuFactual summarization
council_descriptionhaikuHistorical summarization
document_synopsishaikuContent summarization
json_validationhaikuStructural verification
summarizationhaikuGeneral summarization
data_extractionhaikuStructured extraction
fact_check_first_passsonnetCross-reference claims
code_reviewsonnetCode analysis
fact_check_finalopusDeep factual verification
theological_analysisopusDomain expertise required
complex_analysisopusDeep reasoning required

Unknown task types default to haiku — start cheap, escalate if needed.

Example Workflow

You: Use recommend_model for "biography_synthesis"
Sprout: biography_synthesis → haiku-4.5 (Factual summarization)

You: Use submit_chunk to store the Haiku output
Sprout: Stored chunk abc12345 [seed] for person-001.biography

You: Use get_review_queue to see what needs fact-checking
Sprout: 1 chunk pending review

You: Use mark_reviewed to promote after Sonnet fact-checks it
Sprout: Chunk abc12345 → watered (verified by sonnet-4.6)

You: Use get_cost_report
Sprout: haiku-4.5: ~1,300 tokens (1 chunk) — $0.0065
        Total: $0.0065

Development

git clone https://github.com/mepsopti/sprout-mcp.git
cd sprout-mcp
uv sync --extra dev
uv run pytest

Support

If Sprout saves you money on your AI bill, consider buying me a coffee:

Buy Me A Coffee

License

MIT

mcp-name: io.github.mepsopti/sprout-mcp

Keywords

ai-pipeline

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts