Eion

DatabasesMemory and knowledge

Shared Memory Storage for Multi-Agent Systems.

Your AI app calls the Eion MCP server, which does the work through tools like get_memory, add_memory, search_memory and delete_memory and sends the result back to the chat.

About Eion

Eion is a community MCP server from eiondb, filed in our directory under databases and memory and knowledge. Shared Memory Storage for Multi-Agent Systems.

The README for Eion lists tools such as get_memory, add_memory, search_memory and delete_memory, which your AI app can call once the server is connected.

At a glance

Publisher
eiondb (community)
Runs
See the README for setup
Written in
Go
License
AGPL-3.0
GitHub stars
160

Tools Eion gives your AI app

  • get_memoryRetrieve conversation history with filters.
  • add_memoryStore new conversation messages.
  • search_memorySemantic search in conversation history.
  • delete_memoryRemove conversation data.
  • search_knowledgeFind relevant extracted knowledge.
  • create_knowledgeAdd new knowledge entries.
  • update_knowledgeModify existing knowledge.
  • delete_knowledgeRemove knowledge entries.
  • session_idUnique session identifier for the conversation.
  • agent_idRegistered agent ID (obtain via Developer API).
  • user_idEnd user ID that the agent serves.

Tool names as the Eion README lists them. Your AI app shows the live list once Eion is connected.

How to set up Eion

  1. Follow the install steps in the Eion README; it is written in Go, so have that toolchain ready.
  2. Check the Eion README for keys or settings; the registry lists none that Eion requires.
  3. Add Eion to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Eion tools to confirm the connection.
  5. Run one read-only task with Eion first, such as a call to get_memory, before you allow anything that writes or sends.

Eion compared with similar servers

  • Mssql (Aaronontheweb) by Aaronontheweb has fewer GitHub stars than Eion (159 against 160); both are community servers, and both run locally.
  • PostgreSQL Ops by call518 has more GitHub stars than Eion (164 against 160); both are community servers, and both run locally. The PostgreSQL Ops README lists 30 tools to Eion's 11.
  • OneSelf by ptonlix has fewer GitHub stars than Eion (155 against 160); both are community servers, and both run locally.

Before you connect Eion

  • Give Eion its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Eion tool call until you trust what it does with them.
  • Treat text that Eion fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Eion on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Eion

How marketing and sales teams put Eion to work, by company size. Pick the size closest to yours and start Eion on one use case.

Small business

  • A small business with its own app can ask Eion plain questions about customers and orders, without writing SQL.
  • Owners can use Eion to pull a list of customers who haven't bought in 90 days and plan a win-back email.
  • A small business can give Eion its offers, FAQs and tone of voice once, so every draft starts from the same facts.
  • Eion runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing analysts can connect Eion to answer campaign questions from the warehouse directly, instead of waiting on the data team's queue.
  • Lifecycle teams can use Eion to build audience lists from product data and check counts before a send.
  • Marketing teams can connect Eion to positioning docs and past campaigns, so agents write on message without a long prompt each time.
  • Start with get_memory and add_memory, the tools Eion lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises should point Eion at a read replica with a read-only role, so agents query freely without risk to production data.
  • Data teams can expose curated views through Eion, so marketing gets self-serve answers without access to raw customer tables.
  • Enterprises can use Eion with permissions that follow the source documents, so an agent only recalls what the person asking may see.
  • Eion is a community server, so have security review the code and pin a version before Eion touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Eion README

From eiondb/eion on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

Eion

Connecting AI agents through shared memory and collaborative intelligence.

Eion is a shared memory storage that provides unified knowledge graph capabilities for multi-agent systems, adapting to different AI deployment scenarios from single LLM applications to complex multi-agency systems.

1. LLM Application

User ↔ LLM Application → Eion (context storage)
2. AI Agent Application
Business Logic ↔ AI Agent → Eion (memory + knowledge graph)
3. Agency (Multi-Agent) Systems
3a. Sequential Agency
Agent A → context → Agent B → context → Agent C
                ↓              ↓              ↓
              Eion ← shared memory & knowledge → Eion
