Skip to main content

Persistent shared memory for Claude Code — MCP server with DuckDB vector search, semantic dedup, and ambient intelligence for team knowledge

Project description

Distillery

Distillery

Team Knowledge, Distilled
Capture, classify, connect, and surface team knowledge through conversational commands.

Documentation · Skills · Quick Start · Roadmap · Slides

PyPI version PyPI downloads License Python version


What is Distillery?

Distillery is a team knowledge base accessed through Claude Code skills. It refines raw information from working sessions, meetings, bookmarks, and conversations into concentrated, searchable knowledge — stored as vector embeddings in DuckDB and retrieved through natural language. Runs locally over stdio or as a hosted HTTP service with GitHub OAuth for team access.

Distillery captures the highest-value transformation — from noise to signal — and makes it a tool the whole team can use.

Full documentation: norrietaylor.github.io/distillery

Distillery demo — /distill captures a decision, /pour synthesizes it

Skills

Distillery provides 15 Claude Code slash commands:

Skill Purpose Example
/distill Capture session knowledge with dedup detection /distill "We decided to use DuckDB for local storage"
/recall Semantic search with provenance /recall distributed caching strategies
/pour Multi-entry synthesis with citations /pour how does our auth system work?
/compass Contrast internal knowledge vs. ambient intelligence for a directional assessment /compass our caching strategy
/bookmark Store URLs with auto-generated summaries /bookmark https://example.com/article #caching
/minutes Meeting notes with append updates /minutes --update standup-2026-03-22
/classify Classify entries and triage review queue /classify --inbox
/watch Manage monitored feed sources /watch add github:duckdb/duckdb
/radar Ambient feed digest with source suggestions /radar --days 7
/tune Adjust feed relevance thresholds /tune relevance 0.4
/digest Team activity summary from internal entries /digest --days 7 --project myapp
/gh-sync Sync GitHub issues/PRs into the knowledge base /gh-sync owner/repo --issues
/investigate Deep context builder with relationship traversal /investigate distributed caching
/briefing Team knowledge dashboard with metrics /briefing --days 7
/setup Onboarding wizard for MCP connectivity and config /setup

Quick Start

Step 1: Install the Plugin

claude plugin marketplace add norrietaylor/distillery
claude plugin install distillery

This installs all 15 skills. The plugin does not configure an MCP server automatically — run /setup (below) to add one. The recommended setup runs locally via uvx --from 'distillery-mcp[fastembed]>=0.6.0' distillery-mcp — a private, self-contained knowledge base on your machine, with on-device fastembed embeddings (no API key required). Requires Python 3.11+ and uv (install: curl -LsSf https://astral.sh/uv/install.sh | sh).

Step 2 (Optional): Use Jina or OpenAI Instead

The default fastembed provider runs offline with no API key. If you'd rather use a hosted embedding service, set DISTILLERY_EMBEDDING_PROVIDER and provide the matching API key:

# Jina (free tier at jina.ai)
export DISTILLERY_EMBEDDING_PROVIDER=jina
export JINA_API_KEY=jina_...

# Or OpenAI
export DISTILLERY_EMBEDDING_PROVIDER=openai
export OPENAI_API_KEY=sk-...

uvx inherits these from your shell environment. See distillery.yaml.example for the full provider configuration block (including Option C for fastembed model selection).

Restart Claude Code and run the onboarding wizard:

/setup

Try the Hosted Demo (Opt-In)

Want to evaluate without installing anything locally? Configure the hosted demo at distillery-mcp.fly.dev instead of a local server:

claude mcp add distillery --scope user --transport http --url https://distillery-mcp.fly.dev/mcp

Demo Server: distillery-mcp.fly.dev is for evaluation only. Do not store sensitive or confidential data.

See the Local Setup Guide for full configuration options, or deploy your own instance for team use.

Development

uv pip install -e ".[dev]"
# or
pip install -e ".[dev]"
pytest                              # run tests
mypy --strict src/distillery/       # type check
ruff check src/ tests/              # lint

See Contributing for the full guide.

License

Apache 2.0 — see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

distillery_mcp-0.7.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

distillery_mcp-0.7.0-py3-none-any.whl (424.8 kB view details)

Uploaded Python 3

File details

Details for the file distillery_mcp-0.7.0.tar.gz.

File metadata

  • Download URL: distillery_mcp-0.7.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for distillery_mcp-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e2b32927fd3a2de714e7b9336ab9844498d6a6900607545dd5f7e1affaaba2fc
MD5 84d3c04908cc867d20984a4096b5d498
BLAKE2b-256 be75240740b70d76f2f683b245f2948ed6c79599bca79ac17633c9f06727f577

See more details on using hashes here.

Provenance

The following attestation bundles were made for distillery_mcp-0.7.0.tar.gz:

Publisher: pypi-publish.yml on norrietaylor/distillery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file distillery_mcp-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: distillery_mcp-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 424.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for distillery_mcp-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c58697632066d2cbfe089146942fd8e8e4f2e29c00e464d309fc35b64f505aa
MD5 0d8d6c3aafffe2d0aa01dd025d68f39b
BLAKE2b-256 f7ae8ef41273cc1049869b594e9fbc7a3252e0f3064af44fe03be06a1fb5281a

See more details on using hashes here.

Provenance

The following attestation bundles were made for distillery_mcp-0.7.0-py3-none-any.whl:

Publisher: pypi-publish.yml on norrietaylor/distillery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page