{"id":34979215,"url":"https://github.com/cognizonline/memory-kit","last_synced_at":"2026-04-06T08:31:22.483Z","repository":{"id":329696494,"uuid":"1120181947","full_name":"cognizonline/memory-kit","owner":"cognizonline","description":"Self-hosted memory platform for Claude Code. Own your data.","archived":false,"fork":false,"pushed_at":"2025-12-21T07:39:07.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T01:33:39.362Z","etag":null,"topics":["ai-assistant","claude-code","fastapi","local-first","memory-platform","privacy","self-hosted","sqlite"],"latest_commit_sha":null,"homepage":"https://cogniz.online","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cognizonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-20T16:54:14.000Z","updated_at":"2025-12-21T07:39:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cognizonline/memory-kit","commit_stats":null,"previous_names":["cognizonline/memory-kit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/cognizonline/memory-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognizonline%2Fmemory-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognizonline%2Fmemory-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognizonline%2Fmemory-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognizonline%2Fmemory-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cognizonline","download_url":"https://codeload.github.com/cognizonline/memory-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognizonline%2Fmemory-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-assistant","claude-code","fastapi","local-first","memory-platform","privacy","self-hosted","sqlite"],"created_at":"2025-12-27T00:51:45.342Z","updated_at":"2026-04-06T08:31:22.478Z","avatar_url":"https://github.com/cognizonline.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Code MemoryKit\n\n**Self-hosted memory platform for Claude Code. Own your data.**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)\n\nLocal, privacy-first memory storage for AI coding assistants. No cloud required.\n\n## Features\n\n- **Self-hosted**: Your memories stay on your machine\n- **Zero dependencies**: Just SQLite, no external services\n- **5-minute setup**: Clone, run, done\n- **Claude Code ready**: Drop-in replacement for Cogniz cloud\n- **Free forever**: No usage limits, no tracking\n\n## Quick Start\n\n### Option 1: Python (Fastest)\n\n```bash\n# Clone\ngit clone https://github.com/cognizonline/memory-kit.git\ncd memory-kit\n\n# Install\npip install -r requirements.txt\n\n# Generate API key\necho \"MEMORYKIT_API_KEY=$(python -c 'import secrets; print(secrets.token_urlsafe(32))')\" \u003e .env\n\n# Start server\npython cli.py start\n```\n\nServer runs at `http://127.0.0.1:8765`\n\n### Option 2: Docker (Isolated)\n\n```bash\ngit clone https://github.com/cognizonline/memory-kit.git\ncd memory-kit\n\n# Set API key\necho \"MEMORYKIT_API_KEY=your_secure_key\" \u003e .env\n\n# Start with Docker\ndocker-compose up -d\n```\n\n## Usage\n\n### Start Server\n\n```bash\npython cli.py start\n```\n\n### View Stats\n\n```bash\npython cli.py stats\n```\n\nOutput:\n```\n📊 MemoryKit Statistics\n━━━━━━━━━━━━━━━━━━━━━━\nTotal Memories: 247/1000\nTotal Projects: 12\nUsage: 24.7%\n```\n\n### Search Memories\n\n```bash\npython cli.py search \"authentication\"\n```\n\n### List Recent Memories\n\n```bash\npython cli.py list --limit 5 --project my-app\n```\n\n### View Projects\n\n```bash\npython cli.py projects\n```\n\n## API Endpoints\n\nCompatible with [Cogniz API](https://cogniz.online/api-reference):\n\n- `POST /v1/store` - Save memory\n- `GET /v1/recent` - Get recent memories\n- `GET /v1/search` - Search memories\n- `GET /v1/user-stats` - Usage statistics\n- `GET /v1/projects` - List projects\n\nFull API docs at: `http://127.0.0.1:8765/docs`\n\n## Claude Code Integration\n\nUse with [claude-memory-hooks](https://github.com/cognizonline/claude-memory-hooks):\n\nEdit `.claude/project-config.json`:\n\n```json\n{\n  \"cogniz\": {\n    \"api_key\": \"your_memorykit_api_key\",\n    \"api_url\": \"http://127.0.0.1:8765/v1\",\n    \"default_project\": \"my-project\"\n  }\n}\n```\n\nNow Claude Code saves to your local MemoryKit instead of the cloud.\n\n## Free vs Premium\n\n| Feature | MemoryKit (Free) | Cogniz Premium |\n|---------|------------------|----------------|\n| Storage | Local SQLite | Cloud MySQL |\n| Max memories | 1,000 | Unlimited |\n| Search | Basic text | AI semantic |\n| Workspaces | Single user | Teams |\n| Sync | No sync | Multi-device |\n| Dashboard | CLI only | Web UI |\n| Privacy | 100% local | Cloud hosted |\n| Cost | Free forever | $9/month |\n\n## When to Upgrade to Cogniz Premium\n\nUpgrade at [cogniz.online](https://cogniz.online) when you need:\n\n- **More than 1,000 memories**\n- **AI-powered semantic search**\n- **Team workspaces**\n- **Cloud sync across devices**\n- **Web dashboard**\n- **Automatic backups**\n\n## Architecture\n\n```\nMemoryKit\n├── FastAPI server (async, auto-docs)\n├── SQLite database (zero-config)\n├── REST API (Cogniz-compatible)\n└── CLI tool (management)\n```\n\n## Configuration\n\nEnvironment variables:\n\n```bash\nMEMORYKIT_API_KEY=your_secure_key\nMEMORYKIT_HOST=127.0.0.1\nMEMORYKIT_PORT=8765\nMEMORYKIT_DB_PATH=memory.db\n```\n\n## Security\n\n- **API key required** for all endpoints\n- **Local only** by default (127.0.0.1)\n- **No telemetry** or external calls\n- **SQLite encryption** optional (enable with SQLCipher)\n\n## Limitations (by design)\n\n- 1,000 memory limit\n- Basic text search only (no embeddings)\n- Single user (no workspaces)\n- No cloud sync\n- CLI only (no web UI)\n\nThese limits encourage upgrade to Cogniz Premium while keeping the free version useful.\n\n## Development\n\n```bash\n# Install dev dependencies\npip install -r requirements.txt\n\n# Run tests\npytest\n\n# Run with auto-reload\nuvicorn memorykit.server:app --reload\n```\n\n## Contributing\n\nContributions welcome! Please:\n\n1. Fork the repository\n2. Create feature branch\n3. Submit pull request\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\nMIT License - see [LICENSE](LICENSE)\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/cognizonline/memory-kit/issues)\n- **Discussions**: [GitHub Discussions](https://github.com/cognizonline/memory-kit/discussions)\n- **Email**: support@cogniz.online\n\n## Related Projects\n\n- [claude-memory-hooks](https://github.com/cognizonline/claude-memory-hooks) - Claude Code integration\n- [cogniz-python](https://github.com/cognizonline/cogniz-python) - Python SDK for Cogniz\n- [Cogniz Premium](https://cogniz.online) - Cloud-hosted with unlimited features\n\n---\n\n**Built by [Cogniz](https://cogniz.online) - Own your AI memory**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcognizonline%2Fmemory-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcognizonline%2Fmemory-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcognizonline%2Fmemory-kit/lists"}