# KnowledgeRail (npm · knowledge-rail)

Persistent, evidence-backed project knowledge and task context for coding agents.

- Trust score: 91/100 (high trust)
- Change this week: 0
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-21

## Components

- npm · `knowledge-rail`: 91/100 (this document), [markdown](https://verifymcp.io/servers/deviank88-knowledge-rail/knowledge-rail.md), [page](https://verifymcp.io/servers/deviank88-knowledge-rail/knowledge-rail)

## Channel facts

- Registry: `npm`
- Package: `knowledge-rail`
- Version: `2.8.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-21.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 24 of 63 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 100/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to Deviank88/KnowledgeRail).
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 13 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 65/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (fair).
  - Context-footprint check failed: tool/resource definitions use about 1731 tokens (~173/item across 10 items; 8 tools + 2 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 100/100
  - No destabilizing schema changes in the last 30 days.
- **Tool Coverage**: 75/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 11% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 10 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the KnowledgeRail MCP server?

KnowledgeRail runs locally as an npm package, launched with npx -y knowledge-rail. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add deviank88-knowledge-rail -- npx -y knowledge-rail
```

### Cursor

```json
{
  "mcpServers": {
    "deviank88-knowledge-rail": {
      "command": "npx",
      "args": [
        "-y",
        "knowledge-rail"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "deviank88-knowledge-rail": {
      "command": "npx",
      "args": [
        "-y",
        "knowledge-rail"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add deviank88-knowledge-rail -- npx -y knowledge-rail
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "deviank88-knowledge-rail": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "knowledge-rail"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add deviank88-knowledge-rail --command npx --arg -y --arg knowledge-rail
```

### Hermes

```yaml
mcp_servers:
  deviank88-knowledge-rail:
    command: "npx"
    args: ["-y", "knowledge-rail"]
```

### Netclaw

```json
{
  "McpServers": {
    "deviank88-knowledge-rail": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "knowledge-rail"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add deviank88-knowledge-rail -t stdio -c npx -a -y knowledge-rail
```

### Other

```json
{
  "mcpServers": {
    "deviank88-knowledge-rail": {
      "command": "npx",
      "args": [
        "-y",
        "knowledge-rail"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-21 (score 91, 0)

- [security] Stability: 0.97 → pass

### 2026-09-20 (score 91, +1)

No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-19 (score 90, −1)

- [functional] Stability: pass → 0.93

### 2026-09-15 (score 91, 0)

- [security] Stability: 0.97 → pass

### 2026-09-14 (score 91, +1)

No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-12 (score 90, +1)

No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-10 (score 89, +1)

No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-08 (score 88, +16)

- [security improvement] Malware scan: unverified → pass

## MCP tools (8)

### `knowledge_context` (~148 tokens)

Evidence/gaps, pages, search, and graph.

Input parameters:

- `changed_paths` (array)
- `heuristic_token_budget` (integer)
- `intent` (string)
- `max_depth` (integer)
- `max_evidence` (integer)
- `max_nodes` (integer)
- `max_results` (integer)
- `mode` (string): task=evidence/gaps;list=pages;search=passages;graph=relations/dependencies.
- `objective` (string)
- `page_types` (array)
- `query` (string)
- `response_detail` (string)
- `retrieval_profile` (string)
- `view` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_page` (~145 tokens)

Page CRUD and durable log.

Input parameters:

- `action` (string, required): read=open;write=create;edit=replace;move=rename;delete=remove;append_log=event.
- `content` (string)
- `dry_run` (boolean)
- `entry` (string)
- `level` (string)
- `max_chars` (integer)
- `new_path` (string)
- `new_string` (string)
- `old_path` (string)
- `old_string` (string)
- `path` (string): Wiki .md path; wiki/ maps to root.
- `replace_all` (boolean)
- `resource_uri` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_files` (~75 tokens)

Controlled source files and PDFs: list, read, normalize to Markdown.

Input parameters:

- `action` (string): list=sources;read=open;normalize=Markdown.
- `category` (string)
- `max_chars` (integer)
- `overwrite` (boolean)
- `path` (string)
- `pattern` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_ingest` (~240 tokens)

Source ingestion, claims, coverage, recovery.

Input parameters:

- `action` (string, required): start=begin;next=read segment;apply_claims=integrate;record_segment=classify;source_status=coverage;evidence_status=debt;report=drafts.
- `claim_ids` (array)
- `claims` (array): target:page_path,page_title,page_type;code_resource_uri=knowledge_code URI. Stakeholders:entity_key,role,organization,email_domain,affiliation.
- `evidence_refs` (array)
- `include_resolved` (boolean)
- `max_chars` (integer)
- `normalized_filename` (string)
- `page_refs` (array)
- `reason` (string)
- `recovery_event_id` (string)
- `recovery_events` (array)
- `recovery_page_refs` (array)
- `recovery_reason` (string)
- `recovery_resolution` (string)
- `report_filename` (string)
- `segment_id` (string)
- `segment_max_chars` (integer)
- `segment_status` (string)
- `total_evidence_used` (integer)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_code` (~177 tokens)

Code index, symbols, callers, fallback.

Input parameters:

- `action` (string, required): rebuild=recreate;search=find;symbol=definition;references=callers;read=URI;record_fallback=raw lookup.
- `fallback_reason` (string): no_match|ambiguous|unresolved_import|unsupported_extension;else other
- `fallback_result_count` (integer)
- `fallback_result_paths` (array)
- `kinds` (array)
- `max_chars` (integer)
- `max_results` (integer)
- `path` (string)
- `path_prefixes` (array)
- `query` (string)
- `recovered_evidence` (array)
- `request_id` (string)
- `resource_uri` (string)
- `symbol` (string)
- `symbol_id` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_document_context` (~194 tokens)

Document plans and section evidence.

Input parameters:

- `action` (string, required): plan=design outline;section=collect evidence.
- `audience` (string)
- `diagram_mode` (string)
- `document_type` (string, required)
- `heuristic_token_budget` (integer)
- `language` (string)
- `max_chars_per_page` (integer)
- `max_output_chars` (integer)
- `max_pages` (integer)
- `max_sections` (integer)
- `max_total_chars` (integer)
- `objective` (string)
- `page_paths` (array)
- `page_types` (array)
- `preferred_evidence` (array)
- `project_name` (string)
- `query` (string)
- `required_evidence` (array)
- `required_sections` (array)
- `retrieval_profile` (string)
- `section_title` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_document` (~118 tokens)

Write or review evidence-backed documents.

Input parameters:

- `action` (string, required): write=save Markdown;review=delivery check.
- `client_facing` (boolean)
- `content` (string)
- `diagram_mode` (string)
- `document_type` (string, required)
- `filename` (string, required)
- `include_wiki_update_plan` (boolean)
- `language` (string)
- `overwrite` (boolean)
- `project_name` (string)
- `required_sections` (array)
- `title` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

### `knowledge_admin` (~185 tokens)

Initialize/inspect/rebuild, client setup, lint/repair, drift, and migration.

Input parameters:

- `action` (string, required): init=bootstrap;status=state;checkpoint=rebuild;client_setup=hooks;lint=validate links/repair;drift=anchors;migrate=upgrade.
- `backup` (boolean)
- `clients` (array)
- `dry_run` (boolean): lint: false applies repair.
- `force` (boolean): lint: repair nested wiki.
- `include_broken_links` (boolean)
- `include_missing` (boolean)
- `include_orphans` (boolean)
- `integrity_mode` (string)
- `migration_action` (string)
- `paths` (array)
- `run_id` (string)
- `scope` (string)
- `setup_mode` (string)
- `target_version` (string)

Output parameters:

- `guidance` (string)
- `nextAction` (object|null)
- `resultText` (string)
- `state` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/deviank88-knowledge-rail/knowledge-rail#diagnostics

## Score history

- 2026-09-21: 91
- 2026-09-20: 91
- 2026-09-19: 90
- 2026-09-18: 91
- 2026-09-17: 91
- 2026-09-16: 91
- 2026-09-15: 91
- 2026-09-14: 91
- 2026-09-13: 90
- 2026-09-12: 90
- 2026-09-11: 89
- 2026-09-10: 89
- 2026-09-09: 88
- 2026-09-08: 88
- 2026-09-07: 72
- 2026-09-06: 87
- 2026-09-05: 86
- 2026-09-04: 86
- 2026-09-03: 86
- 2026-09-02: 70
- 2026-09-01: 74
- 2026-08-31: 74
- 2026-08-30: 73
- 2026-08-29: 73
- 2026-08-28: 72
- 2026-08-27: 57
- 2026-08-26: 82
- 2026-08-25: 79
- 2026-08-24: 79
- 2026-08-23: 78

## Common questions

### What is the KnowledgeRail MCP server?

KnowledgeRail is an MCP server listed in the public MCP registry as io.github.Deviank88/knowledge-rail. Persistent, evidence-backed project knowledge and task context for coding agents. This page covers its npm package (knowledge-rail).

### Is the KnowledgeRail MCP server safe to use?

KnowledgeRail scores 91 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the KnowledgeRail MCP server expose?

KnowledgeRail exposes 8 tools: knowledge_context, knowledge_page, knowledge_files, knowledge_ingest, knowledge_code, and 3 more. Their descriptions and schemas cost roughly 1,282 tokens of context every time the server is loaded.

### Is the KnowledgeRail MCP server still maintained?

KnowledgeRail is still listed as active in the MCP registry. We last reached this channel on 21 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the KnowledgeRail MCP server under?

KnowledgeRail declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/knowledge-rail
- Socket report: https://socket.dev/npm/package/knowledge-rail
- Repository: https://github.com/Deviank88/KnowledgeRail
- Changelog RSS feed: https://verifymcp.io/servers/deviank88-knowledge-rail/knowledge-rail.xml
- Changelog JSON feed: https://verifymcp.io/servers/deviank88-knowledge-rail/knowledge-rail.json
- HTML version of this page: https://verifymcp.io/servers/deviank88-knowledge-rail/knowledge-rail
