Skip to main content

AIStoreHub CLI (aistorehub / aihub)

PyPI Version License: MIT Python: 3.9+

The official command-line interface for AIStoreHub — the open registry and marketplace for autonomous AI systems, model instructions, agent workflows, and Model Context Protocol (MCP) servers.


⚡ Quick Install

pip install aistorehub

Tip: Both aistorehub and aihub commands are installed. You can use whichever you prefer!


🚀 Key Features

  • 1-Click MCP Auto-Configuration: Automatically injects MCP server configs into Claude Desktop, Cursor IDE, and Windsurf with automatic timestamped .bak safety backups.
  • Instant Artifact Pull: Download prompts, schemas, instructions, and test datasets straight into your current directory with verified distribution telemetry.
  • Interactive Terminal Search: Query AI systems, agents, and verified benchmarks without leaving your terminal.
  • Provenance & Metadata Inspection: View upstream repository sources, licensing, and maintainer verification status before pulling.
  • 10-Second Manifest Inspector: Inspect local folders to auto-detect system prompts, tool schemas, and capabilities before publishing.
  • Team & Organization RBAC: Switch between personal workspaces and enterprise multi-tenant organizations seamlessly.

📖 Command Reference

1. Authenticate with Personal Access Token (PAT)

# Log in with your AIStoreHub API token:
aihub login

# Check authenticated user & organization roles:
aihub whoami

2. Search Systems & Agents

# Search by keyword, problem, or capability:
aihub search "sql optimizer"
aihub search "mcp-server-postgres"

3. Inspect System Metadata & Provenance

# Check version, license, upstream repo, and quickstart instructions:
aihub info mcp-server-postgres

4. Pull System Instructions & Code

# Pull into current directory:
aihub pull community/mcp-server-postgres

# Pull into a custom destination folder:
aihub pull community/mcp-server-postgres --dest ./my-tools

5. 1-Click MCP Server Installation

# Auto-configure into Claude Desktop and Cursor simultaneously:
aihub mcp community/mcp-server-postgres

# Or target a specific client:
aihub mcp community/mcp-server-postgres --client claude
aihub mcp community/mcp-server-postgres --client cursor
aihub mcp community/mcp-server-postgres --client windsurf

6. Inspect Local Folders for Publishing

# Auto-detect manifests, tools, and prompts in a directory:
aihub inspect ./my-agent-folder

⚙️ Environment Variables

You can optionally configure authentication, custom endpoints, and telemetry via environment variables:

  • AISTOREHUB_TOKEN or AIHUB_TOKEN: Personal Access Token (PAT).
  • AISTOREHUB_API_URL or AIHUB_API_URL: Custom API endpoint (default: https://aistorehub-be.onrender.com/api/v1).
  • DO_NOT_TRACK=1, AISTOREHUB_TELEMETRY_DISABLED=1, or AISTOREHUB_TELEMETRY=0: Disables anonymous CLI usage telemetry.

🔒 Telemetry & Privacy (Transparent, Pseudonymous & Opt-outable)

AIStoreHub CLI records minimal, client-reported activity events (pull_succeeded and mcp_configured) to help community open-source maintainers evaluate discovery and distribution interest for their AI systems.

  • What the CLI sends: Event name, target system ID, and CLI client version.
  • What is NEVER collected: Passwords, Personal Access Tokens (PATs), shell commands, arguments, local file paths, directory contents, or private code.
  • Server-side Network Metadata & Retention:
    • On ingestion, the backend derives a one-way 32-character SHA-256 hash of the incoming IP address (ip_hash) solely to enforce sliding-window duplicate suppression (120-second debounce) and protect against metric inflation.
    • Raw client IP addresses are discarded in-memory and are never written to application database tables or persistent application records. (Standard ephemeral cloud infrastructure ingress logs on hosting providers like Render remain subject to infrastructure provider retention policies).
    • Because deterministic cryptographic hashes are technically classified as pseudonymous identifiers (potentially linkable in fixed-IP environments), we provide full user-controlled opt-outs.
  • Complete Opt-Out Controls (Supported in Code):
    • Per-Command Flag: Pass --no-telemetry on any command (aihub pull <target> --no-telemetry or aihub mcp <target> --no-telemetry).
    • Persistent Config: Run aihub telemetry disable (persists telemetry: false in ~/.aistorehub/config.json). Re-enable anytime with aihub telemetry enable.
    • Environment Variables: Export DO_NOT_TRACK=1, AISTOREHUB_TELEMETRY_DISABLED=1, or AISTOREHUB_TELEMETRY=0 in your shell profile.
    • Inspect Status: Run aihub telemetry status anytime to see whether telemetry is currently active or disabled.
    • Opt-Out Scope: When telemetry is disabled via any of the above mechanisms, the CLI client suppresses all event reporting logic—zero network calls are dispatched to telemetry endpoints.

📚 Resources & Documentation


📄 License

MIT © AIStoreHub Team

Metadata

Release files for aistorehub 0.1.2

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

Source distribution (sdist)

Source distribution for aistorehub 0.1.2
File Size Uploaded Provenance
aistorehub-0.1.2.tar.gz 16.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aistorehub 0.1.2
File Interpreter ABI Platform
aistorehub-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / aistorehub-0.1.2.tar.gz

Download URL aistorehub-0.1.2.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
24cf85c43db1739b5fd066675a3c5ef2afd6b865cd062484de1c992e357e4bd7
BLAKE2b-256 checksum
How to use checksums
d18f526bbb656ef77020ea1bc70a15f9457d06b4a662cf33da9053c159d30e3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / aistorehub-0.1.2-py3-none-any.whl

Download URL aistorehub-0.1.2-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a36d5f680e5311ea5e11bc55a284379c9347bbf82d41cecfc16d39a75f18447
BLAKE2b-256 checksum
How to use checksums
123c4f05c95d651f3856e727bacdab30188e9cf36c40ad21df0608010c06c589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Security for aistorehub 0.1.2

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.

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