3b. Concurrent Live Agency (WIP)
Agent A ──┐
          ├── shared live context ← Eion (live sync + notifications)
Agent B ──┤
          │
Agent C ──┘
4. External Guest Agent Access
Internal Agency: Agent A ↔ Agent B → Eion ← External Agent C (guest)
                                            ↑
                                    (controlled access)

Quick Start

Prerequisites
  • Docker & Docker Compose: For PostgreSQL and Neo4j
  • Go 1.21+: For the Eion server
  • Python 3.13+: For knowledge extraction services
1. Clone and Setup
git clone <repo>
cd eion
2. Start Database Services
# Start all required databases (PostgreSQL + Neo4j)
docker-compose up -d

# Verify databases are ready
docker-compose ps
3. Setup Database Extensions and Tables
# Enable the pgvector extension (required for embeddings)
docker exec eion_postgres psql -U eion -d eion -c "CREATE EXTENSION IF NOT EXISTS vector;"

# Run main orchestrator migrations (includes sessions table)
docker exec -i eion_postgres psql -U eion -d eion < database_setup.sql
4. Install Python Dependencies
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt
5. Build and Run Eion Server
# Build the server
go build -o eion-server ./cmd/eion-server

# Run the server
./eion-server
6. Verify Setup
# Check server health
curl http://localhost:8080/health

# Expected response:
# {"status":"healthy","timestamp":"2024-12-19T10:30:00Z","services":{"database":"healthy","embedding":"healthy"}}
7. Access the Register Console

Navigate to the Register Console for easy cluster management:

http://localhost:8080/console/

⚠️ Important: Include the trailing slash / in the URL.

Console Features

Agent Registration Tab:

  • Simple form-based agent registration with automatic ID generation
  • Support for different permission levels (read, read-write, full CRUD)
  • Real-time registration status feedback
  • View all registered agents in a table

Monitoring Tab:

  • Real-time agent status and system monitoring
  • View active sessions and users (coming soon)
  • Refresh functionality for live updates

Resources Tab:

  • Copy-paste ready HTTP API examples with your current configuration
  • MCP integration snippets (when MCP is enabled)
  • Quick start guide for developers
  • Copy-to-clipboard functionality for easy integration
Using the Console
  1. Register an Agent:

    • Go to "Register Agents" tab
    • Fill in name, description, and permissions
    • Click "Register Agent"
    • Agent appears in the table below
  2. Monitor Activity:

    • Switch to "Monitoring" tab
    • View agent status and system health
    • Use refresh button for updates
  3. Get Integration Examples:

    • Visit "Resources" tab
    • Copy HTTP API examples with your server details
    • Use MCP configuration if MCP is enabled
Configuration Display

The console automatically shows:

  • Cluster API key for authentication
  • Server host and port
  • MCP and Numa integration status
  • Neo4j connection details (when enabled)
Styling

The console uses Eion's brand colors:

  • Navy Blue background with Cream text
  • Responsive design for desktop and mobile
  • Consistent with the main Eion website styling

Architecture

Eion provides a unified API that combines:

  • Memory Storage: PostgreSQL with pgvector for conversation history and semantic search
  • Knowledge Graph: Neo4j with in-house extraction for temporal knowledge storage
  • Real Embeddings: all-MiniLM-L6-v2 model (384 dimensions) using sentence-transformers - production-ready embeddings
  • Knowledge Extraction: In-house extraction service for entity/relationship extraction

MCP Server Integration

Eion includes a built-in Model Context Protocol (MCP) Server that enables seamless agent integration through standardized tool interfaces.

What MCP Provides

The MCP server exposes Eion's Session-level API as MCP tools, allowing AI agents to:

  • Store and retrieve conversation memories
  • Perform semantic search across stored conversations
  • Create and manage knowledge entries
  • Search through extracted knowledge graphs
Available MCP Tools

Memory Tools (4):

  • get_memory - Retrieve conversation history with filters
  • add_memory - Store new conversation messages
  • search_memory - Semantic search in conversation history
  • delete_memory - Remove conversation data

