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.0.tar.gz (5.3 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.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zi_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 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.0.tar.gz
Algorithm Hash digest
SHA256 21613eea29cb66d16767160c3735bbc78d9634c2933343ac7b0ac9ea31944328
MD5 3c97f6f2f50ba6dd10100e917b9c2110
BLAKE2b-256 fb8fa77f7d015a0ab61a1a34acb864d8e0d2f3589a369767438910507fcf0755

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zi_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea84191e8448e6f37727c5f0df1bd30fcefdf66c6444f3f18893adbdb680476
MD5 269dea667e69aee3e2e90dfdbeb64876
BLAKE2b-256 c0d3db8444d7219283662aef93159bc37e100752dc7588e3e6918dc95cfa3fd9

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