
你的个人知识,MCP引擎。最新,本地优先,低幻觉。
概览
最新 · 局部优先 · 低幻觉 https://github.com/user-attachments/assets/553ab8a2-5227-42fa-a8bd-692cd13c0b96 - 🎯 最新知识:实时知识同步,减少AI代理幻觉。- 🔐 本地优先:完全开源并部署在自有服务器上,安全访问您的私人知识。- ⚙️ 易用的Web界面:通过Context9面板轻松管理仓库和API密钥权限。 是一个MCP(模型上下文协议)服务器。通过本地部署,Context9 安全地向代理提供最新的文档,减少大型语言模型的幻觉。 或者你也可以指定 Context9 运行的端口。 请访问 http:// :8011/ 登录 Context9 - 默认用户名:ctx9-admin- 默认密码:88888888 记得第一次登录Context9时要更改默认密码。
概述(AI 翻译)
最新 · 局部优先 · 低幻觉
X ·Discord ·问题
https://github.com/user-attachments/assets/553ab8a2-5227-42fa-a8bd-692cd13c0b96
为什么是Context9?
- 🎯 最新知识:实时知识同步,减少人工智能智能体的幻觉。
- 🔐 本地优先:完全开源并部署在您自己的服务器上,安全访问您的私人知识。
- ⚙️ 易用的 Web UI:通过 Context9 面板轻松管理仓库和 API 密钥权限。
Context9 实际做的事情
Context9(上下文挖掘) 是一个 MCP(模型上下文协议)服务器。通过本地部署,Context9 安全地向代理提供最新文档,减少大型语言模型的幻觉。
安装上下文9
运行Context9服务器
或者你也可以指定 Context9 运行的端口。
配置上下文9
登录Context9
访问 http:// :8011/ 登录 Context9
- 默认用户名:
ctx9-admin - 默认密码:
88888888
记得第一次登录Context9时要更改默认密码。
添加仓库
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Context9 - Bring Live Doc into Your Agent Context
https://github.com/user-attachments/assets/553ab8a2-5227-42fa-a8bd-692cd13c0b96
Why Context9?
- 🎯 Up-to-date knowledge: Real-time knowledge synchronization and reduce AI agent hallucinations.
- 🔐 Local-first: Fully open sourced and deploy on your own server, safely access your private knowledge.
- ⚙️ Easy-to-use Web UI: Easily manage your repositories and API-key permissions through the Context9 Panel.
What Context9 Actually Does
Context9 (Context Mine) is an MCP (Model Context Protocol) server. With local deployment, Context9 securely feeds agents with the most up-to-date documentation, reducing LLM hallucinations.
Install Context9
Run Context9 server
docker run -d \
--name context9 \
-p 8011:8011 \
--restart unless-stopped \
ghcr.io/prism-shadow/context9:latest \
python -m context9.server --github_sync_interval 600
Or you can specify the port on which Context9 runs.
docker run -d \
--name context9 \
-e CONTEXT9_PORT= \
-p : \
--restart unless-stopped \
ghcr.io/prism-shadow/context9:latest \
python -m context9.server --github_sync_interval 600
Configure Context9
Login to Context9
Visit http://:8011/ to login to Context9
- Default username:
ctx9-admin - Default password:
88888888
Remember to change the default password when you first log in to Context9.
Add repositories
Add the repositories you need in Context9 by filling in the repository owner, repository name, and branch.
- For private repositories, you also need to provide a GitHub Token
Export & Import Repos using the Context9 template
- Export Repos: You can click the
Export Reposbutton to export the current repository configuration as a local template, making it easy to reuse later.
安装
docker run -d \配置
{
"mcpServers": {
"Context9": {
"url": "http://<server_ip>:8011/api/mcp/",
"headers": {
"Authorization": "Bearer <CTX9_API_KEY>"
}
}
}
}