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
-
Get your API key from ziai.chat/settings
-
Configure Claude Code - Add to
~/.claude/settings.json:
{
"mcpServers": {
"zi": {
"command": "uvx",
"args": ["zi-mcp"],
"env": {
"ZI_API_KEY": "zi_your_api_key_here"
}
}
}
}
- 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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
603af35dfb45d017f3f6278a038392f2678369616bfbad204e74d02419eb2bd4
|
|
| MD5 |
c3e109fa40f46dae5437010a589adefb
|
|
| BLAKE2b-256 |
d7269ef0a018d3ed37d6cb9acd9a1b84ba012116106dc77fd1a68bb7286ceadd
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b270ad4067f2be45455bf64bf86affdedde437cd44b01fa9c6e24e12921717dc
|
|
| MD5 |
abe68689bf68335f966494685f7ed271
|
|
| BLAKE2b-256 |
cbd3c17ba429e7f40f251a5af3b2c37e3a10c714dc786b25ddacf3fe834be0cf
|