1. Conduid
  2. Other
  3. Context Chain
MCP server · Other

Context Chain

Unclaimed other
30Low

Scored 7 months ago · breakdown

About Context Chain

Context Chain is an MCP server in the Other category.

Install

From source
git clone https://github.com/Tommylilinfeng/context-chain

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Context Chain

Powered by Claude · Grounded in docs

I know everything about Context Chain. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

context-chain

Lightweight code knowledge graph for TypeScript / JavaScript, with design-decision capture via Claude Code hooks. Tree-sitter + SQLite, no LLM calls at runtime.

Install

git clone <repo> context-chain
cd context-chain
npm install       # auto-builds via the prepare hook
npm link          # or: npm install -g .
npm run verify    # optional — runs seven verify scripts, all should print OK

Usage

Index a project

cd /path/to/your/ts-project
context-chain index .
context-chain stats

Creates .ctx/graph.db at the project root. Re-running index rebuilds fully (no incremental).

Claude Code integration

Copy .mcp.json.example to a project as .mcp.json (Claude Code picks it up automatically when you open that project), or merge the hooks + MCP block into ~/.claude/settings.json for a user-wide setup. Both absolute paths — the dist/src/mcp.js binary and the project you indexed — must be edited.

Full hook list, output format, and flow walkthrough: doc/consumption.md.

MCP exposes three tools (record_decisions, decisions_by_keyword, reset_decision_cache). Each tool's description is self-explanatory in-client; see doc/mcp.md for background.

Architecture

Seven layers. Each has a plan doc under doc/plan-*.md with scope, decisions, and verify scenarios:

storage → extract → resolve → pipeline → decisions → mcp → consumption

Working principles: CLAUDE.md.

scope

  • TypeScript / JavaScript only
  • Full rebuild per index run
  • Call resolution: named imports + same-module only. Member chains (obj.method()), default / namespace imports, and barrel re-exports are explicitly unresolved — see doc/plan-resolve.md
  • Decisions are alerts for what grep cannot find — not documentation, TODOs, or bug notes

License

Apache-2.0

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Context Chain

How do I install Context Chain?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Context Chain safe to use with an AI agent?

Its trust score is 30 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Context Chain still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.