ローカル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>"
]
}
}
Máy chủ liên quan
Binance Cryptocurrency MCP
Access Binance cryptocurrency market data, including prices, candlestick charts, and order books.
Politica Electoral
API de datos electorales del mundo democrático: partidos políticos, perfiles ideológicos y programas electorales.
MCP RAN POC
An MCP server for querying databases and managing Kubernetes clusters.
Alliance of Genome Resources (JS)
A high-performance JavaScript server for the Alliance of Genome Resources (AGR) MCP.
Unofficial ChEMBL MCP Server
Access the ChEMBL chemical database for drug discovery, chemical informatics, and bioactivity research using specialized tools via its REST API.
Azure TableStore
An MCP server for interacting with Azure Table Storage, requiring an Azure Storage connection string.
Verodat
Interact with Verodat AI Ready Data platform
Mina Archive Node API
Access Mina blockchain data, including events, actions, and network state, through the Mina Archive Node API.
Secret Network
Provides secure access to Secret Network blockchain functionality, designed for deployment in Trusted Execution Environments (TEEs).
Supavec MCP Server
Fetch relevant content from Supavec, a vector database service.