Getting Started
Prerequisites
Section titled “Prerequisites”- Node.js 22+ — required for the SQLite native bindings
- pnpm (recommended) or npm — for dependency management
- Git — for cloning and contributing
Optional:
- Ollama — for local embeddings (
nomic-embed-text) and reranking - GitHub token — for higher API rate limits during fetch
Install
Section titled “Install”Global install (recommended)
Section titled “Global install (recommended)”npm i -g @mcptoolshop/claude-synergyThis gives you the hk CLI and claude-synergy-mcp server globally.
From source
Section titled “From source”git clone https://github.com/mcp-tool-shop-org/claude-synergy.gitcd claude-synergypnpm installpnpm buildnpm link # makes 'hk' available globallyFirst sync
Section titled “First sync”Initialize the database and pull all changelogs:
hk init # creates data/claude-synergy.db with schemahk sync # fetch -> ingest -> embed (all 44 products)The first sync takes 2-3 minutes — it pulls ~1,200 release files from GitHub, RSS feeds, and HTML changelogs.
What happens during sync
Section titled “What happens during sync”- Fetch — pulls new releases from each product’s source (GitHub Releases API, RSS, HTML scrape, raw changelog, Playwright, MCP registry catalog)
- Ingest — parses markdown release files, extracts individual change bullets, identifies entities (env vars, CLI flags, model IDs, CVEs)
- Embed (optional) — generates contextual chunks + vector embeddings for semantic search
First query
Section titled “First query”# Full-text searchhk query "streaming"
# Filter by producthk query --product anthropic-sdk-typescript "tool use"
# Filter by date (--since and --until)hk query --since 2026-01-01 --until 2026-03-01 "breaking"
# Entity lookuphk env-var ANTHROPIC_API_KEYhk command /reviewhk model claude-sonnet-4-20250514”What changed lately?” — no search term needed
Section titled “”What changed lately?” — no search term needed”The hk diff and hk breaking commands answer windowed-browse questions without requiring a search query:
# What changed in claude-code in the last weekhk diff claude-code --since 7d
# What broke anywhere in the last 30 dayshk breaking --since 30d
# Everything new in April 2026hk diff --since 2026-04-01 --until 2026-05-01Both commands accept --json for machine output. See the CLI reference for the full flag set.
JSON output
Section titled “JSON output”Every query command supports --json for machine-readable output:
hk query --json "managed agents" | jq '.[0]'hk latest --json --limit 5hk products --jsonHybrid search (optional)
Section titled “Hybrid search (optional)”For semantic search, first generate embeddings. Three providers are supported:
# Ollama (local, 768-dim) — requires Ollama running with nomic-embed-textollama pull nomic-embed-texthk embed --embed ollama --context structured
# Voyage (remote, 1024-dim) — requires VOYAGE_API_KEYhk embed --embed voyage --context structured
# OpenAI (remote, 1536-dim default) — requires OPENAI_API_KEYhk embed --embed openai --context structuredThen use hybrid search:
hk hybrid "how do I use tool use with streaming?"hk hybrid --embed openai "MCP error handling"hk hybrid --rerank voyage "best practices for MCP server error handling"The provider’s vector dimension is stamped into schema_meta.embedding_dim on first embed. Switching to a provider with a different dimension requires --force, which re-embeds the entire corpus.
Next steps
Section titled “Next steps”- CLI Reference — all 17 commands
- MCP Server — wire into your agent harness
- Architecture — understand the data model