
izumisy/mcp-duckdb-memory-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
DuckDB 백엔드를 가진 MCP 기억 서버
개요
공식 지식 그래프 메모리 서버의 포크 버전. Smithery를 통해 Claude Desktop용 DuckDB Knowledge Graph Memory Server를 자동으로 설치하십시오. 그렇지 않으면, claude desktop config.json에 @IzumiSy/mcp-duckdb-memory-server를 수동으로 추가하십시오 (MEMORY FILE PATH는 선택 사항입니다) 그 경로에 저장된 데이터는 DuckDB 데이터베이스 파일입니다. 이 프로젝트는 Original MCP Knowledge Graph Memory Server를 통해 DuckDB와 백엔드를 대체합니다. MCP Knowledge Graph Memory Server는 데이터 저장소로 JSON 파일을 사용했으며 메모리 검색에서 수행했습니다. 이 접근법은 작은 데이터셋을 위해 잘 작동하지만, 몇 가지 과제를 제시합니다. 1. : Dataset이 성장함에 따라 In-memory search performance degrades 2. : 대용량 및 관계의 큰 숫자를 처리 할 때 메모리 사용량이 크게 증가합니다. : 복잡한 쿼리 및 조건 검색은 4를 구현하기 어렵습니다.
개요(AI 번역)
공식 지식 그래프 메모리 서버의 포크 버전.
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 DuckDB Knowledge Graph Memory Server를 자동으로 설치하십시오.
수동 설치
그렇지 않으면 @IzumiSy/mcp-duckdb-memory-server]을 claude_desktop_config.json] 수동으로 추가하십시오 (MEMORY_FILE_PATH)
그 경로에 저장된 데이터는 DuckDB 데이터베이스 파일입니다.
도커
제품정보
지원하다
사용법
아래 예제 명령어를 사용하십시오.
동기 부여
이 프로젝트는 Original MCP Knowledge Graph Memory Server를 통해 DuckDB와 백엔드를 대체합니다.
왜 DuckDB?
MCP Knowledge Graph Memory Server는 데이터 저장소로 JSON 파일을 사용했으며 메모리 검색에서 수행했습니다. 이 접근법은 작은 데이터셋을 위해 잘 작동하지만, 몇 가지 과제를 제시합니다.
- Performance: Dataset가 성장함에 따라 In-memory 검색 성능 향상
- Scalability: 기억 사용은 entities와 관계의 큰 숫자를 취급할 때 현저하게 증가합니다
- Query Flexibility: 복잡한 쿼리 및 조건 검색은 구현이 어렵습니다.
- 명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP DuckDB Knowledge Graph Memory Server
A forked version of the official Knowledge Graph Memory Server.
Installation
Installing via Smithery
To install DuckDB Knowledge Graph Memory Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @IzumiSy/mcp-duckdb-memory-server --client claude
Manual install
Otherwise, add @IzumiSy/mcp-duckdb-memory-server in your claude_desktop_config.json manually (MEMORY_FILE_PATH is optional)
{
"mcpServers": {
"graph-memory": {
"command": "npx",
"args": [
"-y",
"@izumisy/mcp-duckdb-memory-server"
],
"env": {
"MEMORY_FILE_PATH": "/path/to/your/memory.data"
}
}
}
}
The data stored on that path is a DuckDB database file.
Docker
Build
docker build -t mcp-duckdb-graph-memory .
Run
docker run -dit mcp-duckdb-graph-memory
Usage
Use the example instruction below
Follow these steps for each interaction:
1. User Identification:
- You should assume that you are interacting with default_user
- If you have not identified default_user, proactively try to do so.
2. Memory Retrieval:
- Always begin your chat by saying only "Remembering..." and search relevant information from your knowledge graph
- Create a search query from user words, and search things from "memory". If nothing matches, try to break down words in the query at first ("A B" to "A" and "B" for example).
- Always refer to your knowledge graph as your "memory"
3. Memory
- While conversing with the user, be attentive to any new information that falls into these categories:
a) Basic Identity (age, gender, location, job title, education level, etc.)
b) Behaviors (interests, habits, etc.)
c) Preferences (communication style, preferred language, etc.)
d) Goals (goals, targets, aspirations, etc.)
e) Relationships (personal and professional relationships up to 3 degrees of separation)
4. Memory Update:
- If any new information was gathered during the interaction, update your memory as follows:
설치
npx -y @izumisy/mcp-duckdb-memory-server설정
{
"mcpServers": {
"graph-memory": {
"command": "npx",
"args": [
"-y",
"@izumisy/mcp-duckdb-memory-server"
],
"env": {
"MEMORY_FILE_PATH": "/path/to/your/memory.data"
}
}
}
}