Knowledge Tools (4):

  • search_knowledge - Find relevant extracted knowledge
  • create_knowledge - Add new knowledge entries
  • update_knowledge - Modify existing knowledge
  • delete_knowledge - Remove knowledge entries
Agent Integration

Direct MCP Client (Recommended):

from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client

# Connect to Eion MCP server
server_params = StdioServerParameters(
    command="python",
    args=["-m", "internal.mcp.server"],
    env={"EION_BASE_URL": "http://localhost:8080"}
)

async with stdio_client(server_params) as (read, write):
    async with ClientSession(read, write) as session:
        await session.initialize()
        
        # Use tools with agent credentials
        result = await session.call_tool("add_memory", {
            "session_id": "agent_session_123",
            "agent_id": "my_registered_agent",
            "user_id": "end_user_456",
            "messages": [{"role": "user", "content": "Hello!"}]
        })

LangChain Integration:

from langchain_mcp_tools import convert_mcp_to_langchain_tools

mcp_servers = {
    "eion": {
        "command": "python", 
        "args": ["-m", "internal.mcp.server"],
        "env": {"EION_BASE_URL": "http://localhost:8080"}
    }
}

tools, cleanup = await convert_mcp_to_langchain_tools(mcp_servers)
# Use tools with LangChain agents

Claude Desktop Integration: Add to claude_desktop_config.json:

{
  "mcpServers": {
    "eion": {
      "command": "python",
      "args": ["-m", "internal.mcp.server"],
      "env": {"EION_BASE_URL": "http://localhost:8080"},
      "cwd": "/path/to/eion"
    }
  }
}
Authentication

All MCP tools require agent authentication:

  • session_id - Unique session identifier for the conversation
  • agent_id - Registered agent ID (obtain via Developer API)
  • user_id - End user ID that the agent serves

Agents must be registered via the Developer API before using MCP tools:

curl -X POST http://localhost:8080/cluster/v1/agents \
  -H "Content-Type: application/json" \
  -d '{"name": "My Agent", "capabilities": ["memory", "knowledge"]}'
MCP Configuration

MCP server settings in eion.yaml:

mcp:
  enabled: true                     # Enable MCP server
  port: 8081                        # MCP server port  
  python_path: ".venv/bin/python"   # Python executable path
  log_level: "INFO"                 # Logging level
  timeout: 30                       # Request timeout (seconds)

The MCP server is embedded within the Eion server process and requires no separate deployment.

Configuration

Create eion.yaml (optional - defaults work out of the box):

common:
  http:
    host: "0.0.0.0"
    port: 8080
  
  postgres:
    user: "eion"
    password: "eion_pass" 
    host: "localhost"
    port: 5432
    database: "eion"
  
  # Neo4j Configuration (Required)
  numa:
    neo4j:
      uri: "bolt://localhost:7687"
      username: "neo4j"
      password: "password"
      database: "neo4j"

# MCP Server Configuration (Optional)
mcp:
  enabled: true                     # Enable MCP server
  port: 8081                        # MCP server port
  python_path: ".venv/bin/python"   # Path to Python executable
  log_level: "INFO"                 # MCP server log level
  timeout: 30                       # Request timeout in seconds

# Register Console Configuration (Optional)
console:
  enabled: true                     # Enable Register Console (default: true)

Additional Configuration

For production deployments, you may want to customize the database settings in docker-compose.yml or create your own configuration.

Or use the automated setup script:

# One-command setup (includes database startup, Python env, and server build)
./setup.sh

# Then start the server
./eion-server

Questions about Eion

What is the Eion MCP server?

Shared Memory Storage for Multi-Agent Systems. Eion is maintained by eiondb on GitHub at eiondb/eion, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Eion MCP server?

Eion doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (eiondb/eion). Like most servers, Eion ends with a command or URL you paste into your AI app's MCP config.

Does Eion need an API key?

The registry lists no required keys for Eion. Check the Eion README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Eion an official MCP server?

No. Eion is a community server maintained by eiondb. Community servers can be excellent; read the code and the open issues before you give Eion access to company data.

What license is Eion under?

Eion is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of Eion; the service it connects to has its own terms.