org-wiki MCP Server
Reads a GitHub organization's repositories via gh auth to harvest APIs, data models, queues, CI workflows, and env var names; can publish the wiki repo and open onboarding PRs across repositories.
Optionally uses a local Ollama model to synthesize cited prose answers in ask, the Web UI, and wiki_ask.
Optionally uses OpenAI or OpenAI-compatible APIs to synthesize cited prose answers in ask, the Web UI, and wiki_ask.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
org-wiki
Turn a GitHub organization into a searchable engineering wiki that updates itself when pull requests merge.
Point org-wiki at your GitHub org using your existing gh auth login. It reads your repositories, builds a plain-Markdown wiki of your APIs, database tables, queues, CI runners, and env var names, indexes everything locally on your machine, and serves a Web UI plus an MCP server for Cursor and Claude Code.
No SaaS account. No cloud vector database. Secret values are never copied.
What you need
Python 3.10 or newer (
uvorpipxrecommended, plainpython3works too)gitgh(GitHub CLI, logged in withgh auth login) — or aGH_TOKENenvironment variable
Related MCP server: Snippy
Install
One-line install on Linux or macOS (installs both org-wiki and orgwiki commands):
curl -fsSL https://raw.githubusercontent.com/sharifli4/org-wiki/main/install.sh | bashOr install directly with uv / pipx:
uv tool install git+https://github.com/sharifli4/org-wiki.gitpipx install git+https://github.com/sharifli4/org-wiki.gitQuickstart (Browser Easy Mode)
Create an empty folder for your company's wiki and run org-wiki (or orgwiki):
mkdir acme-wiki && cd acme-wiki
org-wikiOpen http://127.0.0.1:8787.
org-wikidetects yourgh authsession and lists every GitHub organization (and personal account) you belong to.Pick your organization and check the repositories you want tracked.
Click Build & Index Wiki.
org-wiki shallow-clones default branches into a temporary folder, writes the Markdown catalogs, builds a local SQLite + ONNX semantic index, and opens the search and Q&A screen.
Quickstart (Terminal Mode)
If you prefer the command line over the browser wizard:
mkdir acme-wiki && cd acme-wiki
org-wiki init --org your-github-orgThen search or ask questions offline:
org-wiki search "billing_invoices"
org-wiki ask "Which service publishes invoice events and which table stores them?"Single-Box Docker Mode
Run the whole app inside one container (includes git, gh, and the pre-downloaded ONNX embedding model):
git clone https://github.com/sharifli4/org-wiki.git
cd org-wiki
GH_TOKEN="$(gh auth token)" docker compose up -dOpen http://127.0.0.1:8787. Everything is stored in ./wiki-data.
Connect Cursor & Claude Code (MCP)
Give your AI coding agent direct access to wiki_search, wiki_ask, wiki_read_doc, wiki_list_docs, and wiki_sync:
org-wiki mcp --install cursor
org-wiki mcp --install claude-codeOr click Connect IDE (MCP) in the top bar of the Web UI.
What gets created in your workspace
acme-wiki/
├── org-wiki.toml # Tracked org, excluded repos, domain groupings
├── INDEX.md # Entry table routing engineers & AI agents
├── 00-infra-and-access/ # Servers, runners, dashboards, open questions
├── 01-system-map/
│ ├── company-overview.md # Cross-repo topology map
│ └── repo-catalog.md # Auto-harvested active & archived GitHub repos
├── 02-runbooks/ # Step-by-step operational guides
├── 03-features/ # End-to-end feature mechanics
├── 04-decisions/ # Architecture Decision Records (ADRs)
├── 05-reference/ # Auto-harvested from code (never hand-edit)
│ ├── http-apis.md # NestJS, Express/Fastify, Next.js, FastAPI/Flask/Django, Go, Spring
│ ├── data-models.md # Prisma, TypeORM/MikroORM/Sequelize, SQLAlchemy/Django, GORM, SQL
│ ├── messaging-and-queues.md # Exchanges, queues, topics, cross-repo mismatches
│ ├── ci-workflows.md # GitHub Actions workflows & runs-on labels
│ └── env-vars.md # Variable names from .env.example (values stripped)
└── .github/workflows/sync-wiki.yml # Keeps the repo updated automatically on GitHubHow auto-sync works on GitHub
org-wiki uses a two-speed update model so factual catalogs never hallucinate and architecture prose stays reviewed by humans:
Publish the wiki repo to your GitHub org:
org-wiki publish-repoAdd
WIKI_ORG_TOKENon<org>/<wiki-repo>(read access to org repos + read/write contents and pull requests on<wiki-repo>), plus an org secretWIKI_DISPATCH_TOKENscoped to<wiki-repo>.Connect your product repositories (dry-run first, then
--applyto open onboarding PRs):org-wiki connect-repos org-wiki connect-repos --apply
Whenever a PR merges in a connected repository:
Job 1 (
harvest-to-main) deterministically re-harvests05-reference/*and01-system-map/repo-catalog.mdfrom GitHub default branches and commits straight tomain.Job 2 (
draft-feature-pr) reads the merged PR diff and opens a human-reviewed PR on<wiki-repo>only when feature mechanics, runbooks, system maps, or ADRs changed.
Commands
Both org-wiki and orgwiki run the same CLI:
Command | Description |
| Start Web UI on |
| Interactive or non-interactive workspace setup via |
| Offline hybrid search (ONNX |
| Cited Q&A (synthesizes prose when an LLM is configured, offline hits otherwise) |
| Re-harvest routes, tables, queues, workflows, and env var names from GitHub |
| Pull or re-harvest latest changes and incrementally update the local index |
| Build or rebuild the local SQLite + ONNX index |
| Run stdio MCP server or register it in your editor |
| Create |
| Open PRs across org repos installing merge webhooks & AI rules |
| Check Python, |
Optional AI answer synthesis
Search and MCP retrieval run 100% offline with zero API keys. If you also want synthesized prose answers with inline [path] citations in org-wiki ask, the Web UI, and wiki_ask, set any one of these in .env or your shell:
Anthropic:
ANTHROPIC_API_KEY=sk-ant-...OpenAI / compatible:
OPENAI_API_KEY=sk-...(optionalOPENAI_BASE_URL=...)Local Ollama:
OLLAMA_MODEL=llama3.2(optionalOLLAMA_HOST=http://127.0.0.1:11434)GitHub Models (reuses
gh auth):ORGWIKI_USE_GH_MODELS=1
Tests
python3 -m unittest discover -s tests -vLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A shared team wiki your coding agents read and write — across every repo and every MCP client.
Team docs served to AI agents over MCP - search, Markdown reads, version pinning, read audit.
Hosted markdown project wikis your team's AI assistants read, search, and update over MCP.
Self-hostable team wiki; agents read & write it via MCP; Atlas turns your repo into a cited wiki.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides coding agents with a shared, Markdown-based engineering knowledge base to search, capture, create, and update internal conventions, API details, infrastructure configs, and development setup via lightweight MCP tools.6-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to save and retrieve code snippets, run semantic vector search, generate language-specific style guides and wiki documentation, and orchestrate multi-agent documentation workflows through discoverable MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to save and retrieve code snippets, generate language-specific style guides, create wiki documentation, and orchestrate multi-agent documentation workflows through MCP tools backed by vector search.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to save, retrieve, and semantically search code snippets, generate code style guides and deep wiki documentation, and orchestrate multi-agent documentation workflows through MCP tools.-