Skip to main content

claude-hub

Expose your machine(s) to claude.ai/code as remote-control environments you can chat with from anywhere (phone, another laptop). Bundled with claude-hub-projects, an MCP server that gives any Claude Code session the ability to list your projects, search past conversations, and spin up new remote-control sessions on demand.

CI PyPI License: AGPL v3

Status: alpha. Core functionality works on Linux, macOS, Windows, and Windows+WSL; APIs and CLI flags may still shift before 1.0.

Why

Once claude remote-control is running on your machine, it shows up in claude.ai/code and you can talk to it from any device logged into the same Claude account. claude-hub wraps that into a proper service that starts at boot/login, with a single cross-platform installer.

The MCP adds a second layer: when you're already in a Claude session (local or remote), you can ask things like "what projects do I have?", "search my past conversations for stripe webhook", or "open a new session in /home/me/work/foo" — and the agent delegates to the MCP tools instead of walking you through the filesystem.

What you get

  • claude-hub service — runs claude remote-control in the background as a user-scope service. Your machine appears in claude.ai/code as <hostname> (configurable).
  • claude-hub-projects MCP — 5 tools registered at user scope via claude mcp add:
    • list_projects — projects with conversation history
    • search_conversations — grep across past session .jsonl files
    • spawn_session — start a new remote-control session in any folder; returns the claude.ai/code?environment=env_… URL
    • list_running_sessions — sessions you spawned dynamically
    • stop_session
  • Cross-platform: Linux (systemd user), macOS (launchd), Windows (Scheduled Task default, NSSM opt-in).
  • WSL support: on Windows, register distros as parallel environments alongside the host.

Requirements

  • Python 3.11+
  • Claude Code CLI installed and logged in with a Claude account that has a subscription.

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/jleal52/claude-hub/main/install.sh | bash
claude-hub install

Windows

irm https://raw.githubusercontent.com/jleal52/claude-hub/main/install.ps1 | iex
claude-hub install

Direct, if you already have pipx

pipx install claude-code-hub
claude-hub install

Both installers bootstrap pipx if missing, install the package, and leave you at a prompt to run the interactive setup wizard.

WSL parallel environments

From Windows, register one or more WSL distros in the same install:

claude-hub install --wsl Debian --wsl Ubuntu

The host and each distro appear as separate environments in claude.ai/code (e.g. my-laptop, WSL-Debian, WSL-Ubuntu).

Usage

claude-hub install            # interactive wizard (default)
claude-hub install --no-interactive --session-name my-laptop
claude-hub status             # services + MCP registration
claude-hub logs [service]
claude-hub doctor             # diagnose health
claude-hub uninstall [--purge]

Naming

Three distinct names (all related but each with a reason):

What Name Why
PyPI distribution claude-code-hub claude-hub was already taken on PyPI
Python import claude_hub snake_case convention, short
CLI command claude-hub registered via [project.scripts] in pyproject.toml

So: pipx install claude-code-hub → run claude-hub install.

Documentation

Contributing

Issues and PRs welcome. See CONTRIBUTING.md.

License

AGPL-3.0-or-later. If you run a modified version as a network service, you must offer the source to your users.

Metadata

Release files for claude-code-hub 0.1.12

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

Source distribution (sdist)

Source distribution for claude-code-hub 0.1.12
File Size Uploaded
claude_code_hub-0.1.12.tar.gz 37.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-code-hub 0.1.12
File Interpreter ABI Platform
claude_code_hub-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 85.2 kB

Release files / claude_code_hub-0.1.12.tar.gz

Download URL claude_code_hub-0.1.12.tar.gz
Size 37.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2cb79cd5a520ce8801ced8f7adfa962d12408907e8d271314cd9a0e7ccabcbc7
BLAKE2b-256 checksum
How to use checksums
06c05887433841f05fe5511ddefd4a0d8b48ab3f0e857e5c05d9a857dd09556b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

Release files / claude_code_hub-0.1.12-py3-none-any.whl

Download URL claude_code_hub-0.1.12-py3-none-any.whl
Size 47.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab9eb2aeb1a2ce48937fe6137b92469490fe18eb396cb3ecb58e890fbb1722a8
BLAKE2b-256 checksum
How to use checksums
8918abe8be71fedc05d3e5512c9e12426198ba09e61c6a073bd3bdf469fb59dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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