Skip to main content
Glama
Vedha JSON MCP

Vedha JSON MCP

Vedha JSON MCP

A fixture-backed, read-only MCP plus Claude skills for discovering Vedha access patterns before connecting a production data backend.

Architecture

  • fixtures/mbr_review.json is the recipe: six fixed review steps and declared semantic reads.

  • The vedha_get_atlas_review MCP tool is the fact layer: it resolves recipe reads from JSON fixtures and returns evidence IDs.

  • skills/mbr-view/ is the judgment layer: it selects typed operations from Atomic Insight Library v4 and frames the review.

  • scripts/render-report.mjs is the deterministic presentation layer: it renders a validated review-object to HTML.

  • skills/business-map/ owns value-free Atlas orientation and semantic-model presentation.

Related MCP server: Amazon Ads Simulator MCP

Setup

Requires Node.js 20 or newer.

npm install
npm run build
npm test

Test as a local Claude Code plugin:

claude --plugin-dir .

Then ask Claude to run a scenario, for example:

/vedha-playground:analyze Run scenario T1: why is mid-market churning?

For an MBR demo:

1. Show me the business map.
2. Run my business review.
3. Show me the semantic model behind this. (Optional.)
4. Go ahead.

For Cowork, build the server first, then install this directory as a custom plugin in Claude Desktop. Local plugin MCP servers require the desktop application.

Boundaries

  • fixtures/ is source evidence and is read only through MCP tools.

  • skills/analyze/ owns scope routing, skills/business-map/ owns orientation, and skills/mbr-view/ owns the approval-gated MBR judgment flow. None contains business facts.

  • runs/ contains generated request.json, result.json, audit.json, and index.html.

  • The MCP accepts known canvas IDs and never accepts arbitrary filesystem paths.

MCP tools

  • vedha_list_contexts — the DataOrbit altitude/workflow/flow tree

  • vedha_get_semantic_model — value-free labels for entities, activities, goal metrics, dimensions, and input measures

  • vedha_get_review_plan — query-free MBR questions and semantic-model scope for human approval

  • vedha_get_canvas — one workflow's semantic model (revenue_accounting, cash_accounting, new_business, retention, expansion, churn_engine)

  • vedha_get_diagnosis — guardrails + a dimension breakdown, within one canvas (Thread scope)

  • vedha_get_atlas_review — deterministically executes the mbr_review recipe and returns resolved cross-canvas facts (Atlas scope)

  • vedha_get_audit — replay which canvases/route produced a prior result

MBR validation and rendering

npm run validate:review -- examples/mbr-review-object.json
npm run render -- examples/mbr-review-object.json runs/A1/index.html

schemas/review-object.schema.json defines the six-section MBR contract. schemas/atomic-insight.schema.json defines the supported v4 atom payloads, and scripts/lib/review-object.mjs enforces ordering and computation invariants before HTML is written.

Internal recipe section keys and Atomic Insight Library IDs remain in JSON for validation, but neither is rendered in user-facing HTML.

json-mcp

Available Tools

5 tools
vedha_get_atlas_reviewRun a Vedha Atlas review recipeA
Read-onlyIdempotent

Deterministically compose an Atlas-level review by walking a named recipe's steps, resolving each step's declared field reads against the named canvases. Use for cross-canvas/cross-altitude reviews (e.g. the Monthly Business Review). Fill each step's emits_template from the returned resolved values only — never invent a value not present in resolved.

Inputs: skill_id (required), step. Returns: object

vedha_get_auditGet result auditA
Read-onlyIdempotent

Explain which canvases and route produced a result returned earlier in this session.

Inputs: result_id (required). Returns: object

vedha_get_canvasGet a Vedha canvasA
Read-onlyIdempotent

Read one workflow's bounded semantic model (goal, drivers, inputs, guardrails, funnel, entities, dimensions). Optionally narrow to one dimension and value.

Inputs: canvas_id (required), value, dimension. Returns: object

vedha_get_diagnosisDiagnose within a Vedha canvasA
Read-onlyIdempotent

Return the guardrails and a dimension breakdown for one canvas, to support a causal 'why' question. Thread-scoped: stays inside one canvas. Never use it for cross-canvas questions — escalate to vedha_get_atlas_review instead.

Inputs: canvas_id (required), dimension (required), value. Returns: object

vedha_list_contextsList Vedha contextsA
Read-onlyIdempotent

List the altitudes, workflows, and flows of the DataOrbit operating model (Atlas scope map). Call this first when scope is ambiguous.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct operation: listing scope, reading a canvas, diagnosing a single canvas, composing a cross-canvas review, and explaining prior results. The descriptions reinforce boundaries, especially between vedha_get_diagnosis and vedha_get_atlas_review.

    Naming Consistency5/5

    All tools follow a clear vedha_<verb>_<noun> pattern, with vedha_get_* for resource retrieval and vedha_list_* for enumerating contexts. The naming is uniform and predictable.

    Tool Count5/5

    Five tools is well-scoped for this server's read-only, explanation-oriented purpose. Each tool covers a distinct aspect of the domain without redundancy or unnecessary bulk.

    Completeness5/5

    The tool surface covers the full workflow: scoping, single-canvas reading, single-canvas diagnosis, cross-canvas review, and audit of prior answers. There are no obvious dead ends or significant missing operations for the stated domain.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      B
      maintenance
      Enables local, read-only viewing of brokerage accounts, holdings, and transactions using fixture data without real credentials.
      3
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only inspection of ad-bid recommendations, scenario analysis, and explanation of threshold decisions using synthetic fixtures, without requiring live ad accounts or credentials.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local, read-only checks of financial disclosure claims against fixed research snapshots, including cutoff queries, operating metric scope, cash-bridge arithmetic, claim tracing, and replayable evidence packets.
      MIT