Hex Research

v0.2.1
io.github.levnikolaevich/hex-research-mcp Checked 2 hours ago Published 6 months ago

Research graph MCP for hypotheses, goals, runs, source quality, audits, and generated maps.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

index_hypotheses Index Hypotheses

Rebuild the local SQLite research graph from docs/hypotheses, docs/goals, and benchmark run manifests.

ParameterTypeDescription
pathstringProject root containing docs/hypotheses, docs/goals, and benchmark/runs

verify_index Verify Research Index Inputs

Validate research frontmatter and run manifests without rebuilding the SQLite index.

ParameterTypeDescription
pathstringProject root containing docs/hypotheses, docs/goals, and benchmark/runs

find_hypotheses Find Hypotheses

Search indexed hypotheses by status, goal, task state, source type/year, priority tier, or claim text.

ParameterTypeDescription
cited_source_typestringCited source type filter
cited_source_year_minnumber | stringMinimum cited source year
claim_substringstringCase-insensitive claim substring
goalstringGoal id filter, e.g. G1
limitnumber | stringMaximum hypotheses to return
pathstringIndexed project root
priority_tiernumber | stringPriority tier filter
statusstringHypothesis status filter
task_statestringLinked task state filter

inspect_hypothesis Inspect Hypothesis

Return a bounded structured view of one hypothesis, including goals, tasks, evidence, runs, sources, and edges.

ParameterTypeDescription
claim_substringstringFallback selector by claim substring
idstringCanonical H## or G## id
pathstringIndexed project root

find_evidence Find Evidence

Find evidence entries and cited sources, optionally scoped to one hypothesis and source/evidence type.

ParameterTypeDescription
idstringHypothesis id
limitnumber | stringMaximum rows to return
pathstringIndexed project root
typestringEvidence or source type

find_runs Find Runs

Find targeted or explicit comprehensive benchmark runs by run id, hypothesis id, type, and comprehensive flag; goal metrics derive only from explicit comprehensive runs.

ParameterTypeDescription
comprehensivebooleanFilter comprehensive runs
hypothesisstringHypothesis id for targeted runs
idstringRun id
limitnumber | stringMaximum rows to return
pathstringIndexed project root
typestringRun type

trace_lineage Trace Lineage

Trace bounded hypothesis lineage and dependency edges around a hypothesis id.

ParameterTypeDescription
id *stringStarting hypothesis id
depthnumber | stringMaximum traversal depth
directionstringTraversal direction
limitnumber | stringMaximum nodes to return
pathstringIndexed project root

analyze_topology Analyze Topology

Summarize graph node/edge counts and high-degree hubs without dumping the full graph.

ParameterTypeDescription
limitnumber | stringMaximum hub rows to return
pathstringIndexed project root

audit_orphans Audit Orphans

Audit orphaned, stale, missing-evidence, missing-source, dead-branch, task, and goal-run gaps.

ParameterTypeDescription
limitnumber | stringMaximum issues to return
pathstringIndexed project root

inspect_goal Inspect Goal

Return a bounded structured view of one goal, including parent/child goals, linked hypotheses, and derived metrics_current provenance or missing-metrics reason.

ParameterTypeDescription
claim_substringstringFallback selector by claim substring
idstringCanonical H## or G## id
pathstringIndexed project root

trace_goal_tree Trace Goal Tree

Trace the bounded goal decomposition tree around one goal id.

ParameterTypeDescription
id *stringStarting goal id
limitnumber | stringMaximum goals to return
pathstringIndexed project root

audit_goal_alignment Audit Goal Alignment

Audit hypothesis-goal links, active goals without live hypotheses, goals missing explicit comprehensive-run metrics, and coverage candidates.

ParameterTypeDescription
limitnumber | stringMaximum issues to return
pathstringIndexed project root

analyze_progress Analyze Progress

Use git diff to identify changed research graph files and field-level frontmatter deltas that should be verified or reindexed.

ParameterTypeDescription
compare_againststringGit ref to compare against, default "HEAD"
pathstringProject root

analyze_proposed Analyze Proposed Hypothesis

Check one indexed hypothesis for readiness gaps before promotion or implementation.

ParameterTypeDescription
claim_substringstringFallback selector by claim substring
idstringCanonical H## or G## id
pathstringIndexed project root

export_canvas Export JSON Canvas

Export a bounded JSON Canvas map of goals, hypotheses, runs, and their relationships.

ParameterTypeDescription
dry_runbooleanPreview canvas JSON without writing the file
modestringmerge preserves existing node positions; overwrite creates a fresh layout
output_pathstringCanvas path relative to project root, default "docs/research-map.canvas"
pathstringIndexed project root

export_research_map Export Research Map Markdown

Generate docs/research-map.md from canonical split researchgraph files. Dry-run by default; refuses unmarked legacy overwrite unless force is true.

ParameterTypeDescription
dry_runbooleanPreview generated markdown without writing; default true
forcebooleanAllow replacing an unmarked legacy research-map.md after dry-run review
output_pathstringMarkdown path relative to project root, default "docs/research-map.md"
pathstringIndexed project root