neo4j-graphql-skill
OfficialBuild a secure Neo4j GraphQL API
Authorneo4j-contrib
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you turn a Neo4j graph into a production-ready GraphQL API using Neo4j GraphQL, so you can define types, relationships, custom Cypher resolvers, and authorization without hand-writing the entire API layer.
Core Features & Use Cases
- GraphQL typeDefs for Neo4j graphs: Model node types with @node and map fields to Neo4j labels/properties, including custom labels.
- Relationship modeling with directives: Define @relationship with correct IN/OUT/UNDIRECTED semantics and use relationship properties via @relationshipProperties and generated connection access.
- Custom resolvers with @cypher: Implement field-level and query-level resolvers safely within the GraphQL layer using @cypher and columnName alignment.
- Security with JWT/JWKS: Configure features.authorization.key, pass tokens through the Apollo context, and secure data with @authentication and @authorization using filter vs validate.
- Operational conveniences: Use assertIndexesAndConstraints to align @id with constraints, support subscriptions via CDC with features.subscriptions, and optionally use Apollo Federation patterns.
- OGM programmatic access: Use @neo4j/graphql OGM for server-side Neo4j access when you need bypassing GraphQL authorization for trusted workflows.
Quick Start
Install @neo4j/graphql and neo4j-driver, define your schema with @node/@relationship/@cypher and security directives, then construct Neo4jGraphQL with your driver and start an Apollo Server using neoSchema.getSchema().
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: neo4j-graphql-skill Download link: https://github.com/neo4j-contrib/neo4j-skills/archive/main.zip#neo4j-graphql-skill Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.