Skip to main content

MCP server for Zi - Your AI companion for life guidance

Project description

Zi MCP Server

Connect AI agents like Claude Code to Zi - your AI companion for life guidance.

Installation

# Using uvx (recommended)
uvx zi-mcp

# Or install with pip
pip install zi-mcp

Setup

  1. Get your API key from ziai.chat/settings

  2. Configure Claude Code - Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "zi": {
      "command": "uvx",
      "args": ["zi-mcp"],
      "env": {
        "ZI_API_KEY": "zi_your_api_key_here"
      }
    }
  }
}
  1. Restart Claude Code and start chatting with Zi!

Usage

Once configured, you can ask Claude to interact with Zi:

  • "Ask Zi about my career direction"
  • "Talk to Zi about work-life balance"
  • "Continue my conversation with Zi about relationships"

Available Tools

Tool Description
zi_chat Send a message to Zi, optionally continuing an existing thread
zi_list_threads List all your conversation threads
zi_get_thread Get the history of a specific thread
zi_create_thread Create a new conversation thread
zi_delete_thread Delete a conversation thread

Environment Variables

Variable Required Description
ZI_API_KEY Yes Your Zi API key
ZI_API_URL No Custom API URL (default: https://api.ziai.chat)

Development

# Clone the repo
git clone https://github.com/bigsmall-jsc/zi.git
cd zi/zi-mcp

# Install in development mode
pip install -e .

# Run locally
ZI_API_KEY=your_key python -m zi_mcp.server

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

zi_mcp-0.1.3.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

zi_mcp-0.1.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file zi_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: zi_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for zi_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 09f1621271fa0c1cd7eb8a48dee20f196e747496455825a8793a808506f3adb9
MD5 b10673d70d584cf58f4709383b27e6c1
BLAKE2b-256 0d85f2d97a60b91fb4eb9a4d731fe69262124b2141c3f8464f1b328dd4098c1a

See more details on using hashes here.

File details

Details for the file zi_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: zi_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for zi_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e801722e887f59b4a58af0dea4817f290e2d5f6812256ce82ce0a98418118ecb
MD5 a1c8c72a02e34bfd52fc1dbd2ae30644
BLAKE2b-256 4d58b5dcd0e18409896fc89d7ccbce16bfa5288618b1f5fca88795d49d36ab67

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