corpuskit
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@corpuskitsearch docs for rate limiter design"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
corpuskit
Config-driven knowledge corpus runtime + compression orchestration for AI coding agents — multi-agent via MCP, zero-config on any docs folder.
It turns a folder of markdown into a searchable, constraint-aware institutional memory your agent can query (instead of re-deriving from scratch), and orchestrates external token-compression tools. Generalized from a working Claude-Code system; a project is just one corpus.yaml.
What you get
Manifest + FTS5 search over full document bodies (SQLite, stdlib — no embeddings/torch needed). Query with BM25.
Machine-readable constraints —
@constraint TYPE | target= | rule= | adr= | severity=lines in your decision/ADR docs, queryable by component.MCP server exposing
kr_search/kr_constraints(names/descriptions configurable) — works with any MCP-capable agent (Claude Code, Cursor, …).Agent install — idempotent registration of the MCP server + write-back (SessionEnd) + constraint-injection (UserPromptSubmit) hooks.
Compression orchestration — discover/install/lifecycle/health over external RTK (shell-output) + Headroom (transport proxy), used AS-IS (never vendored).
Related MCP server: Sentinel Core Agent
Install
pip install corpuskit # core (CLI + manifest/index/constraints)
pip install "corpuskit[mcp]" # + MCP server
pip install "corpuskit[all]"
# until published: pip install git+https://github.com/SupaKang/corpuskitQuickstart (zero-config)
cd my-docs/ # any folder of *.md
corpus index build # project_key = top-level dirname; full-body FTS5 index
corpus index query "rate limiter design"
corpus constraints --component payments-apiNo corpus.yaml needed — defaults to auto_layout + dirname keys + standard YAML/bulleted frontmatter.
Config (corpus.yaml) — opt in when you need it
knowledge:
keyed_roots: { specs: spec, decisions: decision } # relpath -> doc_type (key = subdir)
flat_roots: { daily: daily }
frontmatter: { style: auto, fields: { project: [project], status: [status] } }
constraints: { decisions_root: decisions }
agent: { type: claude-code } # claude-code (MCP+hooks) | cursor (MCP) | standalone | cline/mcp-json
compression: { enabled: false }corpus init scaffolds one. See examples/overmind.yaml for a full localized (Korean) instance.
Agent integration
corpus install --agent claude-code # idempotent: MCP + SessionEnd + UserPromptSubmit (backs up settings.json)
corpus status --agent claude-code
corpus uninstall --agent claude-codeRestart your agent; it gains kr_search / kr_constraints tools, auto-injected active constraints, and self-updating index on session end.
Compression
corpus compression install # ensure RTK + Headroom present
corpus compression start # launch Headroom proxy, print ANTHROPIC_BASE_URL
corpus compression health # versions, native-Windows degradation, portCLI
corpus init | index build|query | constraints | serve-mcp | install|uninstall|status | compression … | doctor
License
Apache-2.0 (this code). External tools RTK and Headroom are separate Apache-2.0 projects, used as-is — see THIRD_PARTY.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Knowledge Network for AI Agents and creators: Search, rate, and review programming guides via MCP
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search code by meaning, explore codebase structure, store and query knowledge with temporal facts, and read source code through a set of MCP tools.267 npm7MIT
- FlicenseNot gradedqualityDmaintenanceEnables file system operations, web scraping, and AI-powered search through MCP tools for use by LLM agents.1-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, read, and traverse documentation bundles in Open Knowledge Format via MCP tools.233 npm72MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to semantically search and retrieve relevant code patterns, documentation, and implementations from a codebase via MCP tools.8MIT