npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-neo4j-memory-claude

v1.0.1

Published

A Neo4j knowledge graph memory implementation for Claude AI using the Model Context Protocol (MCP)

Readme

mcp-neo4j-memory-claude

A knowledge graph memory implementation for Claude AI using Neo4j and the Model Context Protocol (MCP).

This package provides a persistent memory store that allows Claude to save, retrieve, and reason about structured knowledge in conversations. It's based on the official Neo4j MCP implementation.

Features

  • Persistent Memory: Store conversation knowledge across sessions
  • Knowledge Graph Structure: Entity-relationship model for structured data
  • Semantic Search: Find relevant information and connections
  • Contextual Memory: Add observations to existing entities
  • Relationship Tracing: Track how concepts connect to each other

Installation

npm install -g mcp-neo4j-memory-claude

Prerequisites

  • Neo4j database instance (cloud or local)
  • Claude AI with MCP support (Claude 3 Opus/Sonnet via Claude Desktop)

Configuration

Environment Variables

You'll need to provide your Neo4j credentials:

  • NEO4J_URI: Connection URI for your Neo4j instance
  • NEO4J_USER: Username for Neo4j database
  • NEO4J_PASSWORD: Password for Neo4j database

Claude Desktop Integration

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-neo4j-memory": {
      "command": "npx",
      "args": [
        "mcp-neo4j-memory-claude"
      ],
      "env": {
        "NEO4J_URI": "neo4j+s://your-instance-id.databases.neo4j.io",
        "NEO4J_USER": "your_username",
        "NEO4J_PASSWORD": "your_password"
      }
    }
  }
}

Available Tools

This MCP server provides the following tools for Claude:

| Tool | Description | |------|-------------| | create_entities | Create new entities in the knowledge graph with observations | | create_relations | Create relationships between existing entities | | add_observations | Add new observations to existing entities | | delete_entities | Remove entities and their relationships | | delete_observations | Remove specific observations from entities | | delete_relations | Remove relationships between entities | | read_graph | Retrieve the entire knowledge graph | | search_nodes | Find entities matching search criteria | | open_nodes | Retrieve specific entities by name |

Example Usage (in Claude)

I'd like to build a knowledge graph about science fiction authors.

@mcp-neo4j-memory create_entities
[
  {
    "name": "Isaac Asimov",
    "entityType": "Author",
    "observations": ["Born in 1920", "Known for Foundation series", "Wrote about the Three Laws of Robotics"]
  },
  {
    "name": "Foundation",
    "entityType": "Book Series",
    "observations": ["Epic science fiction series", "Spans centuries of future history"]
  }
]

@mcp-neo4j-memory create_relations
[
  {
    "from": "Isaac Asimov",
    "to": "Foundation",
    "relationType": "WROTE"
  }
]

License

MIT

Contributing

Contributions welcome! Please check the GitHub repository for guidelines.

Acknowledgments

Based on the work by the Neo4j and Anthropic teams to integrate graph databases with Large Language Models through the Model Context Protocol.