
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server that stores and retrieves text memories using txtai semantic search, with tag organization and file-based persistence.
TxtAI Assistant MCP server for semantic memory and search is cataloged as an MCP server attributed to rmtech1. An MCP server that stores and retrieves text memories using txtai semantic search, with tag organization and file-based persistence. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for TxtAI Assistant MCP server for semantic memory and search are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Memories and tags are saved in JSON files in the data directory, with automatic data persistence.
The server is built on txtai, an open-source AI-powered search engine providing neural and semantic search with transformers.
README.md · eaaf647de56d · 采集于 2026-11-13 10:06:23 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server implementation for semantic search and memory management using txtai. This server provides a robust API for storing, retrieving, and managing text-based memories with semantic search capabilities.
This project is built on top of txtai, an excellent open-source AI-powered search engine created by NeuML. txtai provides:
We extend txtai's capabilities by integrating it with the Model Context Protocol (MCP), enabling AI assistants like Claude and Cline to leverage its powerful semantic search capabilities. Special thanks to the txtai team for creating such a powerful and flexible tool.
git clone https://github.com/yourusername/txtai-assistant-mcp.git
cd txtai-assistant-mcp
./scripts/start.sh
The script will:
The server can be configured using environment variables in the .env file. A template is provided at .env.template:
# Server Configuration
HOST=0.0.0.0
PORT=8000
# CORS Configuration
CORS_ORIGINS=*
# Logging Configuration
LOG_LEVEL=DEBUG
# Memory Configuration
MAX_MEMORIES=0
This TxtAI Assistant can be used as an MCP server with Claude and Cline AI to enhance their capabilities with semantic memory and search functionality.
To use this server with Claude, add it to Claude's MCP configuration file (typically located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"txtai-assistant": {
"command": "path/to/txtai-assistant-mcp/scripts/start.sh",
"env": {}
}
}
}
To use with Cline, add the server configuration to Cline's MCP settings file (typically located at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):
{
"mcpServers": {
"txtai-assistant": {
"command": "path/to/txtai-assistant-mcp/scripts/start.sh",
"env": {}
}
}
}
Once configured, the following tools become available to Claude and Cline:
store_memory: Store new memory content with metadata and tags{
"content": "Memory content to store",
"metadata": {
"source": "conversation",
"timestamp": "2023-01-01T00:00:00Z"
},
"tags": ["important", "context"],
"type": "conversation"
}
retrieve_memory: Retrieve memories based on semantic search{
"query": "search query",
"n_results": 5
}
search_by_tag: Search memories by tags{
"tags": ["important", "context"]
}
delete_memory: Delete a specific memory by content hash{
"content_hash": "hash_value"
}
get_stats: Get database statistics{}
check_health: Check database and embedding model health{}
In Claude or Cline, you can use these tools through the MCP protocol:
# Store a memory
<use_mcp_tool>
<server_name>txtai-assistant</server_name>
<tool_name>store_memory</tool_name>
<arguments>
{
"content": "Important information to remember",
"tags": ["important"]
}
</arguments>
</use_mcp_tool>
# Retrieve memories
<use_mcp_tool>
<server_name>txtai-assistant</server_name>
<tool_name>retrieve_memory</tool_name>
<arguments>
{
"query": "what was the important information?",
"n_results": 5
}
</arguments>
</use_mcp_tool>
The AI will automatically use these tools to maintain context and retrieve relevant information during conversations.
POST /store
Store a new memory with optional metadata and tags.
Request Body:
{
"content": "Memory content to store",
"metadata": {
"source": "example",
"timestamp": "2023-01-01T00:00:00Z"
},
"tags": ["example", "memory"],
"type": "general"
}
POST /search
Search memories using semantic search.
Request Body:
{
"query": "search query",
"n_results": 5,
"similarity_threshold": 0.7
}
POST /search_tags
Search memories by tags.
Request Body:
{
"tags": ["example", "memory"]
}
DELETE /memory/{content_hash}
Delete a specific memory by its content hash.
GET /stats
Get system statistics including memory counts and tag distribution.
GET /health
Check the health status of the server.
txtai-assistant-mcp/
├── server/
│ ├── main.py # Main server implementation
│ └── requirements.txt # Python dependencies
├── scripts/
│ └── start.sh # Server startup script
├── data/ # Data storage directory
├── logs/ # Log files directory
├── .env.template # Environment configuration template
└── README.md # This file
Memories and tags are stored in JSON files in the data directory:
memories.json: Contains all stored memoriestags.json: Contains the tag indexLogs are stored in the logs directory. The default log file is server.log.
To contribute to this project:
The server implements comprehensive error handling:
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any issues or have questions, please file an issue on the GitHub repository.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for TxtAI Assistant MCP server for semantic memory and search from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/txtai-assistant-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.