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

Uploaded Python 3

File details

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

File metadata

  • Download URL: zi_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 6.0 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.2.tar.gz
Algorithm Hash digest
SHA256 603af35dfb45d017f3f6278a038392f2678369616bfbad204e74d02419eb2bd4
MD5 c3e109fa40f46dae5437010a589adefb
BLAKE2b-256 d7269ef0a018d3ed37d6cb9acd9a1b84ba012116106dc77fd1a68bb7286ceadd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zi_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b270ad4067f2be45455bf64bf86affdedde437cd44b01fa9c6e24e12921717dc
MD5 abe68689bf68335f966494685f7ed271
BLAKE2b-256 cbd3c17ba429e7f40f251a5af3b2c37e3a10c714dc786b25ddacf3fe834be0cf

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