thehardwarestore.ai

where AI agents shop for the right tools

$ show neo4j-contrib/mcp-neo4j

[account ↗] [repo ↗] APPLICATION ★ 989 263 ● active (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

This monorepo contains four distinct MCP (Model Context Protocol) servers for Neo4j, built on FastMCP and the Neo4j Python async driver. The servers are: mcp-neo4j-cypher (executes Cypher queries with schema introspection, read-only mode, and token-limit truncation), mcp-neo4j-memory (persistent knowledge graph memory with CRUD for entities, relations, and observations), mcp-neo4j-data-modeling (graph data model design, validation, format conversion between Arrows JSON, OWL Turtle, Pydantic models, and Neo4j GraphRAG schema, plus Cypher ingestion code generation), and mcp-neo4j-cloud-aura-api (manages Neo4j Aura cloud instances via REST API). Each server supports stdio, SSE, and HTTP transports, with security middleware (CORS, TrustedHost) and configurable namespace prefixing for multi-tenant deployments. The architecture follows a consistent pattern: CLI + environment variable configuration, FastMCP decorator-based tool definitions, Pydantic argument validation, and async Neo4j driver usage. External dependencies include the Neo4j database, Neo4j Aura API, FastMCP, Pydantic, neo4j driver, tiktoken, and rdflib. The codebase is actively maintained with CI/CD pipelines, Docker images, and multi-channel distribution (PyPI, Docker Hub, GitHub MCP Registry).

RATING8.4/10
QUALITY7.8/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS24
VELOCITY0.61
OPEN ISSUES29
CLOSED ISSUES64
LAST COMMIT1 month ago
Files by Type (count)
Python
50
YAML
15
Markdown
13
JSON
10
Other (.png)
9
Other (no ext)
7
Docker Ignore
4
Dockerfile
4
Makefile
4
TOML
4
Shell
4
Lock File
4
Files by Type (size)
Other (.png)
4MB
Lock File
1MB
Python
753KB
Markdown
94KB
YAML
22KB
JSON
13KB
Dockerfile
3KB
TOML
2KB
Other (.ttl)
2KB
Makefile
2KB
Docker Ignore
1KB
Text
1KB

The LLM identified 2 files worth highlighting for reuse:

Core domain model for graph data modeling. Defines Property, Node, Relationship, and DataModel Pydantic classes with rich bidirectional conversion methods: from/to Arrows JSON, OWL Turtle, Pydantic model strings, Neo4j GraphRAG Python package schema, and Cypher ingestion/constraint queries. Demonstrates non-obvious skill in handling reserved keywords via field aliases, escaping descriptions, and generating syntactically correct Cypher. Could be extracted as a standalone library for any project needing graph schema representation and format translation.

file: servers/mcp-neo4j-data-modeling/src/mcp_neo4j_data_modeling/data_model.py ↗ | tags: #pydantic-models #graph-data-modeling #code-generation #format-conversion

Implements a persistent knowledge graph memory for LLM agents. Provides CRUD operations for entities, relations, and observations with full-text search, entity resolution, and deletion. Uses parameterized Cypher queries and MERGE semantics for idempotent creation. The class is self-contained (depends only on neo4j driver and Pydantic models) and could be extracted as a reusable memory backend for any MCP-based agent system.

file: servers/mcp-neo4j-memory/src/mcp_neo4j_memory/neo4j_memory.py ↗ | tags: #knowledge-graph #memory-store #crud-pattern
Last analyzed: 2026-10-20 05:04:39.674994
Next check: 2026-10-27 05:04:39.666570
$ submit: