Membase MCP
A decentralized memory layer for AI agents providing secure, persistent storage for conversation history and knowledge.
membase mcp server
Description
Membase is the first decentralized memory layer for AI agents, powered by Unibase. It provides secure, persistent storage for conversation history, interaction records, and knowledge — ensuring agent continuity, personalization, and traceability.
The Membase-MCP Server enables seamless integration with the Membase protocol, allowing agents to upload and retrieve memory from the Unibase DA network for decentralized, verifiable storage.
Functions
Messages or memoiries can be visit at: https://testnet.hub.membase.io/
- get_conversation_id: Get the current conversation id.
- switch_conversation: Switch to a different conversation.
- save_message: Save a message/memory into the current conversation.
- get_messages: Get the last n messages from the current conversation.
Installation
git clone https://github.com/unibaseio/membase-mcp.git
cd membase-mcp
uv run src/membase_mcp/server.py
Environment variables
- MEMBASE_ACCOUNT: your account to upload
- MEMBASE_CONVERSATION_ID: your conversation id, should be unique, will preload its history
- MEMBASE_ID: your instance id
Configuration on Claude/Windsurf/Cursor/Cline
{
"mcpServers": {
"membase": {
"command": "uv",
"args": [
"--directory",
"path/to/membase-mcp",
"run",
"src/membase_mcp/server.py"
],
"env": {
"MEMBASE_ACCOUNT": "your account, 0x...",
"MEMBASE_CONVERSATION_ID": "your conversation id, should be unique",
"MEMBASE_ID": "your sub account, any string"
}
}
}
}
Usage
call functions in llm chat
- get conversation id and switch conversation
- save message and get messages
Related Servers
PubChem-MCP
Access PubChem's database for chemical compounds, substances, and bioassays.
Binance Cryptocurrency MCP
Access real-time Binance cryptocurrency market data, including prices, order books, and trading history.
Microsoft SQL Server
A server for secure interaction with Microsoft SQL Server databases using environment variables for configuration.
Data.gov.il
Access Israeli Government Open Data from the data.gov.il portal.
Google Analytics MCP Server by CData
A read-only MCP server for querying live Google Analytics data using LLMs. Powered by CData.
MCP-PostgreSQL-Ops
MCP-PostgreSQL-Ops is a professional MCP server for PostgreSQL database operations, monitoring, and management. Supports PostgreSQL 12-17 with comprehensive database analysis, performance monitoring, and intelligent maintenance recommendations through natural language queries.
KOSPI/KOSDAQ Stock Server
Provides KOSPI/KOSDAQ stock data, including ticker lookup, OHLCV, market capitalization, and fundamental data.
Nimiq MCP Server
An MCP server for read-only interaction with the Nimiq blockchain.
CData SuiteCRM Server
A read-only MCP server for querying live SuiteCRM data using the CData JDBC Driver.
Tushare MCP
An intelligent stock data assistant providing financial data using the Tushare API.