Arra Oracle
Allows integration with n8n workflows via MCP, enabling automation and AI-powered search and knowledge management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Arra Oraclesearch the oracle for wisdom on resilience"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Arra Oracle - MCP Memory Layer
"The Oracle Keeps the Human Human" - now queryable via MCP
Phukhao Oracle is landing here: https://phukhao.buildwithoracle.com/presentation/
Status | Always Nightly |
Version | 26.6.1-alpha.1428 |
Created | 2025-12-29 |
Updated | 2026-06-01 |
TypeScript MCP server for semantic search over Oracle philosophy — SQLite FTS5 + LanceDB hybrid search, HTTP API, and vault CLI.
See docs/LOCAL-DEV.md for local development. For Docker MCP Toolkit / Gateway / n8n installs, see docs/DOCKER-MCP-TOOLKIT.md. For the progressive first-run path from zero-config FTS to MCP, indexing, vectors, and audit logs, see docs/ONBOARDING.md.
Architecture
arra-oracle-v3 (one package, two primary bins + legacy aliases)
├── bunx --package github:Soul-Brews-Studio/arra-oracle-v3 arra-oracle → HTTP API (bin/arra.ts)
├── bunx --package github:Soul-Brews-Studio/arra-oracle-v3 arra-cli → operator CLI (cli/src/cli.ts)
├── bunx --package github:Soul-Brews-Studio/arra-oracle-v3 arra-oracle-v2 → legacy MCP alias (src/index.ts)
├── bun run server → HTTP API (src/server.ts)
└── bun run index → Indexer (src/indexer.ts)
oracle-studio (separate repo)
└── bunx oracle-studio → React dashboardStack:
Bun runtime (>=1.2.0)
SQLite + FTS5 for full-text search
LanceDB for vector/semantic search
Drizzle ORM for type-safe queries
Hono for HTTP API
MCP protocol for Claude integration
Related MCP server: mcp-server-claude
Progressive onboarding
Arra now starts with a low-friction floor and lets you opt into heavier pieces only when ready:
Install and search immediately — start the HTTP server and use SQLite FTS5 via
GET /api/search?mode=fts&q=.... A fresh install works without vector indexes; hybrid/vector requests degrade to FTS until vectors are ready (#1370).Connect MCP with a small tool surface — add the stdio MCP server, then trim exposed tools through config (
.arra/config.json,ORACLE_ENABLED_TOOLS,ORACLE_DISABLED_TOOLS) or the/tools/configpage backed byGET/PUT /api/settings/tools(#1372/#1373).Save deploy credentials in the browser —
/connectstoresORACLE_APIplus optionalARRA_API_TOKEN, can generate a token for your server env, and rendersclaude mcp add/ JSON snippets (#1374).Index your ψ vault — when a repo has
ψ/, scan withPOST /api/indexer/scanand populate SQLite/FTS withPOST /api/indexer/reindex(#1375).Enable vectors when ready — choose local engine/model with
GET/PATCH /api/vector/config, index vectors withPOST /api/vector/index/start, or move vector work behindVECTOR_URL;GET /api/healthreportsvectorMode(embedded,proxied,disabled) once #1390 lands (#1377/#1390).Review what the AI searched —
/tracesreadsGET /api/logsplusGET /api/traces/GET /api/traces/:id, including AI-search audit details so searches are inspectable (#1384).
Detailed walkthrough: docs/ONBOARDING.md.
Install
bunx (recommended)
Distributed via GitHub — no npm publish needed:
# HTTP server
bunx --bun --package github:Soul-Brews-Studio/arra-oracle-v3 arra-oracle
# CLI (operator client)
bunx --bun --package github:Soul-Brews-Studio/arra-oracle-v3 arra-cli --help
# UI (dashboard — separate repo)
bunx --bun oracle-studio@github:Soul-Brews-Studio/oracle-studio
# Vault CLI (secondary bin — use --package)
bunx --bun --package arra-oracle-v2@github:Soul-Brews-Studio/arra-oracle-v3#main oracle-vault --helpCanonical bins are arra-oracle (server) and arra-cli (client).
Legacy aliases arra-oracle-v3 and arra-oracle-v2 stay available for
existing installs, Docker commands, and MCP configs. See docs/BINS.md.
Add to Claude Code
claude mcp add arra-oracle-v2 -- bunx --bun --package github:Soul-Brews-Studio/arra-oracle-v3 arra-oracle-v2Or in ~/.claude.json:
{
"mcpServers": {
"arra-oracle-v2": {
"command": "bunx",
"args": ["--bun", "--package", "github:Soul-Brews-Studio/arra-oracle-v3", "arra-oracle-v2"]
}
}
}For a canonical install that shares
ORACLE_DATA_DIRwith Codex / the HTTP API (and gives pinned-commit control + offline starts), see Oracle 101 — ch03 "ติดตั้งจาก 0". §3.11 note: if both Claude Code and Codex are installed, they MUST point at the sameORACLE_DATA_DIR.
From source
git clone https://github.com/Soul-Brews-Studio/arra-oracle-v3.git
cd arra-oracle-v3 && bun install
bun run dev # MCP server
bun run server # HTTP API on :47778curl -sSL https://raw.githubusercontent.com/Soul-Brews-Studio/arra-oracle-v3/main/scripts/install.sh | bashProblem | Fix |
|
|
LanceDB missing/hangs/timeout | Skip it — SQLite FTS5 works fine without vectors |
Fresh install has no index yet | Start the server anyway; FTS search returns empty results and vector/hybrid modes degrade to FTS until vectors are indexed |
MCP Tools
23 tools available via Claude Code:
Tool | Description |
| Hybrid search (FTS5 + LanceDB) |
| Random wisdom |
| Add new patterns |
| Browse documents |
| Database statistics |
| List concept tags |
| Mark documents as superseded |
| Session handoff |
| Inbox messages |
| Verify documents |
| Create thread |
| List threads |
| Read thread |
| Update thread |
| Create trace |
| List traces |
| Get trace |
| Link traces |
| Unlink traces |
| Trace chain |
| Add schedule entry |
| List schedule |
Vault CLI
Global CLI for managing the Oracle knowledge vault:
oracle-vault init <owner/repo> # Initialize vault with GitHub repo
oracle-vault status # Show config and pending changes
oracle-vault sync # Commit + push to GitHub
oracle-vault pull # Pull vault files into local ψ/
oracle-vault migrate # Seed vault from ghq reposAPI Endpoints
HTTP API on port 47778 (bun run server).
Auto-generated by
bun run scripts/gen-endpoints.ts. 55 endpoints across 14 modules.
Method | Path | Module | Description |
|
|
| Auth status - public |
|
|
| Login |
|
|
| Logout |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| Session stats endpoint - tracks activity from DB (includes MCP usage) |
|
|
| |
|
|
| Log an event to feed.log |
|
|
| Graph |
|
|
| Context |
|
|
| File - supports cross-repo access via ghq project paths |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| List threads |
|
|
| Create thread / send message |
|
|
| Get thread by ID |
|
|
| Update thread status |
|
|
| Health check |
|
|
| Stats (extended with vector metrics) |
|
|
| Active Oracles — detected from existing activity across all log tables |
|
|
| Learn |
|
|
| Handoff |
|
|
| Inbox |
|
|
| Feed — recent posts |
|
|
| Oracles directory |
|
|
| Presence — recent heartbeats |
|
|
| Health check — is OracleNet reachable? |
|
|
| |
|
|
| |
|
|
| Serve raw schedule.md for frontend rendering |
|
|
| |
|
|
| |
|
|
| Update schedule event status |
|
|
| Search |
|
|
| Reflect |
|
|
| Similar documents (vector nearest neighbors) |
|
|
| Knowledge map (2D projection of all embeddings) |
|
|
| Knowledge map 3D (real PCA from LanceDB bge-m3 embeddings) |
|
|
| List documents |
|
|
| Get settings (no password hash exposed) |
|
|
| Update settings |
|
|
| List supersessions from oracle_documents.superseded_by |
|
|
| Get supersede chain for a document (by source_file path) |
|
|
| Log a new supersession |
|
|
| |
|
|
| |
|
|
| |
|
|
| Link traces: POST /api/traces/:prevId/link { nextId: "..." } |
|
|
| Unlink trace: DELETE /api/traces/:id/link?direction=prev|next |
|
|
| Get trace linked chain: GET /api/traces/:id/linked-chain |
Database
Drizzle ORM with SQLite:
bun db:push # Push schema to DB
bun db:generate # Generate migrations
bun db:migrate # Apply migrations
bun db:studio # Open Drizzle Studio GUIProject Structure
arra-oracle-v3/
├── src/
│ ├── index.ts # MCP server entry
│ ├── server.ts # HTTP API (Hono)
│ ├── indexer.ts # Knowledge indexer
│ ├── vault/
│ │ └── cli.ts # Vault CLI entry
│ ├── tools/ # MCP tool handlers
│ ├── trace/ # Trace system
│ ├── db/
│ │ ├── schema.ts # Drizzle schema
│ │ └── index.ts # DB client
│ └── server/ # HTTP server modules
├── scripts/ # Setup & utility scripts
├── docs/ # Documentation
└── drizzle.config.ts # Drizzle configurationConfiguration
Variable | Default | Description |
|
| HTTP server port |
|
| Knowledge base root |
Testing
bun test # All tests
bun test:unit # Unit tests
bun test:integration # Integration tests
bun test:e2e # Playwright E2E tests
bun test:coverage # With coverageNew awakenings welcome
Awakening a new Oracle? Post the birth announcement and experience report to Discussions, not Issues. See docs/CONTRIBUTING-AWAKENING.md for categories and signature convention.
References
TIMELINE.md - Full evolution history
docs/API.md - API documentation
docs/architecture.md - Architecture details
docs/CONTRIBUTING-AWAKENING.md - Where to post awakening announcements
Acknowledgments
Inspired by claude-mem by Alex Newman — process manager pattern, worker service architecture, and hook system concepts.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Soul-Brews-Studio/arra-oracle-v3'
If you have feedback or need assistance with the MCP directory API, please join our Discord server