harvest
This server discovers and packages training-data or code catalogs from Hugging Face and GitHub, without API keys or an internal LLM.
harvest.search: search Hugging Face datasets and GitHub repos by plain-English topic, plus a full 12-expert atlas sweep, returning deduplicated items.harvest.expert: run any one of 12 curated experts — code, math, science, language, vision, audio, medical, law, knowledge, safety, affect, systems.harvest.latest: scan trending recently-updated Hugging Face datasets and hot/recent GitHub repos.harvest.compose: locally mix a catalog into a balanced set of picks with rationale; no LLM required.harvest.pack: compose from a catalog and emit aflare-harvest-libraryv1 JSON pack with coverage/balance scores.Optional
hf_token/gh_tokenper call (orHF_TOKEN/GITHUB_TOKENenv vars) for higher rate limits; no token is stored.Not in this server schema:
harvest.resolve,harvest.pull, andharvest.push, which the README describes but the provided schema does not expose.
Searches GitHub repositories and integrates them as training-data sources, letting agents discover code, datasets, and related repos for a topic.
Searches Hugging Face datasets and integrates the results into training-data packs, letting agents discover and select relevant datasets for a given topic.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@harvest find me training data for a small vision-language model"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
harvest-mcp
Plain-English topic in → 12 experts fan out over Hugging Face + GitHub in parallel → coverage-scored training pack JSON out in ~30 seconds.
No API keys. No Bridge. No account. Works out of the box once connected to any MCP host — no LLM inside; your agent brings the thinking.
Harvest is a training-data scout: you describe what you want to train on in plain English
("image classification", "medical question answering"), and 12 domain experts —
code, math, science, language, vision, audio, medical, law, knowledge, safety, affect, systems —
each sweep Hugging Face datasets and GitHub repos with their own curated queries. The local mixer
then composes the hits into a balanced, coverage-scored training library pack
(flare-harvest-library v1 JSON) you can hand to any training pipeline.
Install
npx github:The-Warl0ck/harvest-mcpOr add it to Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"harvest": {
"command": "npx",
"args": ["github:The-Warl0ck/harvest-mcp"]
}
}
}With optional tokens for higher rate limits:
{
"mcpServers": {
"harvest": {
"command": "npx",
"args": ["github:The-Warl0ck/harvest-mcp"],
"env": {
"HF_TOKEN": "hf_...",
"GITHUB_TOKEN": "ghp_..."
}
}
}
}Requirements: Node.js ≥ 20.
Related MCP server: GitHub Trending MCP
Example session
You: find me training data for a small vision-language model
harvest.search
{ "topic": "vision language instruction tuning" }→ ~40 hits: LLaVA-NeXT data, the Cauldron, DOCCI, LLaVA repo… plus the 12-expert atlas sweep for breadth (code, math, safety…)
harvest.compose
{ "goal": "small vision-language model", "catalog": […] }→{ "title": "small vision-language model", "picks": [ { "id": "lmms-lab/LLaVA-NeXT-Data", "expert": "vision", "why": "Anchor Vision on Hugging Face" }, … ], "rationale": "Local mixer staged 22 items across 12/12 experts. No mouth required.", "engine": "local" }
harvest.pack
{ "goal": "small vision-language model", "name": "VLM Mix v1", "catalog": […] }→flare-harvest-libraryv1 JSON withcoverage: { filled: 12, totalExperts: 12, balance: 0.94 }and per-itemingest: { type: "hf-dataset" | "github-repo", ref }pointers.
The second half — the hands. Packs start as pointers; pull turns them into files:
harvest.resolve
{ "item": { "id": "openai/gsm8k", "source": "huggingface" } }→ the loot preview: 4 parquet shards + README, each with a one-line reason, nothing stupid
harvest.pull
{ "pack": {…}, "destination": "download" }→ resolves + fetches every item, updates the pack'sindexstanza, and buildsVLM Mix v1.harvest.zip— one file with everything plusMANIFEST.jsonprovenance
harvest.push
{ "bundle": "/path/to/VLM Mix v1.harvest.zip", "owner": "you", "repo": "my-data", "token": "ghp_…", "create_if_missing": true }→ one commit on a new private repo: files + manifest, message says what it is and where it came from
The same loop works for code. Second session — the build pack:
You: I want the rate-limiting code from a few good repos, packaged so my agent can build with it
harvest.search
{ "topic": "express rate limiting middleware" }→ thecodeexpert surfaces the repos with the parts you want
harvest.pack
{ "goal": "add rate-limiting to my API", "name": "Rate Limit Parts v1", "catalog": […], "purpose": "code" }→flare-harvest-codepackv1 JSON — same item envelope, no training-coverage scoring
harvest.pull
{ "pack": {…}, "destination": "download", "kinds": ["code", "docs"] }→ pulls just the source files (skips weights/datasets), builds the.harvest.zip
harvest.push
{ "bundle": "…", "owner": "you", "repo": "rate-limit-parts", "create_if_missing": true }→ your agent pulls the repo and builds from the parts
Tools
Tool | What it does |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
catalog items are { id, source, expert, description? } — the objects harvest.search returns drop straight in.
Rate limits
Everything hits the public Hugging Face and GitHub APIs. Unauthenticated, you get:
Hugging Face: generous anonymous quota on
/api/datasets(occasional 429s on bursts; results are cached 12 min in-process)GitHub: 60 requests/hour per IP for search — the 12-expert sweep is the hungriest call
For real use, set HF_TOKEN / GITHUB_TOKEN (free accounts) via env or the per-call
hf_token / gh_token args. See .env.example.
Pack format
Packs are flare-harvest-library v1 JSON — see PACK-FORMAT.md.
Pointer vs. pulled
A fresh pack is pointers, not data: each item names its source and how to
ingest it, but no files. harvest.pull turns pointers into files and records
the result in an additive index stanza on the pack JSON:
{ "index": { "openai/gsm8k": { "local": "/tmp/harvest-pulls/pack/openai__gsm8k",
"url": "https://huggingface.co/datasets/openai/gsm8k", "kind": "dataset",
"license": null, "fetched_at": "2026-09-26T…", "files": ["main/train-….parquet", …] } } }v1 readers ignore the stanza safely; packs without it load as pointer-only.
destination: "download" additionally produces a .harvest.zip containing the
files plus MANIFEST.json (source, URL, license, SHA-256 per file — licenses
are reported as unknown when the pack doesn't state one, never guessed).
Token story
Tokens are passed per call, never stored:
harvest.search/harvest.expert/harvest.latest/harvest.resolve/harvest.pullaccepthf_token/gh_token(or theHF_TOKEN/GITHUB_TOKENenv vars) — used for higher rate limits and gated datasets, sent only as anAuthorizationheader.harvest.pushtakes a per-calltoken(GitHub PAT, orGITHUB_TOKENenv).No token is ever written to disk, to logs, to a pack file, or to a manifest. Fetch resume ledgers (
.harvest-fetch.json) hold only paths, byte counts, and hashes.
How it works
src/harvest/scan-core.ts— parallel HF/GitHub scanning, 12-min result cachesrc/experts.ts— the 12-expert atlas (curated queries + seed items)src/harvest/compose-local.ts— the local mixer ("No mouth required"): anchors one item per expert, then balances HF/GitHub sources, then fills for coveragesrc/coverage.ts— entropy-based coverage/balance scoring across the 12 expertssrc/harvest/compose-mouth.ts— opt-in: compose via any OpenAI-compatible/v1endpoint (LM Studio, etc.) instead of the local mixersrc/harvest/resolve.ts— the "which files" intelligence: HF Hub / GitHub tree listings classified into data, weights, config, code, docs (pure functions + thin API clients)src/harvest/fetch.ts— the hands: streaming downloads with resume, size guards, progress, SHA-256 per file; token arrives as a function arg, never storedsrc/harvest/bundle.ts— zips a fetched dir +MANIFEST.jsonprovenance into a.harvest.zipsrc/harvest/push.ts— pushes a bundle to GitHub via the Git Data API: one commit, private by default (// TODO(GitLab)seam sketched)src/harvest/index.ts— the agent side: additiveindexstanza +resolvePointer/getItemFiles/queryIndexmcp/server.ts— the MCP server (stdio, low-level SDK API, hand-written schemas)
License
Apache-2.0 — see LICENSE.
Available Tools
5 toolsharvest.composeB
Compose a balanced mix from a catalog of items with the local mixer — no LLM/mouth required. Returns picks with rationale.
Inputs: goal (required), catalog (required).
harvest.expertA
Run one of the 12 experts against Hugging Face + GitHub using its curated queries. Returns HarvestItem[].
Inputs: expert (required), gh_token, hf_token.
harvest.latestA
Scan what's trending: recently-updated Hugging Face datasets and hot/recent GitHub repos. Returns HarvestItem[].
Inputs: gh_token, hf_token.
harvest.packB
Compose a mix from a catalog and emit a flare-harvest-library v1 pack JSON with coverage scores. No Bridge stanza included.
Inputs: goal (required), name (required), catalog (required).
harvest.searchA
Search Hugging Face datasets and GitHub repos for a plain-English topic, then sweep the 12-expert atlas for breadth. Returns deduplicated HarvestItem[]. Works with no tokens (public rate limits apply).
Inputs: topic (required), gh_token, hf_token.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The retrieval tools (search, expert, latest) are distinct in their modes: general search, expert-curated queries, and trending items. The composition tools (compose, pack) overlap slightly as both create mixes from a catalog, but pack adds a specific output format with coverage scores, reducing ambiguity.
All tool names are single lowercase verbs (search, expert, latest, compose, pack) following a uniform pattern. No mixing of styles or inconsistent verb forms.
With 5 tools covering search and composition workflows, the count is well-scoped and each tool serves a clear purpose. It is within the ideal 3-15 range and feels complete for the domain.
The tool set covers the core lifecycle: retrieving items via search, expert, and latest, then composing and packaging them. Minor gaps exist like no direct item detail fetch, but the returned HarvestItem[] likely includes necessary metadata, so workflows are not blocked.
Maintenance
Related MCP Connectors
Search and load AI datasets, prompts and few-shot contexts from the ContexteTech catalogue.
Search, sample and query open reproducible datasets published as immutable Parquet with schemas.
Search and fetch AI agent skills, rules files and MCP servers indexed from GitHub.
Discover, run, inspect, build, test, and privately reuse AI workflows.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to the Hugging Face Hub API to search and retrieve information about machine learning models, datasets, and their metadata. Provides comprehensive tools for exploring the Hugging Face ecosystem including model details, dataset information, and parquet file access.8MIT
- FlicenseNot gradedqualityDmaintenanceEnables natural language queries to search GitHub for trending repositories by topic, summarize project READMEs, and compare multiple repos to uncover ecosystem patterns.2-
- AlicenseNot gradedqualityDmaintenanceProvides direct access to the Hugging Face Hub for searching models and datasets, fetching metadata, and running inference on text, images, and audio.MIT
- AlicenseNot gradedqualityCmaintenanceSearch and retrieve models, datasets, and spaces from Hugging Face Hub. Enables browsing trending items and getting detailed info on repos.117 npmMIT