Expose your machine(s) to claude.ai/code with remote-control services and a project-discovery MCP.
Project description
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.
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-hubservice — runsclaude remote-controlin the background as a user-scope service. Your machine appears inclaude.ai/codeas<hostname>(configurable).claude-hub-projectsMCP — 5 tools registered at user scope viaclaude mcp add:list_projects— projects with conversation historysearch_conversations— grep across past session.jsonlfilesspawn_session— start a new remote-control session in any folder; returns theclaude.ai/code?environment=env_…URLlist_running_sessions— sessions you spawned dynamicallystop_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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_code_hub-0.1.3.tar.gz.
File metadata
- Download URL: claude_code_hub-0.1.3.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a1085c62022c7aa13848bd1f66ef292b8b9c6fb801b57867b4546031a15be3
|
|
| MD5 |
ba8f1280dc9ff2d67cb424cb78441bc0
|
|
| BLAKE2b-256 |
d1b6eae575147ab3bf8def64a3c2fa899597fb5ac2a3ea6f9364d63d8c743a7b
|
Provenance
The following attestation bundles were made for claude_code_hub-0.1.3.tar.gz:
Publisher:
release.yml on jleal52/claude-hub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_hub-0.1.3.tar.gz -
Subject digest:
80a1085c62022c7aa13848bd1f66ef292b8b9c6fb801b57867b4546031a15be3 - Sigstore transparency entry: 1358325555
- Sigstore integration time:
-
Permalink:
jleal52/claude-hub@2e199da94cec49cb8916d8c76700720b8fe1c1d5 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/jleal52
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2e199da94cec49cb8916d8c76700720b8fe1c1d5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file claude_code_hub-0.1.3-py3-none-any.whl.
File metadata
- Download URL: claude_code_hub-0.1.3-py3-none-any.whl
- Upload date:
- Size: 40.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95241a5876ab67b222d3a363b731a6751da45a971f03341b63ed4fa1318e461c
|
|
| MD5 |
76e2c33420029e1cb5f9c6de8c0e0afc
|
|
| BLAKE2b-256 |
869a0abf8a327cb6a78db20fe2c71069a22cbf2d7754fc58fa439a4065ae531d
|
Provenance
The following attestation bundles were made for claude_code_hub-0.1.3-py3-none-any.whl:
Publisher:
release.yml on jleal52/claude-hub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_hub-0.1.3-py3-none-any.whl -
Subject digest:
95241a5876ab67b222d3a363b731a6751da45a971f03341b63ed4fa1318e461c - Sigstore transparency entry: 1358325673
- Sigstore integration time:
-
Permalink:
jleal52/claude-hub@2e199da94cec49cb8916d8c76700720b8fe1c1d5 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/jleal52
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2e199da94cec49cb8916d8c76700720b8fe1c1d5 -
Trigger Event:
push
-
Statement type: