
Harvest
io.github.The-Warl0ckPublished by GitHub account The-Warl0ckv0.1.0Updated Oct 24, 2026
Plain-English training-data scout: 12 experts sweep HuggingFace + GitHub, compose scored packs.
Overview
A local training-data scout that searches Hugging Face and GitHub by plain-English topic, composes scored packs, and can download or push them.
- What you can do
- Search Hugging Face datasets and GitHub repos by topic, or run one of 12 curated domain experts, or list trending items; results are deduplicated and cached briefly. Compose a balanced, coverage-scored selection from a catalog, as a training library pack or a code parts pack. Preview which files a pack item would fetch, without downloading. Pull a whole pack to local storage or a download folder, optionally limited to code and docs, and build a zip with a provenance manifest. Push a bundle to GitHub as a single commit on a new private repo.
- When to use it
- Useful when you want an assistant to find candidate datasets or repositories for training or for code reuse, assemble a balanced shortlist, and fetch or publish the result without leaving the chat. Less relevant if you only need ad-hoc web search or already have a curated data pipeline.
- Requirements
- Runs locally over stdio via npx and needs Node.js 20 or newer. Network access to the public Hugging Face and GitHub APIs. No account or key is required, but optional HF_TOKEN and GITHUB_TOKEN environment variables or per-call hf_token, gh_token and token arguments raise rate limits and unlock gated datasets; harvest.push needs a GitHub token.
Installation
In SourceWeft
- Open Harvest in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
Or add it to Claude Desktop (claude_desktop_config.json):
With optional tokens for higher rate limits:
Requirements: Node.js ≥ 20.
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
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:
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.
Source: README.md at commit 6645008
Tools
0Version history
1- v0.1.0LatestSep 26, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts