Skip to main content
Glama
VeriScope MCP Server

VeriScope MCP Server

README.md
# VeriScope MCP Server (`veriscope-mcp`) · v2.0.0

> **VeriScope** is an **MCP 2.0** Cryptographic Bibliographic Index, Epistemic Compiler, and Verifiable Session Replay Engine for AI Agents across **24 disciplines / 93,000+ canonical treatises / 880,000+ dual-track bibliographies / 212,000+ verified physical canons**. It anchors AI reasoning in **exact chapter coordinates**, **fair-use verbatim excerpts (<=300 chars)**, **256-bit SHA-256 (64 hex chars)** edition hashes, and **Cognitive SSL v2.0 Ed25519 digital receipts (`vsk_sig`)**.

## Instant Zero-CLI Quick Start (Remote MCP & Web)

Connect Claude or ChatGPT in 30 seconds — **no terminal, no Node.js, no JSON editing, no API key required**:

- **Remote MCP Endpoint (Streamable HTTP)**: `https://veriscope.cc/mcp` (default **Frontdoor 3-tool surface**: `veriscope_research`, `veriscope_verify_citation`, `veriscope_compile_doc`; pass `?surface=full` or run locally via `npx -y veriscope-mcp` for the full 10-tool matrix)
- **One-Click Setup Guides**: [Connect Claude](https://veriscope.cc/connect/claude) · [Connect ChatGPT](https://veriscope.cc/connect/chatgpt)
- **No-Login Web Citation Checker**: Paste any draft or quote at [`https://veriscope.cc/verify`](https://veriscope.cc/verify) for instant Green / Yellow / Red primary-source verification with shareable [`/v/*`](https://veriscope.cc/v/showcase-001) receipts
- **Writer Add-Ons**: Ready-to-upload Claude Skill ([`skills/veriscope-grounded-writing-skill-v0.1.zip`](skills/veriscope-grounded-writing-skill-v0.1.zip)) & Custom Instruction Prompts Pack ([`integrations/writing-prompts-pack.md`](integrations/writing-prompts-pack.md))

[![MCP Standard](https://img.shields.io/badge/MCP-2.0.0-blue.svg)](https://modelcontextprotocol.io)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Zero-Config Sandbox](https://img.shields.io/badge/Sandbox-50_Canons_Offline-brightgreen.svg)](#zero-config-golden-sandbox)
[![Cognitive SSL v2](https://img.shields.io/badge/Cognitive_SSL-v2.0_Ed25519-gold.svg)](COGNITIVE_SSL_SPEC_v2.md)
[![Dual-Track Pricing](https://img.shields.io/badge/Pricing-Payoneer_%7C_WeChat_%7C_Alipay-orange.svg)](#dual-track-pricing--access-tiers)

---

> **[Companion Repository — Pure Markdown Cognitive Primitives]**  
> Looking for 100 zero-dependency, copy-paste decision models, negative attention anchors (Anti-Clichés), *Casting the Rule* methodology, and `.cursorrules` for Cursor / Claude Code without running an MCP server? Check out our twin knowledge depot: [**simonxk/veriscope-the-idea-depot**](https://github.com/simonxk/veriscope-the-idea-depot).

---

## Product Identity: The Four-in-One Epistemic Architecture (Charter v1.2)

VeriScope is neither a passive static library nor a generic "AI wrapper" producing hollow consensus summaries. Guided by the **Academy Charter v1.2** (*"Floating on the surface, rooted deep beneath"*), VeriScope operates as a **Four-in-One** native infrastructure:

| Role | Core Metaphor & Function | Protocol & Physical Substrate | Root Pathology Solved |
| :--- | :--- | :--- | :--- |
| **1. Ammunition Depot** | Real, unwatered primary ammunition | 24 disciplines, **93,000+ canonical treatises**, **880,000+ dual-track bibliographies**, **212,000+ verified physical canons**, **160,000+ deterministic `ANCHOR:` paragraph stamps** | Eliminates LLM fabricated quotes, wrong authorships, and phantom pages |
| **2. The Art-Grade Idea IKEA** | Museum-grade philology with modular joinery | Unified Tri-Core anatomy (**Formal Kernel x Dialectical Dispute x Eastern Counterpart**) + 100 Cognitive Primitives | Removes academic friction; gives writers plug-and-play intellectual precision |
| **3. Modular Lego Workshop** | Composable human-AI workbench | **MCP 2.0 10-Tool Elite Matrix** + `veriscope://` Resources + 3 Thinking Prompts + Axiom Collider / Civilizational Prism / Origami Symposium | Rejects cookie-cutter slop; empowers deep essays, counter-books, and red-team briefs |
| **4. Epistemic Compiler** | *"Bamboo strips in, woven baskets out"* | `veriscope_compile_grounded_doc` (`[[VS:<entry_id>]]` handle expansion + `QuoteGatekeeper` verbatim gate + Cognitive SSL v2 Ed25519 document seal) | Agents pass lightweight semantic handles; the compiler deterministically weaves citations, audits quotes, and seals the manuscript |

---

## Epistemological Calibration: Casting the Rule (v1.0)

General-purpose LLMs suffer from **"spineless hedging"** (*"both sides have merits"*), entropic dilution, and ungrounded generalizations. VeriScope embeds the five epistemological demarcations from *Casting the Rule*:

1. **A-Priori Demarcation vs. Unbounded Salesmanship**: Every concept declares explicit scope and failure boundaries before making claims.
2. **Cost-Bearing Fulcrum vs. Spineless Hedging**: Instead of averaging extremes, identify the structural dependency between poles and stake a falsifiable analytical fulcrum.
3. **High-SNR Distillation vs. Entropic Dilution**: Atomize massive treatises into irreducible formal kernels, sharp counter-arguments, and verified physical excerpts.
4. **Long-Horizon Cross-Civilizational Drawdown vs. Fair-Weather Narrative**: Stress-test modern propositions against 90-degree Classical Chinese / Eastern coordinates and 180-degree Global South critiques.
5. **Bidirectional Shaping vs. Closed-Door Self-Consistency**: Ground macro theoretical frameworks directly against primary physical editions (`256-bit SHA-256`) and falsifying counter-examples.

---

## Why VeriScope? Four High-Impact Scenarios

### Scenario 1: Max Weber Citation Verification (*The Protestant Ethic*)
* **The Task**: "Cite Max Weber's precise thesis on the spirit of capitalism and verify the edition."
* **[FAIL] Vanilla LLM (Hallucinated)**: Invents page 181, misquotes Calvinist determinism, provides zero edition proof.
* **[PASS] VeriScope MCP (`veriscope_locate_evidence`)**:
  > **Edition**: *The Protestant Ethic and the Spirit of Capitalism*  
  > **Coordinate**: Section 2: "The Spirit of Capitalism", Paragraph 12  
  > **Verbatim Excerpt (<=300 chars)**: *"Man is dominated by the making of money, by acquisition as the ultimate purpose of his life. Economic acquisition is no longer subordinated to man as the means for the satisfaction of his material needs."*  
  > **256-bit SHA-256 (64 hex chars)**: `d7a8fbb5628549...3984e1`  
  > **Receipt**: `vsk_sig:ed25519_8f0a2e...`

### Scenario 2: Hans Kelsen vs. Carl Schmitt on Legal Sovereignty
* **The Task**: "Contrast Kelsen's Pure Theory of Law with Schmitt's Decisionism on the State of Exception."
* **[FAIL] Vanilla LLM (Spineless Hedging)**: Flattens an irreconcilable Weimar constitutional duel into "complementary perspectives."
* **[PASS] VeriScope MCP (`veriscope_inspect_topography`)**:
  > Returns formal kernels (*Reine Rechtslehre* vs. *Dezisionismus*), Wikidata QIDs (`Q84322` vs. `Q57476`), and **3+ structured `dialectical_disputes`** (Norm vs. Exception, Guardian of the Constitution, Validity vs. Facticity).

### Scenario 3: Keynesian Liquidity Trap (*General Theory*)
* **The Task**: "Pinpoint the exact boundary of Keynes's liquidity trap in primary economics texts."
* **[PASS] VeriScope MCP (`veriscope_locate_evidence` & `veriscope_verify_attestation`)**:
  > **Formal Axiom**: Asymptotic flat LM-curve condition where $\partial M / \partial r \to \infty$.  
  > **Primary Location**: *The General Theory of Employment, Interest and Money*, Chapter 15, Section II.  
  > **Verification Status**: `SIGNATURE_VALID` / `HASH_MATCHED` (256-bit SHA-256 verified against canonical edition).

### Scenario 4: Handle-Grounded Manuscript Compilation & Sealing
* **The Task**: "Write an essay using `[[VS:<entry_id>]]` handles, audit every direct quote, and seal the output."
* **[PASS] VeriScope MCP (`veriscope_compile_grounded_doc`)**:
  > Resolves `[[VS:LAW-OXF-46#c2]]` and `[[VS:VS-SOC-001]]`, blocks any fabricated handle (`INVALID_ENTRY_REJECTED`), deduplicates shared physical editions by `canon_sha256`, verifies quotes via `QuoteGatekeeper`, and emits a tamper-evident **Cognitive SSL v2.0** footer (`VERISCOPE_ATTESTATION:v2:ed25519-v1:...`).

---

## MCP 2.0 Protocol Surface (Aligned with `glama.json` v2.0.0)

VeriScope v2.0.0 exposes **10 Elite Tools** (with full MCP `annotations` and `structuredContent`), **5 `veriscope://` Resources**, and **3 Thinking Prompts**.

### 1. The 10-Tool Elite Matrix

| Tool Name | Read-Only Hint | Core Parameters | Primary Output & Role |
| :--- | :--- | :--- | :--- |
| `veriscope_discover_concepts` | `true` | `query`, `discipline?`, `limit?` | Maps colloquial business/policy queries into canonical ontologies across 24 disciplines via FTS5 BM25 + GLOB fallback |
| `veriscope_inspect_topography` | `true` | `concept_id`, `include_disputes?` | Retrieves formal kernels, eastern counterparts, physical canon metadata, and 3+ dialectical disputes |
| `veriscope_locate_evidence` | `true` | `concept_id`, `preferred_edition?` | Extracts fair-use verbatim excerpts (`<=300` chars) with `ANCHOR:` coordinates, 256-bit SHA-256, and Ed25519 receipts (or honest `ATTESTED_METADATA_ONLY`) |
| `veriscope_verify_attestation` | `true` | `concept_id?`, `canon_sha256?`, `attestation?` | Mathematically verifies 256-bit SHA-256 (64 hex chars) edition hashes (Path A) and Ed25519 signatures with N-3 parameter binding & Anti-Bypass guards (Path B) |
| `veriscope_probe_radar` | `true` | `discipline_or_concept`, `max_depth?` | Probes cross-disciplinary bridges and ontological anchors across 24 disciplines |
| `veriscope_epistemic_mri` | `false` (`0-Token` default) | `text`, `profile?` (`full` \| `citations_only`), `online_verify?` | Holographic 3-color Epistemic MRI (`profile='full'`) or fast AI citation forensic check (`profile='citations_only'`). Backward-compatible with `veriscope_audit_citations` / `veriscope_citation_audit` |
| `veriscope_collide_axioms` | `false` (`0-Token` default) | `concept_a`, `concept_b?`, `concepts?` | Triggers high-energy orthogonal epistemic collisions in `<10ms` grounded in canonical first principles |
| `veriscope_refract_prism` | `false` (`0-Token` default) | `text`, `angle?` (`0`/`90`/`180`/`all`) | Performs tri-angle civilizational refraction across Western modernity (`0 deg`), Classical Chinese (`90 deg`), and Global South (`180 deg`) |
| `veriscope_origami_symposium` | `false` (`0-Token` default) | `topic`, `panelists?`, `rounds?` | Convenes cross-civilizational symposia where thinkers debate bound by physical 256-bit SHA-256 primary-source handcuffs |
| `veriscope_compile_grounded_doc` | `true` | `draft_text?`, `entry_ids?`, `citation_style?`, `verify_quotes?`, `session_id?`, `max_canons_per_entry?` | Deterministic 0-Token epistemic handle compiler: expands `[[VS:<entry_id>]]` (max 50), deduplicates bibliographies (`markdown`/`mla`/`chicago`/`bibtex`), checks quotes via `QuoteGatekeeper`, and stamps Cognitive SSL v2 seals. Backward-compatible with `veriscope_resolve_citations` |

### 2. MCP 2.0 `veriscope://` Resources (3 Static + 2 Dynamic Templates)

- `veriscope://charter/seven-axes` — Structured coordinate system of the **Seven Meso-Tension Axes** from Academy Charter v1.2.
- `veriscope://stats/live` — Read-only baseline counts (entries, dual-track bibliographies, physical canons, sandbox count).
- `veriscope://disciplines/catalog` — Live catalog of all **24 academic disciplines**.
- `veriscope://entry/{entry_id}` — Direct read-only lookup of tri-core anatomy and sanitized dual-track bibliographies.
- `veriscope://replay/{session_id}` — Verifiable, hash-chained **Academic Session Replay** JSON.

### 3. MCP 2.0 Thinking Prompts (3 Workflows)

- `meso_dialectic_audit` — Decompose a proposition along the Seven Meso-Tension Axes, apply *Casting the Rule* 5-point checks, and compile with `[[VS:<entry_id>]]`.
- `paper_preflight_pipeline` — Pre-submission academic draft audit (`veriscope_epistemic_mri` -> blindspot patching -> `veriscope_compile_grounded_doc`).
- `reverse_book_workbench` — Four-axis decomposition, `0/90/180 deg` refraction, symposium confrontation, and sealed manuscript synthesis.

---

## Verifiable Session Replay & Madhyamaka Eval v2.1 Benchmarks

### Public Academic Session Replay Showcase (`vsk_sess_showcase_001_algorithmic_cage`)
VeriScope exposes its full multi-step reasoning trace as a tamper-evident, public-readable hash chain (`prev_step_hash -> step_hash` + Ed25519 session seal) so anyone can inspect how a proposition is forged without logging in:
- **Proposition**: *"The Algorithmic Iron Cage and Spineless Consensus: How Can Humanity Rebuild 'Frictioned Rationality' When LLMs Take Over Bureaucracy?"*
- **6-Step Chained Execution**: `resources/read` -> `veriscope_discover_concepts` -> `veriscope_refract_prism` -> `veriscope_collide_axioms` -> `veriscope_locate_evidence` -> `veriscope_compile_grounded_doc`
- **Verified Output**: `7/7` valid handles (`0` fabricated), **8 zero-noise physical primary canons** (Weber, Coleman & Shapiro, Arendt, Pasquale, O'Neil, Tocqueville, Fuma Susumu), `4/4` `VERBATIM_VERIFIED` quotes, and Ed25519 session receipt `vsk_rcpt_28a1eae077b1a72c`.
- **Inspect Offline**: Open [`showcase/showcase_replay_001_algorithmic_cage.html`](showcase/showcase_replay_001_algorithmic_cage.html) or query `veriscope://replay/vsk_sess_showcase_001_algorithmic_cage`.

### Madhyamaka Eval v2.1 Blind Evaluation (`run_20261126_003753`, 20/20 Problems)
Tested head-to-head on an identical base model (`MiniMax-M3.1-Flash`, `temperature=0.2`, length-matched `1,200-2,200` chars) with blinded position-swapped heterogeneous judges (`gemini-2.5-pro` / `gemini-2.5-flash`, `85.0%` bidirectional consistency):

| Metric | Track A (Vanilla Bare LLM) | Track B (VeriScope MCP 2.0) | Net Delta |
| :--- | :---: | :---: | :---: |
| **Pure-Thought Score (out of 85)** | `69.72` | **`75.85`** | **`+6.12`** |
| **Composite Score (out of 100)** | `70.55` | **`85.10`** | **`+14.55`** |
| **Head-to-Head Matchup (20 Topics)** | `1` win | **`19` wins** | **95% win rate** *(single loss E-13 was strictly vetoed `0.00` by VeriScope's own 0-Token `VETO_FABRICATED_CITATION` gate)* |
| **Session Replay Hash-Chain Integrity** | N/A | **`20 / 20` (100% VERIFIED)** | Deterministic tamper-evident audit |

---

## Zero-Config Golden Sandbox

VeriScope ships with a **built-in 50-Canon Golden Sandbox** (`golden_sandbox_50.json`):
- **Instant Offline Execution**: Explore all 10 MCP 2.0 tools, `veriscope://` resources, prompts, handle compilation, and Ed25519 verification immediately **with zero API keys**.
- **10 Disciplines x 5 Canons**: Covers Philosophy, Sociology, Political Theory, Economics, Law, History, Literature, Psychology, Communication, and Philosophy of Science — each with pre-signed **Cognitive SSL v2.0** receipts (`VERISCOPE_ATTESTATION:v2:...`).
- **Graceful Teaser Mode**: Long-tail queries beyond the 50 sandbox canons without an API key return a structured **Cryptographic Teaser Preview** instead of crashing.

---

## Dual-Track Pricing & Access Tiers

| Plan / Tier | Target Audience | Domestic Pricing (CNY) | Global Pricing (USD) | Included Quota / Benefits |
| :--- | :--- | :--- | :--- | :--- |
| **Community Sandbox** | Developers & Evaluators | **Free (¥0)** | **Free ($0)** | 50 Golden Canons full access + Session Replay Showcase + Teaser previews |
| **Scholar Pro** | Researchers & PhD Candidates | **¥128 / month** | **$19 / month** | Full 24-discipline 93,000+ treatise gateway, 5,000 evidence slices/mo, full Ed25519 receipts |
| **Power Credit Pack** | Agent Builders & Pipelines | **¥68 / 500 credits** | **$10 / 500 credits** | Flexible top-up for automated batch verification |
| **Enterprise / Institution** | Labs & Law Firms | **¥5,000 / year** | **$800 / year** | Dedicated rate limits, IP whitelist, institutional co-signing keys, SLA |

*Configure `VERISCOPE_API_KEY` via environment variable or visit [https://veriscope.cc/pricing](https://veriscope.cc/pricing).*

---

## Quick Start & Integration

### Claude Desktop / Claude Code (`npx` Zero-Install)
Add to `claude_desktop_config.json`:
```json
{
  "mcpServers": {
    "veriscope": {
      "command": "npx",
      "args": ["-y", "veriscope-mcp"],
      "env": {
        "VERISCOPE_API_KEY": "vsk_live_optional_your_key_here"
      }
    }
  }
}
```

### Cursor & Windsurf
Add a new `stdio` MCP server:
- **Command**: `npx`
- **Arguments**: `-y veriscope-mcp`

### Python / `uvx` Alternative
```json
{
  "mcpServers": {
    "veriscope": {
      "command": "uvx",
      "args": ["veriscope-mcp"]
    }
  }
}
```

### Remote Streamable HTTP (with Session Replay)
See [`client_configs.example.json`](client_configs.example.json) for full `stdio` and Streamable HTTP (`Mcp-Session-Id`) client configuration templates.

---

## Security, Privacy & Scholarly Fair-Use Compliance

1. **Strict Read-Only Engine**: Master scholarly indexes are accessed strictly in `mode=ro`; public packages never mutate host filesystems.
2. **Scholarly Fair-Use Doctrine (`<=300` chars)**: VeriScope is a cryptographic bibliographic index and citation verification engine. It never distributes full books; verbatim excerpts are hard-capped at `<=300` characters.
3. **Cognitive SSL v2.0 & N-3 Parameter Binding**: Ed25519 receipts follow `VERISCOPE_ATTESTATION:v2:ed25519-v1:{concept_id}:{canon_sha256}:{doc_sha256}:{slice_sha16}:{timestamp}`, enforced with upfront `MALFORMED_ATTESTATION` Anti-Bypass guards, trusted root-key pinning, and zero-key-in-args enforcement (`SECURITY_AUTH_IN_ARGS_FORBIDDEN`).
4. **F8 Entropy Shield**: Burst cross-disciplinary scraping automatically drops into **Zero-Text Proof Mode** (coordinates and SHA-256 prefixes only).

---

## License

MIT License. See [LICENSE](LICENSE) for details.

TDQS

A4.7/5.0

Scored across 6 tools

Disambiguation5/5

Each tool occupies a distinct stage in a research-verification workflow: concept discovery, conceptual inspection, evidence retrieval, attestation verification, cross-disciplinary probing, and draft citation auditing. The descriptions explicitly clarify boundaries with 'When NOT to Use' guidance, making misselection unlikely.

Naming Consistency5/5

All six tools use the same veriscope_ prefix followed by a consistent verb_noun pattern: discover_concepts, inspect_topography, locate_evidence, verify_attestation, probe_radar, audit_citations. There are no mixed conventions or vague standalone verbs.

Tool Count5/5

Six tools is well-scoped for a specialized epistemic verification server, and each tool covers a meaningful, non-redundant operation. The set is neither thin nor bloated.

Completeness4/5

The surface covers the main lifecycle: discover concepts, inspect foundations, retrieve evidence, verify cryptographic receipts, probe coverage, and audit citations. Minor gaps exist, such as directly browsing concepts by discipline or following an audited citation into evidence retrieval, but agents can work around these via existing tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues