ローカル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": [
"[email protected]",
"--db-url",
"neo4j+s://xxxx.databases.neo4j.io",
"--username",
"<your-username>",
"--password",
"<your-password>"
]
}
}
संबंधित सर्वर
Hydrolix
Hydrolix time-series datalake integration providing schema exploration and query capabilities to LLM-based workflows.
Finance MCP Server
Provides real-time financial data from Yahoo Finance.
PostgreSQL MCP Server
A server for managing PostgreSQL databases, enabling comprehensive database operations.
Mem0 MCP
Integrates with Mem0.ai to provide persistent memory capabilities for LLMs, supporting cloud, Supabase, and local storage.
Gralio SaaS Database
Access a comprehensive database of over 30,000 SaaS products, including reviews, pricing, alternatives, and growth metrics.
Legifrance
Query French legal databases using the Legifrance API.
Macrostrat
Access geologic data from the Macrostrat API, including units, columns, minerals, and timescales.
ArangoDB
A server for interacting with ArangoDB, a native multi-model database system.
Flexpa FHIR
An MCP server for interacting with FHIR (Fast Healthcare Interoperability Resources) servers, enabling access and search of healthcare data.
Outreach.io by CData
A read-only MCP server for querying live data from Outreach.io using the CData JDBC Driver.