Hex Research
v0.2.1Research 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.
| Parameter | Type | Description |
|---|---|---|
path | string | Project 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.
| Parameter | Type | Description |
|---|---|---|
path | string | Project 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.
| Parameter | Type | Description |
|---|---|---|
cited_source_type | string | Cited source type filter |
cited_source_year_min | number | string | Minimum cited source year |
claim_substring | string | Case-insensitive claim substring |
goal | string | Goal id filter, e.g. G1 |
limit | number | string | Maximum hypotheses to return |
path | string | Indexed project root |
priority_tier | number | string | Priority tier filter |
status | string | Hypothesis status filter |
task_state | string | Linked task state filter |
inspect_hypothesis Inspect Hypothesis
Return a bounded structured view of one hypothesis, including goals, tasks, evidence, runs, sources, and edges.
| Parameter | Type | Description |
|---|---|---|
claim_substring | string | Fallback selector by claim substring |
id | string | Canonical H## or G## id |
path | string | Indexed project root |
find_evidence Find Evidence
Find evidence entries and cited sources, optionally scoped to one hypothesis and source/evidence type.
| Parameter | Type | Description |
|---|---|---|
id | string | Hypothesis id |
limit | number | string | Maximum rows to return |
path | string | Indexed project root |
type | string | Evidence 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.
| Parameter | Type | Description |
|---|---|---|
comprehensive | boolean | Filter comprehensive runs |
hypothesis | string | Hypothesis id for targeted runs |
id | string | Run id |
limit | number | string | Maximum rows to return |
path | string | Indexed project root |
type | string | Run type |
trace_lineage Trace Lineage
Trace bounded hypothesis lineage and dependency edges around a hypothesis id.
| Parameter | Type | Description |
|---|---|---|
id * | string | Starting hypothesis id |
depth | number | string | Maximum traversal depth |
direction | string | Traversal direction |
limit | number | string | Maximum nodes to return |
path | string | Indexed project root |
analyze_topology Analyze Topology
Summarize graph node/edge counts and high-degree hubs without dumping the full graph.
| Parameter | Type | Description |
|---|---|---|
limit | number | string | Maximum hub rows to return |
path | string | Indexed project root |
audit_orphans Audit Orphans
Audit orphaned, stale, missing-evidence, missing-source, dead-branch, task, and goal-run gaps.
| Parameter | Type | Description |
|---|---|---|
limit | number | string | Maximum issues to return |
path | string | Indexed 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.
| Parameter | Type | Description |
|---|---|---|
claim_substring | string | Fallback selector by claim substring |
id | string | Canonical H## or G## id |
path | string | Indexed project root |
trace_goal_tree Trace Goal Tree
Trace the bounded goal decomposition tree around one goal id.
| Parameter | Type | Description |
|---|---|---|
id * | string | Starting goal id |
limit | number | string | Maximum goals to return |
path | string | Indexed 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.
| Parameter | Type | Description |
|---|---|---|
limit | number | string | Maximum issues to return |
path | string | Indexed 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.
| Parameter | Type | Description |
|---|---|---|
compare_against | string | Git ref to compare against, default "HEAD" |
path | string | Project root |
analyze_proposed Analyze Proposed Hypothesis
Check one indexed hypothesis for readiness gaps before promotion or implementation.
| Parameter | Type | Description |
|---|---|---|
claim_substring | string | Fallback selector by claim substring |
id | string | Canonical H## or G## id |
path | string | Indexed project root |
export_canvas Export JSON Canvas
Export a bounded JSON Canvas map of goals, hypotheses, runs, and their relationships.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | Preview canvas JSON without writing the file |
mode | string | merge preserves existing node positions; overwrite creates a fresh layout |
output_path | string | Canvas path relative to project root, default "docs/research-map.canvas" |
path | string | Indexed 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.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | Preview generated markdown without writing; default true |
force | boolean | Allow replacing an unmarked legacy research-map.md after dry-run review |
output_path | string | Markdown path relative to project root, default "docs/research-map.md" |
path | string | Indexed project root |