npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vespermcp/mcp-server

v1.7.3

Published

AI-powered dataset discovery, quality analysis, and preparation MCP server with multimodal support (text, image, audio, video)

Downloads

592

Readme

Vesper

Local-first dataset tools for coding agents. Find, inspect, download, analyze, clean and split datasets through MCP instead of generating pandas/Polars scripts. No Vesper account is required; local tools and public sources work without keys.

Quickstart

Install Node.js 20+ and Python 3.10+, then run the same command on Windows, macOS or Linux:

npx -y @vespermcp/setup

Setup installs server 1.7.3, creates a managed Python environment with uv when available (otherwise venv + pip), installs core Polars with visible progress, warms the server, and verifies a real MCP initialize + tools/list. It then writes exact-version local entries for Codex, Cursor, Claude Desktop, Claude Code, VS Code and Gemini CLI. Restart your agent after setup. Codex receives startup_timeout_sec = 180.

Every existing config is backed up before writing. Malformed files are left untouched, with a fix printed. JSONC comments/other settings are preserved; TOML values are preserved and its original formatting/comments remain in the backup. Cloud login is optional and never part of local installation. Public HF and other no-key sources work immediately. Kaggle and web mode require your own provider key; gated HF datasets require accepted terms and HF_TOKEN.

The server starts without Python imports, SQLite, model weights or native ML libraries. Optional ML and media dependencies install only when a tool needs them, with progress on stderr. Core downloads use provider HTTP APIs; the embedding model loads only on search in an isolated process.

Eight tools

| Tool | Use it for | Result | |---|---|---| | vesper_search | Parallel search across enabled sources or the offline local index | Ranked cards; known counts/license clarity; warnings | | vesper_inspect | Dataset card, configs/splits, counts, columns and samples | Measured counts or null with approximate=true | | vesper_download | All configs/splits/shards, explicit selection, resume and size checks | Job ID, then every path/count and download manifest | | vesper_analyze | Missing/duplicate counts, class balance, text lengths, language mix and label conflicts | Job ID, then measured statistics; no invented quality score | | vesper_clean | Text normalization, duplicates, conflicts, scripts/language annotations and empty rows | Job ID, then Parquet path/count and per-operation removal report | | vesper_split | Seeded, stratified and group-aware train/val/test preparation | Job ID, then paths/counts, actual ratios and overlap verification | | vesper_prepare | Download + clean + split in one call | Job ID, then outputs and a complete manifest per config | | vesper_job | Status, cancel or list jobs | Immediate state, outputs, warnings and next tool |

Every tool returns structuredContent matching its outputSchema, plus a short human summary. Result status is queued, succeeded, partial or failed. An enqueue response reports status: "queued" and state: "queued"; its separate state is queued/running until terminal. Always poll the returned job ID. Missing metadata, unavailable providers or approximate group ratios are explicit warnings with partial status. Invalid parameters/operations fail clearly.

Old tool names remain callable as deprecated compatibility aliases through the 1.7 release; they are omitted from tool listing to keep the agent context small. Use the eight tools for new workflows. Older web/fusion/media compatibility tools may need optional packages.

Example agent workflow

{"name":"vesper_search","arguments":{"query":"Kazakh sentiment","limit":3,"sources":["huggingface","zenodo","github"]}}
{
  "name": "vesper_prepare",
  "arguments": {
    "dataset": "hf:owner/dataset",
    "operations": ["NormalizeText", "DropEmpty", "DropConflictingLabels", "RequireScript", "DedupNormalized"],
    "text_column": "text",
    "label_column": "label",
    "script": "Cyrillic",
    "script_ratio": 0.5,
    "lowercase": true,
    "ratios": [0.8, 0.1, 0.1],
    "stratify_by": "label",
    "group_by": "user_id",
    "seed": 42
  }
}
{"name":"vesper_job","arguments":{"action":"status","job_id":"returned-uuid"}}

Downloads default to ~/.vesper/exports/<dataset>/ and preserve all configs, source splits and shards. Use configs: ["default"] or splits: ["train", "test"] to select HF subsets. Alternative configs may repeat the same examples; metadata identifies configs and warns when summing across them. Size-category ranges are never presented as exact counts.

Prepare keeps raw downloads in its cache and writes final files to output_dir/<config>/{train,validation,test}.parquet. Standalone split also uses validation.parquet, not val.parquet.

