loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

onebrain-python

MCP Tool

azappnew/onebrain-python

Official OneBrain Python SDK — persistent AI memory layer

Install

$ npx loaditout add azappnew/onebrain-python

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "onebrain-python": {
      "command": "npx",
      "args": [
        "-y",
        "onebrain-python"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

OneBrain Python SDK

[](https://pypi.org/project/onebrain-sdk/) [](https://pypi.org/project/onebrain-sdk/) [](https://opensource.org/licenses/MIT) [](https://mypy-lang.org/)

The official Python SDK for OneBrain — a persistent AI memory layer for humans and agents. Store, search, and connect memories across every AI tool you use.

  • Homepage: <https://onebrain.rocks>
  • Dashboard: <https://onebrain.rocks/dashboard>
  • API Reference: <https://onebrain.rocks/docs/api>
  • Repository: <https://github.com/azappnew/onebrain-python>

---

Installation
pip install onebrain-sdk

Requires Python 3.9+. The only runtime dependency is httpx.

---

Quick Start
import onebrain

client = onebrain.OneBrain(api_key="ob_xxx:secret")

# Store a memory
memory = client.memory.create(content="The user prefers dark mode.")

# Search memories
results = client.memory.search(query="user preferences", limit=5)

# Get brain context for an AI prompt
context = client.brain.context(scope="preferences")

client.close()

---

Authentication

Every request requires an API key. You can provide it in two ways:

1. Constructor argument
client = onebrain.OneBrain(api_key="ob_xxx:secret")
2. Environment variable
export ONEBRAIN_API_KEY="ob_xxx:secret"
client = onebrain.OneBrain()  # reads ONEBRAIN_API_KEY automatically
Getting an API key
  1. Sign in at <https://onebrain.rocks/dashboard>.
  2. Navigate to Settings > API Keys.
  3. Click Create API Key and copy the full key (ob_prefix:secret).
  4. The secret is shown only once — store it securely.

---

API Reference

All methods return type

Tags

ai-agentsai-memorygdprllmmcpmemoryopen-sourceprivacypython

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated16 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/31/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/azappnew/onebrain-python)](https://loaditout.ai/skills/azappnew/onebrain-python)