Skip to main content

The decision forge — evidence-graded, phase-gated, peer-reviewed decisions

Project description

research.md

MCP server for structured research workflows. Enforces process gates in code so agents cannot skip findings, peer review, or criteria locking under time pressure.

What it enforces

Gate Trigger
Criteria locked before scoring candidate_score fails if decision-criteria.md not locked
No TBD on scored candidates candidate_score fails if candidate has _TBD_ claims
Peer review before scoring candidate_score fails if no evaluations/peer-review.md

Install

Not yet published to npm. Install from local path.

npm install
npm run build

Add to .mcp.json (use node with the local path, not npx):

{
  "mcpServers": {
    "research-md": {
      "command": "node",
      "args": ["/absolute/path/to/research.md/dist/index.js"]
    }
  }
}

Or for Claude Code:

claude mcp add research-md --scope user -- node /absolute/path/to/research.md/dist/index.js

Trilogy conventions

research.md follows shared conventions with ike.md and visionlog.md. See CONVENTIONS.md for the full standard: dot-dirs, git commitment, GUID routing, monorepo patterns.

  • Config lives at .research/research.json (committed to git)
  • Tools: project_init (new project) and project_set (register existing for session)

Targeting pattern: project_set + research_id

Every tool call requires a research_id -- the GUID from the project's .research/research.json. This is an in-memory mapping that does not persist across MCP server restarts.

Session startup:

  1. Call project_set with the project's absolute path
  2. It returns the project's research_id (a UUID)
  3. Pass that research_id on every subsequent tool call

If you call a tool without a valid research_id, the server tells you exactly how to fix it.

Project structure

Single project

my-research/
  .research/
    research.json              <- config with project GUID (commit this)
    findings/                  <- NNNN-slug.md
    candidates/                <- slug.md
    evaluations/
      decision-criteria.md     <- criteria table (lock before scoring)
      peer-review.md           <- reviewer log (required before scoring)
      scoring-matrix.md        <- generated from locked criteria + candidates

Multi-project root

A root directory holds multiple research projects. Each subproject is a full project with its own GUID.

research-root/
  .research/
    research.json              <- root config (lists subprojects)
  vendor-selection/
    .research/
      research.json            <- subproject GUID
      findings/
      candidates/
      evaluations/
  platform-comparison/
    .research/
      research.json            <- subproject GUID
      findings/
      candidates/
      evaluations/

Initialize a root and add subprojects:

project_init { path: "/path/to/root", root: true }
project_init { path: "/path/to/root", subproject: "vendor-selection" }
project_init { path: "/path/to/root", subproject: "platform-comparison" }

When you project_set a root, all subprojects are registered automatically. Use each subproject's research_id for tool calls -- you cannot operate on the root directly.

Tools (16)

Session

Tool Description
project_set Register a project path, returns its GUID. Also registers subprojects if root.
project_get List all registered projects and their GUIDs for this session.

Project

Tool Description
init Initialize project structure (single, root, or subproject).
status Project health: criteria locked, peer review done, TBD count, finding/candidate totals.

Findings

Tool Description
finding_create Create finding with evidence grade and source.
finding_list List all findings with status and evidence grade.
finding_update Update status, evidence grade, or claim text.

Candidates

Tool Description
candidate_create Create candidate for evaluation.
candidate_list List all candidates with verdict status.
candidate_update Update verdict (provisional/recommended/eliminated) or description.
candidate_add_claim Add binary testable claim to validation checklist.
candidate_resolve_claim Mark a claim Y or N (clears _TBD_).

Scoring

Tool Description
criteria_lock Lock decision criteria weights. Required before scoring.
candidate_score Score a candidate against locked criteria. Gated on criteria lock + peer review + no TBD.
scoring_matrix_generate Generate evaluations/scoring-matrix.md comparison table.

Peer Review

Tool Description
peer_review_log Log reviewer name and findings. Required before scoring.

Evidence grades

Grade Meaning
HIGH Peer-reviewed, primary source, reproducible
MODERATE Secondary source, credible but not independently verified
LOW Anecdotal, single source, unverified claim
UNVERIFIED Not yet assessed

Resources

research://workflow/overview   -> workflow guide (auto-loaded into agent context)
research://findings/all        -> all findings as markdown
research://candidates/all      -> all candidates with verdict
research://scoring-matrix      -> current scoring matrix
research://status              -> project health summary

Development

npm install
npm run build
npm run dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

research_md-0.2.1.tar.gz (94.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

research_md-0.2.1-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file research_md-0.2.1.tar.gz.

File metadata

  • Download URL: research_md-0.2.1.tar.gz
  • Upload date:
  • Size: 94.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for research_md-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cedf7a704ef839e9a0c215dec9976dac8487626940e54b584b4148fc47d46078
MD5 7147165594d8b493188d563176375474
BLAKE2b-256 aa4e6fc218f8b874465f82375e8e9dee9e3ff7f4d30d6aa7f52cfd7f1b88764d

See more details on using hashes here.

Provenance

The following attestation bundles were made for research_md-0.2.1.tar.gz:

Publisher: publish.yml on eidos-agi/research.md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file research_md-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: research_md-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for research_md-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88edf893158416360a6a7d072899ff7d8f04bf3b147fd0585acf2913f3ee9372
MD5 4530db41bb4fe52571884c7e9ff126bd
BLAKE2b-256 02593d55242eb104b08f124482139ddeab306f2954062679be2a19398497299e

See more details on using hashes here.

Provenance

The following attestation bundles were made for research_md-0.2.1-py3-none-any.whl:

Publisher: publish.yml on eidos-agi/research.md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page