Skip to main content

Flywheel CLI and MCP server — business intelligence from the terminal and Claude Code

Project description

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 -sSL https://gist.githubusercontent.com/Sharan0516/8fb4a3755b3c3e2a2abfae1c949b574a/raw/install.sh | bash

Or install manually:

pip install flywheel-ai

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 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. No .env file needed.

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.

Publishing & Maintenance

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

gh gist edit 8fb4a3755b3c3e2a2abfae1c949b574a scripts/install.sh

To publish a new CLI version to PyPI:

  1. Bump version in cli/pyproject.toml and cli/flywheel_cli/__init__.py
  2. Merge to main, then either:

GitHub Actions (recommended):

  • Add repo secret PYPI_API_TOKEN (PyPI API token scoped to flywheel-ai)
  • Actions → Publish CLI to PyPI → Run workflow
  • Check "Publish to Test PyPI" first if you want a dry run

Local:

Copy cli/.env.examplecli/.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

GitHub Actions uses the PYPI_API_TOKEN repo secret instead — not .env.

License

MIT

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

flywheel_ai-0.7.1.tar.gz (66.3 kB view details)

Uploaded Source

Built Distribution

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

flywheel_ai-0.7.1-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

File details

Details for the file flywheel_ai-0.7.1.tar.gz.

File metadata

  • Download URL: flywheel_ai-0.7.1.tar.gz
  • Upload date:
  • Size: 66.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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}

File hashes

Hashes for flywheel_ai-0.7.1.tar.gz
Algorithm Hash digest
SHA256 a30367fdf4382f04d40a46cb090c68eca3f904d7c22b659c5da79cf450e4a2db
MD5 c9c33875423a5fe5ff67902f30a8b8ca
BLAKE2b-256 5374b756f9ce14fdb3b3e00d997317d60609a3e904ed795279916cc9b6fb3451

See more details on using hashes here.

File details

Details for the file flywheel_ai-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: flywheel_ai-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 77.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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}

File hashes

Hashes for flywheel_ai-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16f300cdf59107af782877c42ab754c472a536420b359457180619145e60d6e3
MD5 6cd6e423bfbd8e538466044509314fa2
BLAKE2b-256 45fc5c7591bd20a76aa2d40b0724ae69b68f860d3ce1973d5ffeb3e6c8c2b0b3

See more details on using hashes here.

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