Cleaning defaults to NormalizeText, DropEmpty, DedupNormalized. Available operations are:

  • NormalizeText: HTML entity decoding, Unicode NFC and whitespace normalization.
  • DedupNormalized: compare NFC/entity/whitespace-normalized text case-insensitively by default (lowercase: true); keep the first row. Comparison does not lowercase the saved text. Set lowercase: false to retain case distinctions.
  • DropConflictingLabels: drop every row whose case-insensitive normalized text has multiple labels. Runs before deduplication so a label cannot silently win.
  • RequireScript: require at least one letter and a fraction >= script_ratio (default 0.5) in the selected script (Cyrillic, Latin, Arabic, Greek, Hebrew, Han). Digits, URLs and SKU-like tokens do not count. The report includes up to five removed examples with measured ratios. Set 1.0 for a strict filter.
  • RequireLanguage: filter explicit language annotations using languages and language_column; no language guesses.
  • DropEmpty: remove null/normalized-empty text.

Splitting keeps configured groups and identical case-insensitive normalized text together (the same lowercase option as cleaning), verifies no row/group/text overlap and preserves every row. It stratifies by label when present, uses seed 42 and ratios 0.8/0.1/0.1 by default. Small strata and indivisible/mixed-label groups may prevent exact ratios; actual ratios and warnings are reported. CSV quoting and record widths are validated; parse errors are reported rather than ignored.

Zenodo/CKAN downloads over 500 MiB require confirm: true or an explicit max_bytes budget. The tool reports the estimated bytes and files before requesting confirmation. max_bytes remains a hard cap even with confirmation; unknown-size transfers are capped during streaming. For example, {"dataset":"zenodo:123","max_bytes":104857600} permits at most 100 MiB. CKAN prefers CSV, then JSON/JSONL, then Parquet, retaining shards of the selected format and skipping alternate representations. These options are supported on Zenodo/CKAN download and prepare calls.

Only download/analyze/clean/split/prepare jobs queue. Status/cancel/list never wait behind them. Cancellation aborts Python and HTTP work, late updates cannot resurrect terminal jobs, and orphaned running/queued jobs become failed("interrupted") when the job service starts after a restart. Background jobs time out after 15 minutes; VESPER_JOB_TIMEOUT_MS overrides this. Inline tool calls time out after 180 seconds.

Sources and search

vesper_search queries every enabled source concurrently with an eight-second deadline per source (VESPER_SOURCE_TIMEOUT_MS). Pass sources: ["huggingface", "openml"] to narrow the search; offline: true searches the local index. task, languages (ISO codes) and modality are strict filters. Query language/task/modality inferred from text boost ranking without excluding unknown metadata. Source failures produce partial results and warnings.

