timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
MCP Neo4j Knowledge Graph Memory Server
教 AI 做这类工作的 Skill,可与本项一起使用
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 34/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 7/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 41/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 51 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 MCP Neo4j Memory。按照 https://mcp.popnx.com/i/neo4j-contrib-mcp-neo4j-memory.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 MCP Neo4j Memory 的密钥(在开发者网站创建) · 需要填写 2 项设置(NEO4J_URI, NEO4J_USERNAME) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server MCP Neo4j Memory,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "neo4j-memory": { "command": "uvx", "args": [ "mcp-neo4j-memory" ], "env": { "NEO4J_URI": "your-value", "NEO4J_USERNAME": "your-value", "NEO4J_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NEO4J_PASSWORD, NEO4J_URI, NEO4J_USERNAME 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Neo4j Memory 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
NEO4J_URI Neo4j 连接 URI NEO4J_USERNAME Neo4j 用户名 说明为自动翻译,变量名保持原样;不确定时请查看原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"neo4j-memory": {
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 MCP Neo4j Memory 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 MCP Neo4j Memory,或回答中出现 MCP Neo4j Memory 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
NEO4J_DATABASE Neo4j 数据库名称 NEO4J_NAMESPACE 工具命名空间前缀 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 MCP Neo4j Memory
MCP Neo4j Memory 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 MCP Neo4j Memory 的应用
可连接 Claude Code,但需要先准备
需要 MCP Neo4j Memory 的密钥(在开发者网站创建) · 需要填写 2 项设置(NEO4J_URI, NEO4J_USERNAME) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server MCP Neo4j Memory,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user neo4j-memory --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value -- uvx mcp-neo4j-memory 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NEO4J_PASSWORD, NEO4J_URI, NEO4J_USERNAME 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Neo4j Memory 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
NEO4J_URI Neo4j 连接 URI NEO4J_USERNAME Neo4j 用户名 说明为自动翻译,变量名保持原样;不确定时请查看原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user neo4j-memory --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value -- uvx mcp-neo4j-memory按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 MCP Neo4j Memory 在列表中并显示已连接
用 MCP Neo4j Memory 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 MCP Neo4j Memory,或回答中出现 MCP Neo4j Memory 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
NEO4J_DATABASE Neo4j 数据库名称 NEO4J_NAMESPACE 工具命名空间前缀 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 MCP Neo4j Memory 的密钥(在开发者网站创建) · 需要填写 2 项设置(NEO4J_URI, NEO4J_USERNAME) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server MCP Neo4j Memory,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "neo4j-memory": { "command": "uvx", "args": [ "mcp-neo4j-memory" ], "env": { "NEO4J_URI": "your-value", "NEO4J_USERNAME": "your-value", "NEO4J_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NEO4J_PASSWORD, NEO4J_URI, NEO4J_USERNAME 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Neo4j Memory 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
NEO4J_URI Neo4j 连接 URI NEO4J_USERNAME Neo4j 用户名 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 MCP Neo4j Memory 的设置中,NEO4J_PASSWORD, NEO4J_URI, NEO4J_USERNAME 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 MCP Neo4j Memory 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 MCP Neo4j Memory,或回答中出现 MCP Neo4j Memory 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
NEO4J_DATABASE Neo4j 数据库名称 NEO4J_NAMESPACE 工具命名空间前缀 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 MCP Neo4j Memory 的密钥(在开发者网站创建) · 需要填写 2 项设置(NEO4J_URI, NEO4J_USERNAME) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server MCP Neo4j Memory,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "neo4j-memory": { "type": "stdio", "command": "uvx", "args": [ "mcp-neo4j-memory" ], "env": { "NEO4J_URI": "your-value", "NEO4J_USERNAME": "your-value", "NEO4J_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NEO4J_PASSWORD, NEO4J_URI, NEO4J_USERNAME 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Neo4j Memory 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
NEO4J_URI Neo4j 连接 URI NEO4J_USERNAME Neo4j 用户名 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 MCP Neo4j Memory 的设置中,NEO4J_PASSWORD, NEO4J_URI, NEO4J_USERNAME 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 MCP Neo4j Memory 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 MCP Neo4j Memory,或回答中出现 MCP Neo4j Memory 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
NEO4J_DATABASE Neo4j 数据库名称 NEO4J_NAMESPACE 工具命名空间前缀 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user neo4j-memory --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value -- uvx mcp-neo4j-memoryClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"neo4j-memory": {
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"neo4j-memory": {
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"neo4j-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value"
}
}
}
}NEO4J_URI 必填 envNEO4J_USERNAME 必填 envNEO4J_PASSWORD 机密 必填 envNEO4J_DATABASE envNEO4J_NAMESPACE env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 neo4j-contrib 验证,该账户拥有此仓库
代码最后更新于2个月前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 mcp-neo4j-memory@0.4.2 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/neo4j-contrib-mcp-neo4j-memory)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:NEO4J_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于2个月前,最新版本(1.0.0)于13个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| 本项 MCP Neo4j Memory | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 是 | 是 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
mcp-name: io.github.neo4j-contrib/mcp-neo4j-memory
A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration.
By storing information in a graph structure, this server maintains complex relationships between entities as memory nodes and enables long-term retention of knowledge that can be queried and analyzed across multiple conversations or sessions.
With Neo4j Aura you can host your own database server for free or share it with your collaborators. Otherwise you can run your own Neo4j server locally.
The MCP server leverages Neo4j's graph database capabilities to create an interconnected knowledge base that serves as an external memory system. Through Cypher queries, it allows exploration and retrieval of stored information, relationship analysis between different data points, and generation of insights from the accumulated knowledge. This memory can be further enhanced with Claude's capabilities.
Memory - A node representing an entity with a name, type, and observations.Relationship - A relationship between two entities with a type.Let's add some memories
I, Michael, living in Dresden, Germany work at Neo4j which is headquartered in Sweden with my colleagues Andreas (Cambridge, UK) and Oskar (Gothenburg, Sweden) I work in Product Management, Oskar in Engineering and Andreas in Developer Relations.
Results in Claude calling the create_entities and create_relations tools.
The server offers these core tools:
read_graphsearch_nodesquery (string): Search query matching names, types, observationsfind_nodesnames (array of strings): Entity names to retrievecreate_entitiesentities: Array of objects with:name (string): Name of the entitytype (string): Type of the entityobservations (array of strings): Initial observations about the entitydelete_entitiesentityNames (array of strings): Names of entities to deletecreate_relationsrelations: Array of objects with:source (string): Name of source entitytarget (string): Name of target entityrelationType (string): Type of relationdelete_relationsrelations: Array of objects with same schema as create_relationsadd_observationsobservations: Array of objects with:entityName (string): Entity to add tocontents (array of strings): Observations to adddelete_observationsdeletions: Array of objects with:entityName (string): Entity to delete fromobservations (array of strings): Observations to removepip install mcp-neo4j-memory
Add the server to your claude_desktop_config.json with configuration of:
"mcpServers": {
"neo4j": { "command": "uvx", "args": [ "mcp-neo4j-memory@0.4.5", "--db-url", "neo4j+s://xxxx.databases.neo4j.io", "--username", " ", "--password", " " ] } }
Alternatively, you can set environment variables:
"mcpServers": {
"neo4j": { "command": "uvx", "args": [ "mcp-neo4j-memory@0.4.5" ], "env": { "NEO4J_URL": "neo4j+s://xxxx.databases.neo4j.io", "NEO4J_USERNAME": " ", "NEO4J_PASSWORD": " " } } }
For multi-tenant deployments, add --namespace to prefix tool names:
"args": [ "mcp-neo4j-memory@0.4.5", "--namespace", "myapp", "--db-url", "..." ]
Tools become: myapp-read_graph, myapp-create_entities, etc.
Can also use NEO4J_NAMESPACE environment variable.
The server supports HTTP transport for web-based deployments and microservices:
# Basic HTTP mode (defaults: host=127.0.0.1, port=8000, path=/mcp/)
mcp-neo4j-memory --transport http
mcp-neo4j-memory --transport http --host 127.0.0.1 --port 8080 --path /mcp/
Environment variables for HTTP configuration:
export NEO4J_TRANSPORT=http
export NEO4J_MCP_SERVER_HOST=127.0.0.1 export NEO4J_MCP_SERVER_PORT=8080 export NEO4J_MCP_SERVER_PATH=/mcp/ export NEO4J_NAMESPACE=myapp mcp-neo4j-memory
The server supports three transport modes:
"mcpServers": {
"neo4j": { "command": "docker", "args": [ "run", "--rm", "-e", "NEO4J_URL=neo4j+s://xxxx.databases.neo4j.io", "-e", "NEO4J_USERNAME= ", "-e", "NEO4J_PASSWORD= ", "mcp/neo4j-memory:0.4.5" ] } }
The server includes comprehensive security protection with secure defaults that protect against common web-based attacks while preserving full MCP functionality when using HTTP transport.
TrustedHost Middleware validates Host headers to prevent DNS rebinding attacks:
Secure by Default:
localhost and 127.0.0.1 hosts are allowed by defaultEnvironment Variable:
export NEO4J_MCP_SERVER_ALLOWED_HOSTS="example.com,www.example.com"
Cross-Origin Resource Sharing (CORS) protection blocks browser-based requests by default:
Environment Variable:
export NEO4J_MCP_SERVER_ALLOW_ORIGINS="https://example.com,https://app.example.com"
Development Setup:
mcp-neo4j-memory --transport http \
--allowed-hosts "localhost,127.0.0.1" \ --allow-origins "http://localhost:3000"
Production Setup:
mcp-neo4j-memory --transport http \
--allowed-hosts "example.com,www.example.com" \ --allow-origins "https://example.com,https://app.example.com"
For `allow_origins`:
["https://example.com", "https://example.com"]"*" in production with credentialsFor `allowed_hosts`:
["example.com", "www.example.com"]"*" unless you understand the risksThe Neo4j Memory MCP server can be deployed using Docker for remote deployments. Docker deployment should use HTTP transport for web accessibility. In order to integrate this deployment with applications like Claude Desktop, you will have to use a proxy in your MCP configuration such as mcp-remote.
After building locally with docker build -t mcp-neo4j-memory:latest .:
# Run with http transport (default for Docker)
docker run --rm -p 8000:8000 \ -e NEO4J_URI="bolt://host.docker.internal:7687" \ -e NEO4J_USERNAME="neo4j" \ -e NEO4J_PASSWORD="password" \ -e NEO4J_DATABASE="neo4j" \ -e NEO4J_TRANSPORT="http" \ -e NEO4J_MCP_SERVER_HOST="0.0.0.0" \ -e NEO4J_MCP_SERVER_PORT="8000" \ -e NEO4J_MCP_SERVER_PATH="/mcp/" \ mcp/neo4j-memory:latest
docker run --rm -p 8000:8000 \ -e NEO4J_URI="bolt://host.docker.internal:7687" \ -e NEO4J_USERNAME="neo4j" \ -e NEO4J_PASSWORD="password" \ -e NEO4J_DATABASE="neo4j" \ -e NEO4J_TRANSPORT="http" \ -e NEO4J_MCP_SERVER_HOST="0.0.0.0" \ -e NEO4J_MCP_SERVER_PORT="8000" \ -e NEO4J_MCP_SERVER_PATH="/mcp/" \ -e NEO4J_MCP_SERVER_ALLOWED_HOSTS="example.com,www.example.com" \ -e NEO4J_MCP_SERVER_ALLOW_ORIGINS="https://example.com" \ mcp/neo4j-memory:latest
| Variable | Default | Description |
|---|---|---|
NEO4J_URI | bolt://localhost:7687 | Neo4j connection URI |
NEO4J_USERNAME | neo4j | Neo4j username |
NEO4J_PASSWORD | password | Neo4j password |
NEO4J_DATABASE | neo4j | Neo4j database name |
NEO4J_TRANSPORT | stdio (local), http (remote) | Transport protocol (stdio, http, or sse) |
NEO4J_MCP_SERVER_HOST | 127.0.0.1 (local) | Host to bind to |
NEO4J_MCP_SERVER_PORT | 8000 | Port for HTTP/SSE transport |
NEO4J_MCP_SERVER_PATH | /mcp/ | Path for accessing MCP server |
NEO4J_MCP_SERVER_ALLOW_ORIGINS | _(empty - secure by default)_ | Comma-separated list of allowed CORS origins |
NEO4J_MCP_SERVER_ALLOWED_HOSTS | localhost,127.0.0.1 | Comma-separated list of allowed hosts (DNS rebinding protection) |
NEO4J_NAMESPACE | _(empty - no prefix)_ | Namespace prefix for tool names (e.g., myapp-read_graph) |
When using SSE transport (for legacy web clients), the server exposes an HTTP endpoint:
# Start the server with SSE transport
docker run -d -p 8000:8000 \ -e NEO4J_URI="neo4j+s://demo.neo4jlabs.com" \ -e NEO4J_USERNAME="recommendations" \ -e NEO4J_PASSWORD="recommendations" \ -e NEO4J_DATABASE="neo4j" \ -e NEO4J_TRANSPORT="sse" \ -e NEO4J_MCP_SERVER_HOST="0.0.0.0" \ -e NEO4J_MCP_SERVER_PORT="8000" \ --name neo4j-memory-mcp-server \ mcp-neo4j-memory:latest
curl http://localhost:8000/sse
npx @modelcontextprotocol/inspector http://localhost:8000/sse
uv (Universal Virtualenv):# Using pip
pip install uv
brew install uv
cargo install uv
# Clone the repository
git clone https://github.com/yourusername/mc