ローカルNeo4jコンテナ
Manages personal knowledge using a local Neo4j container, with data imported from JSON files.
ローカルNeo4jコンテナ
-
JSONファイルを作成
persons.json, domains.json, observations.json, relations.json をneo4j-container/import/ディレクトリに配置します。 -
Neo4jコンテナを起動
cd neo4j-container docker compose up -d
-
コンテナに入る
docker exec -it neo4j-container-neo4j-1 /bin/bash -
Cypher Shellでファイルを実行
cypher-shell -u neo4j -p mypassword -
登録結果の確認
cypher-shell -u neo4j -p mypassword "MATCH (n) RETURN n LIMIT 50;"
importフォルダのJSONデータ登録手順
- Neo4jコンテナに入る
# PowerShellの場合
# (コンテナ名は docker ps で確認)
docker exec -it neo4j-container-neo4j-1 /bin/bash
- Cypher ShellでJSONを登録(例: persons.json)
cat /import/persons.cypher | cypher-shell -u neo4j -p mypassword
cat /import/domains.cypher | cypher-shell -u neo4j -p mypassword
cat /import/relations.cypher | cypher-shell -u neo4j -p mypassword
cat /import/observations.cypher | cypher-shell -u neo4j -p mypassword
※<パスワード>はneo4jのパスワードに置き換えてください。
- 登録結果の確認**
cypher-shell -u neo4j -p mypassword "MATCH (n) RETURN n LIMIT 50;"
Claude Desktopでの実行方法
まず、Pythonのmcp-neo4j-memoryモジュールをインストールしておきます。
pip install mcp-neo4j-memory
claude_desktop_config.json
"mcpServers": {
"neo4j": {
"command": "uvx",
"args": [
"mcp-neo4j-memory@0.1.4",
"--db-url",
"neo4j+s://xxxx.databases.neo4j.io",
"--username",
"<your-username>",
"--password",
"<your-password>"
]
}
}
Related Servers
CockroachDB
A server for direct interaction with CockroachDB databases.
Bankless Onchain
Query Onchain data, like ERC20 tokens, transaction history, smart contract state.
Mina Archive Node API
Access Mina blockchain data, including events, actions, and network state, through the Mina Archive Node API.
Knowledge Graph Memory Server
Enables memory for Claude using a knowledge graph with fuzzy semantic search and persistent storage.
AI Knowledge System
An enterprise-ready system to archive AI conversations from ChatGPT and Claude into a Supabase database.
Postgres MCP Pro
An MCP server for PostgreSQL providing index tuning, explain plans, health checks, and safe SQL execution.
CData SAP Hybris C4C
A read-only MCP server for querying live SAP Hybris C4C data, powered by the CData JDBC Driver.
Drug Gene Interaction Database (DGIdb)
A bridge to the Drug Gene Interaction Database (DGIdb) API, enabling AI clients to query drug-gene interaction data.
Gralio SaaS Database
Access a comprehensive database of over 30,000 SaaS products, including reviews, pricing, alternatives, and growth metrics.
Self-Hosted Supabase MCP Server
Interact with self-hosted Supabase instances for database management and introspection.