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

Uploaded Python 3

File details

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

File metadata

  • Download URL: zi_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 5.9 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.1.tar.gz
Algorithm Hash digest
SHA256 2365964ab46b91014fc26598e1281cf70db1924ccc60f0bc8cff5da5d6736db1
MD5 002f946f3d6fd5e00f5b55df3ca7936d
BLAKE2b-256 4058be0640903e0b65d8f138a4e864751d4fe81fdced5c55d7a505ec68869dd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zi_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb8675c6f86de917c0b5ae38c4b71c607eb4b9999128cd235eae04b2e1b3ff17
MD5 99c92e4f5067f753ba8319290d6e5030
BLAKE2b-256 737ad542390fb2e077e5c5758041fc85c7482f08ad5b2aa500b3c70a452c364c

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