| Source ID | Key requirement | Finds / downloads | |---|---|---| | huggingface (hf) | Optional HF_TOKEN; required for gated access | Live Hub tags/cards; all configs, splits and Parquet shards | | kaggle | Required Kaggle token or username/key | Live dataset API and downloadable files | | openml | None | Tabular catalog, exact instance counts, ARFF converted to CSV | | uci | None | UCI public API and CSV files available for programmatic import | | zenodo | None | Dataset records and attached files | | figshare | None | Dataset articles and attached files | | dryad | None | Dataset DOIs, latest-version files (Dryad's CC0 data policy) | | arxiv | None | Papers and actual dataset links in abstracts/available HTML | | semantic-scholar (s2) | Optional S2_API_KEY | Papers/references, dataset links; arXiv HTML resolution when linked | | ckan | None | data.europa.eu hub search and configured CKAN portals; data.gov removed from defaults (404) | | github | Optional GITHUB_TOKEN raises API limits | Repositories containing CSV/Parquet/JSONL data files | | web | Required Tavily, Brave, Exa or Firecrawl key | Search pages, extract HTML tables to CSV; license always unknown |

Use dataset: "zenodo:123", "openml:61", "github:owner/repo" or "arxiv:2401.00001" with inspect/download/prepare. CKAN results include a portal-qualified ID; pass it with source: "ckan". Papers resolve only recognized dataset URLs, never invented data or paper PDFs substituted for datasets. Missing links return actionable partial results. HTML-only paper resolution cannot identify every dataset named in a PDF.

Every card has id, source, title, description, task, languages, modality, license (its id is SPDX or unknown), rows, approximate, splits, size (bytes or null), url, requires_key and gated. Unknown row counts are null with approximate=true; downloadable file counts are measured after download. Canonical URLs/DOIs deduplicate across providers; alternate sources are retained. License clarity, exact size and recency are weak ranking signals behind relevance.

HF recall uses downloads-sorted individual keyword and task/language/tag searches. Compatible same-name repository copies collapse to the highest-downloads owner, with alternate owners retained. Exact ID/name matches get priority. Semantic Scholar uses the actual query and filters title/abstract topic matches; an online 429 never falls back to unrelated papers from the global index. OpenML exact-name misses fall back to a cached active-catalog fragment search (house matches house_prices), preserving the 412/372 empty-result behavior. Zenodo search sizes are capped at 25 for anonymous requests.

Ranking combines weighted BM25 over names, tags and cards with multilingual MiniLM embeddings and HF task/language/modality boosts. For text embeddings, the isolated worker substitutes only Transformers' unused sharp image import, so Node 24 can load text pipelines without sharp's native binary. New text-only extras install under ~/.vesper/node-extras/text with --ignore-scripts --include=optional; prebuilt ONNX binaries remain available. Existing shared extras are also supported. Image/media extras outside this worker keep their own normal installation path. This does not stub or fabricate text embeddings: the ONNX model still performs inference.

Neural dependencies and model weights install lazily on the first search, with stderr progress; they are cached under ~/.vesper. This work runs in an isolated, killable process. Extra installation has a separate budget; model download/inference uses VESPER_EMBEDDING_TIMEOUT_MS (30 seconds by default). A timeout/unavailable model returns partial results using BM25 + deterministic multilingual concept vectors, with a cause and exact fix once per server session, and embedding_backend on every result. The next search retries, including after a completed managed-extra installation. Increase the budget for a slow first model download. VESPER_EMBEDDINGS=local explicitly selects the small offline concept-vector backend; it is not a neural model. Initialize and job status never load the model.

VESPER_CKAN_URLS replaces the default portals with a comma-separated list or JSON array of HTTP(S) base URLs. Include the defaults to keep them. The European portal searches /api/hub/search/search; each configured portal has its own deadline, so a slow portal cannot discard another portal’s results. The broken catalog.data.gov endpoint is no longer a default, and doctor says so. No data.egov.kz endpoint was added without live verification. Papers with Code and Google Dataset Search are not sources. See CONTRIBUTING.md for the Source interface and plugin template.

Bring your own keys

vespermcp keys set hf        # hidden prompt, or one-line key on stdin
vespermcp keys set github
vespermcp keys set kaggle    # API token or compact {"username":"...","key":"..."}
vespermcp keys set tavily
vespermcp keys list          # configuration metadata only; no key values
vespermcp keys remove hf

Run these through the stable server entry printed by setup if vespermcp is not on PATH: node /path/to/build/index.js keys list. Never put a secret in a command argument. Keys use macOS Keychain, Windows Credential Manager or Linux Secret Service when available; fallback files under ~/.vesper/keys/ are plaintext with mode 0600 (directory 0700; Windows uses restricted ACLs). VESPER_KEYCHAIN=file selects the fallback explicitly. keys set names the fallback path and says that it is plaintext restricted to the user when a keychain is unavailable.

Environment variables override stored keys: HF_TOKEN/HUGGINGFACE_TOKEN, GITHUB_TOKEN/GH_TOKEN, KAGGLE_API_TOKEN or KAGGLE_USERNAME+KAGGLE_KEY, TAVILY_API_KEY, BRAVE_API_KEY, EXA_API_KEY, FIRECRAWL_API_KEY, S2_API_KEY/SEMANTIC_SCHOLAR_API_KEY. Web mode selects a configured provider, or set VESPER_WEB_PROVIDER=tavily|brave|exa|firecrawl. Keys go directly to the selected provider, never Vesper servers, tool results or logs.

Missing keys return status: "partial" and requires_key: {provider, signup_url, command, env_vars}. Gated/unauthorized HF sources return gated: true and instructions to accept terms at the dataset URL and set HF_TOKEN. Doctor lists enabled/disabled sources, what each key unlocks and live pings; its default output is human-readable (--json emits JSON only), and optional-source failures alone leave exit code 0; absent optional sources do not block local setup.

Diagnose installation

npx -y -p @vespermcp/[email protected] vespermcp doctor

Doctor checks Node, the shared Python resolver, managed venv, core dependencies, free disk space, each source’s enabled/key status and live connectivity, all client configs and a real initialize + tools/list exchange. It prints specific fixes. Client configs are checked against the running server entry/global shim rather than stale install.json paths. doctor --offline omits connectivity checks. The stable server entry and timings are recorded in ~/.vesper/install.json; you can run doctor through that entry without npx.

VESPER_DATA_ROOT relocates the data/venv/index/jobs/exports directory. VESPER_PYTHON explicitly selects a Python executable. All wrappers otherwise use the managed venv, then python3, then Windows py -3. Provider credentials are configured below; environment values override stored keys.

Dryad authorization failures explain how to sign in, download the files through the record page and use those local files with Vesper. Semantic Scholar retries short 429 responses and points to S2_API_KEY; an optional Semantic Scholar rate limit does not downgrade other sources’ results.

Develop and verify locally

python3 -m venv .venv                  # Windows: py -3 -m venv .venv
.venv/bin/python -m pip install -r test/requirements.txt
# Windows: .venv\Scripts\python.exe -m pip install -r test/requirements.txt
npm ci
npm run build
npm test
node build/index.js --setup-runtime
npm run eval
npm run search-eval
npm run smoke:sources

The evaluation runs thirteen realistic tasks through the real MCP server over stdio, verifies output files/counts and writes artifacts/eval-1.7.0.json with timing/pass/fail. Its default provider mode is a deterministic local HTTP fixture covering all sources; it tests protocol, queue, resume, processing and disk behavior without relying on provider uptime. It does not certify live provider availability. The 15-query search eval checks expected datasets in the top five using representative HTTP cards and the offline vector backend; node scripts/search-eval.mjs --live records live relevance separately. Source smoke scripts skip unavailable networks/missing keys explicitly; run a single source with npm run smoke:sources -- zenodo. test/fresh-machine.Dockerfile runs setup, doctor and this eval in a clean Node/Python container.

Before publishing, test the local tarballs without touching npm:

# POSIX; PowerShell: $env:VESPER_SERVER_PACKAGE = 'C:\absolute\server.tgz'
export VESPER_SERVER_PACKAGE=/absolute/vespermcp-mcp-server-1.7.3.tgz
npx -y --package /absolute/vespermcp-setup-3.4.3.tgz setup

VESPER_CONFIG_HOME redirects client config paths for isolated testing. Setup accepts --no-config to install/verify without changing clients. No publication or deployment is performed by build, test, eval or npm pack.

The separate website requires a server-only VESPER_SESSION_SECRET (32+ bytes) for signed sessions and POLAR_WEBHOOK_SECRET for verified billing webhooks. Those secrets are not required by local dataset tools.

Verify the 1.7.3 patch with live APIs

Install the local setup 3.4.3 tarball using the local server override above. Point VESPER_SERVER_ENTRY at the entry in ~/.vesper/install.json, then run:

node scripts/live-acceptance-173.mjs
node scripts/verify-text-embeddings-173.mjs
npm test -- test/windows-keychain-171.test.ts

Run node scripts/search-budget-173.mjs for a deterministic HTTP fixture + real MCP stdio check of forced neural timeout fallback (not live provider/model certification).

The embedding probe requires actual neural inference and never accepts fallback. Use --load-only to isolate installation/module import from model-weight connectivity.

The acceptance script uses real MCP stdio and real source APIs, refuses API endpoint overrides, and records actual search hits, ranking, downloaded/cleaned/split row counts, class balance and case-insensitive cross-split overlap in artifacts/live-acceptance-1.7.3.json. The RuReviews pipeline uses all downloaded splits, Cyrillic ratio 0.5, case-insensitive dedup, label stratification, seed 42 and 80/10/10. It never substitutes the expected 60,685 count for a measured result. The Windows PowerShell 5.1 keychain test verifies set/get/remove and the cmdkey target; it skips off win32. Live checks require the source domains to be allowed by your network policy.

Neural search embeds at most 60 BM25 candidates using title, ID, tags and the first 600 description characters, with a 256-token tokenizer ceiling. Query and document vectors persist in ~/.vesper/cache/embeddings, keyed by SHA1 of model/settings + text. score_details includes embedding_backend, bm25_ms, embedding_ms, ranking_ms, embedding_candidates, embedding_timed_out and cache hit/miss/inference counts. Cached queries require no model inference.

The total neural budget defaults to 20 seconds (VESPER_EMBEDDING_BUDGET_MS=20000), including first-time extra installation and model loading. Search reserves that budget within a 23-second retrieval/ranking deadline by shortening the neural stage after slow source calls. On expiry it kills the worker asynchronously and returns BM25 + local-concept results with one actionable warning. To allow a slow initial model download or CPU, set VESPER_EMBEDDING_BUDGET_MS=120000; subsequent searches reuse cached vectors. Windows CPU-load timing still requires a Windows acceptance run.

Semantic Scholar caches successful results for five minutes, isolated by exact URL/query and API key identity. HTTP 429 gets up to two retries with exponential backoff and Retry-After; longer limits produce a persistent cooldown and the S2_API_KEY guidance. Cached results remain usable during cooldown.

If doctor reports “points at a different Vesper install (path)”, run the current installation's vespermcp setup --repair. It verifies that server, backs up and repoints all six client configurations without installing another server, preserves environment values and other settings, and leaves malformed files unchanged. Use --json for a machine-readable repair report.