PS

prism-shadow/context9

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

31 stars 2 forks 品質 72 トレンド 11Apache-2.0

Your personal knowledge MCP engine. Up-to-date, local-first, low-hallucination.

概要

Up-to-date · Local-first · Low-hallucination https://github.com/user-attachments/assets/553ab8a2-5227-42fa-a8bd-692cd13c0b96 - 🎯 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. is an MCP (Model Context Protocol) server. With local deployment, Context9 securely feeds agents with the most up-to-date documentation, reducing LLM hallucinations. Or you can specify the port on which Context9 runs. 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.

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 Repos button to export the current repository configuration as a local template, making it easy to reuse later.
GitHub で README 全文を見る

インストール

docker run -d \
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "Context9": { "url": "http://<server_ip>:8011/api/mcp/", "headers": { "Authorization": "Bearer <CTX9_API_KEY>" } } } }