Skip to main content

Flywheel AI

Business intelligence CLI and MCP server for Claude Code.

Flywheel connects your meetings, contacts, pipeline, and business context to Claude Code — so your AI assistant knows your business as well as you do.

Quick Install

curl -fsSL https://gist.githubusercontent.com/Sharan0516/8fb4a3755b3c3e2a2abfae1c949b574a/raw/install.sh | bash

Or install with uv tool (recommended — do not use pip install):

uv tool install flywheel-ai
mkdir -p ~/.flywheel/bin
ln -sf ~/.local/bin/flywheel ~/.flywheel/bin/flywheel
export PATH="$HOME/.local/bin:$HOME/.flywheel/bin:$PATH"

Check for a conflicting pip install (common on macOS):

which -a flywheel
python3 -m pip show flywheel-ai flywheel-cli
ls ~/Library/Python/*/bin/flywheel 2>/dev/null

If pip shows a package or which points at Library/Python, remove it:

python3 -m pip uninstall -y flywheel-ai flywheel-cli
rm -f ~/Library/Python/*/bin/flywheel ~/Library/Python/*/bin/flywheel-mcp
hash -r

What You Get

CLI Commands

Command Description
flywheel login Authenticate via browser OAuth
flywheel login --headless Authenticate with email/password credentials
flywheel status Check login state and tenant info
flywheel focus list List your focuses (departments/teams)
flywheel focus switch <name> Switch active focus
flywheel agent setup Install browser automation deps
flywheel agent start Start local browser agent
flywheel agent register-deeplink Register flywheel:// so Prep opens Terminal (macOS)
flywheel setup-claude-code Register MCP servers with Claude Code

MCP Tools (available in Claude Code)

Once registered, Claude Code gains access to:

  • flywheel_run_skill — Run meeting-prep, company-intel, and other skills
  • flywheel_read_context — Search your business knowledge base
  • flywheel_write_context — Store business intelligence
  • flywheel_fetch_meetings — List meetings from your calendar
  • flywheel_sync_meetings — Sync meetings from connected providers
  • flywheel_list_leads — View your pipeline contacts
  • flywheel_draft_lead_message — Draft outreach messages
  • And more — run flywheel setup-claude-code to see the full list

Requirements

  • macOS (Apple Silicon or Intel)
  • Python 3.10+
  • Claude Code (for MCP tools)

Configuration

All configuration is handled automatically. Fresh installs write ~/.flywheel/env with FLYWHEEL_API_URL (override via env when running install.sh). Existing values are never overwritten.

Env Variable Default Description
FLYWHEEL_API_URL Hosted backend Override API endpoint
FLYWHEEL_SUPABASE_URL Hosted Supabase Override auth endpoint
FLYWHEEL_SUPABASE_ANON_KEY Hosted anon key Supabase anon key for login
FLYWHEEL_CALLBACK_PORT 54321 Local OAuth callback port (http://localhost:<port>/callback)
FLYWHEEL_DIR ~/.flywheel/ Local config directory
FLYWHEEL_LOGIN_EMAIL unset Optional headless login email for flywheel login --headless
FLYWHEEL_LOGIN_PASSWORD unset Optional headless login password for flywheel login --headless

For local development, backend/.env sets FLYWHEEL_CALLBACK_PORT=54324 to avoid clashing with local Supabase on port 54321.

Override API URL at install time:

FLYWHEEL_API_URL=https://your-backend.example.com \
  curl -fsSL https://gist.githubusercontent.com/Sharan0516/8fb4a3755b3c3e2a2abfae1c949b574a/raw/install.sh | bash

flywheel upgrade ensures ~/.flywheel/env exists (if missing) and re-registers the flywheel:// deeplink on macOS.

Publishing & Maintenance

When you update scripts/install.sh, sync the gist (gist owner):

gh gist edit 8fb4a3755b3c3e2a2abfae1c949b574a scripts/install.sh

The installer calls flywheel agent register-deeplink after login so Prep can open Terminal without a repo checkout. To publish a new CLI version to PyPI:

  1. Bump version in cli/pyproject.toml and cli/flywheel_cli/__init__.py (both must match or the publish job will fail)
  2. Merge the PR to main
  3. The Publish CLI to PyPI workflow auto-runs, tests, and publishes — nothing else needed

If the merge does not include a version bump, the workflow runs but skips the publish step automatically.

One-time repo setup: add a GitHub Actions secret PYPI_API_TOKEN on Lumif-ai/flywheel-v2 scoped to the flywheel-ai PyPI project.

Manual dispatch options (Actions → Publish CLI to PyPI → Run workflow):

  • "Publish to Test PyPI" — dry-run against test.pypi.org before a real release
  • "Publish even if version unchanged" — force re-upload after a failed publish run

Local publish:

Copy cli/.env.example → cli/.env and set your PyPI token:

cp cli/.env.example cli/.env
# edit cli/.env — UV_PUBLISH_TOKEN=pypi-...
./scripts/publish-cli.sh

Or pass inline without .env:

UV_PUBLISH_TOKEN=pypi-XXXX ./scripts/publish-cli.sh

License

MIT

Metadata

Release files for flywheel-ai 0.8.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flywheel-ai 0.8.8
File Size Uploaded Provenance Actions
flywheel_ai-0.8.8.tar.gz 99.6 kB Without provenance Details for flywheel_ai-0.8.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flywheel-ai 0.8.8
File Interpreter ABI Platform Actions
flywheel_ai-0.8.8-py3-none-any.whl Python 3 none any Details for flywheel_ai-0.8.8-py3-none-any.whl

Total release size: 216.6 kB

Release files / flywheel_ai-0.8.8.tar.gz

Download URL flywheel_ai-0.8.8.tar.gz
Size 99.6 kB
Tags Source
SHA-256 checksum
How to use checksums
392c2402f044060d0a8513a36b57f7d4b4fbff9489fc6dc1dec60d24207e0652
BLAKE2b-256 checksum
How to use checksums
913587bd5615bf5f6ec8630922e60e1d5afa62e8f2d142c4c8663564b3c1926b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / flywheel_ai-0.8.8-py3-none-any.whl

Download URL flywheel_ai-0.8.8-py3-none-any.whl
Size 117.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b934fcc56ad69193e6d2c10c04252c7eeb2f727bdf814ee6c4bbe328c19b6fbf
BLAKE2b-256 checksum
How to use checksums
38aafb8daacfa63e1036959e397ac79ead3f48e5c575c92cbaf29d17caf27ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for flywheel-ai 0.8.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page