Async Python client for the Enhanced Cognee MCP server (119 tools)
Project description
Enhanced Cognee Client
Async Python client for the Enhanced Cognee MCP server - a production-grade knowledge-graph memory layer with 119 MCP tools.
Install
pip install enhanced-cognee-client
Quick start
import asyncio
from enhanced_cognee_client import EnhancedCogneeClient
async def main():
async with EnhancedCogneeClient(host="localhost", port=37777) as client:
# Store a memory
result = await client.add_memory(
content="Enhanced Cognee has 119 MCP tools",
user_id="default",
agent_id="my-agent",
)
print(result)
# Search memories
hits = await client.search_memories(query="MCP tools", limit=5)
print(hits)
# Check health
status = await client.health()
print(status)
asyncio.run(main())
Key features
- Async-first (httpx under the hood)
- Never raises on network errors - returns error dicts instead
- Full type annotations, PEP 561
py.typedmarker - 16 public methods covering all major memory, GDPR, and lifecycle operations
- Compatible with Python 3.10+
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 enhanced_cognee_client-1.0.0.tar.gz.
File metadata
- Download URL: enhanced_cognee_client-1.0.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c0fc0d28bbc7bdd1e019fcb98d00f5897daecb6fd94a6406164cda6c6a498c5
|
|
| MD5 |
8e30d3703b9e7ce64153ac082974718f
|
|
| BLAKE2b-256 |
f6059b5c642c25b4c360fd44580ea110d50ee549fec8ee5e443319690fe490e2
|
File details
Details for the file enhanced_cognee_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: enhanced_cognee_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
944d3293fabae33d9288e7c232d79fa4c3d866f2bd55962febacf65c485c0ea3
|
|
| MD5 |
92847dd7ad297f116156743e0a738dec
|
|
| BLAKE2b-256 |
bc6f6126afd4fa9a64494a0cb038f85b89853760cfa22a744d8ddd0bf5a457ff
|