naragate-mcp
v0.6.0MCP server exposing the Naragate reality-gap evidence engine to any MCP-capable agent (desktop, CLI, IDE).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_narrative
Verify an Indonesian market narrative end-to-end and return the Reality Gap report. Runs the full Naragate pipeline (claim parsing, evidence, skeptic, judge, score) against real Sectors v2 data. Returns the score (0-100), verdict, direction, evidence sections, policy signal and skeptic summary. Args: narrative: the Indonesian market claim to verify, e.g. "PE BBCA mahal di 25x, jauh di atas rata-rata sektor 18x."
| Parameter | Type | Description |
|---|---|---|
narrative * | string |
analyze_template
Verify one of the 12 curated demo templates by id (same tiles as the web dashboard). Use `list_templates` to discover ids. Example ids: `valuation`, `market`, `policy_bbm`, `policy_hba`, `policy_nickel`, `contradiction`, `no_ticker`.
| Parameter | Type | Description |
|---|---|---|
template_id * | string |
list_templates
List the 12 curated demo narratives (the dashboard tiles) so non-web users get the same entry points.
get_claim
Fetch the full stored record for a claim (claim, evidence, skeptic, score, policy).
| Parameter | Type | Description |
|---|---|---|
claim_id * | string |
get_reality_gap
Fetch a compact Reality Gap report for a stored claim by id.
| Parameter | Type | Description |
|---|---|---|
claim_id * | string |
ask_followup
Ask a follow-up question about a completed analysis. Answers are grounded strictly in the stored analysis evidence — the same grounded chat the web results page offers.
| Parameter | Type | Description |
|---|---|---|
claim_id * | string | |
question * | string |
get_followup_suggestions
Get 3-5 contextual follow-up question templates for a completed analysis. The same suggestion chips the web results page renders, for non-web surfaces that want to offer pickable next questions.
| Parameter | Type | Description |
|---|---|---|
claim_id * | string |
next_followup_suggestion
Generate one fresh follow-up template, avoiding the texts in `exclude`. Mirrors the web UI's dismiss -> answer -> generate-one-replacement flow.
| Parameter | Type | Description |
|---|---|---|
claim_id * | string | |
exclude |
list_history
List recent analyses, most recent first (the web UI's History page).
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_trend_summary
Aggregate trends across completed analyses: totals, average score, verdict distribution, per-ticker history.
get_policy_precheck
Policy-to-price pre-check (T1). Scoped to the claim's sector to avoid cross-sector leakage. Args: sector: optional sector slug, e.g. `oil-gas`, `coal`, `nickel`.
| Parameter | Type | Description |
|---|---|---|
sector |
get_usage
Sectors API and LLM credit usage: totals, cache hits, remaining budget, daily breakdown.
whoami
Report which Naragate user this MCP session acts as. With `NARAGATE_TOKEN` set, this resolves to the token's email and reports whether a Sectors key is bound — so MCP runs use that user's own key, cache and credit ledger. Without a token it reports an anonymous/deployment session.
get_setup_status
Report whether the backend is ready to analyze. Returns the missing configuration items (e.g. `sectors_api_key`, `llm_model`) so an agent can tell the user exactly what to configure.
bind_sectors_key
Bind a Sectors v2 API key to this session's user. Requires `NARAGATE_TOKEN` (minted in the web UI Settings page) — the key is stored server-side against that user's email and never returned by the API.
| Parameter | Type | Description |
|---|---|---|
api_key * | string |
sectors_company_report
Sectors v2 company report (sections: valuation, overview, financials).
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
sections |
sectors_subsector_report
Sectors v2 subsector report (sections: statistics, valuation, ...).
| Parameter | Type | Description |
|---|---|---|
sub_sector * | string | |
sections |
sectors_quarterly_financials
Sectors v2 quarterly financials (revenue, earnings, margins) for a ticker.
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
n_quarters | integer |
sectors_daily_transaction
Sectors v2 daily transaction data (price, volume, close). Sectors caps a call at 90 days.
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
end | ||
start |
sectors_news
Sectors v2 recent news headlines for a ticker.
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
limit | integer |
sectors_corporate_actions
Sectors v2 corporate actions (dividends, splits, warrants) for a ticker.
| Parameter | Type | Description |
|---|---|---|
ticker * | string |
sectors_foreign_flow
Sectors v2 foreign investor flow for a ticker (net inflow/outflow).
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
end | ||
start |
sectors_broker_summary
Sectors v2 broker accumulation/distribution summary for a ticker.
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
end | ||
start |
sectors_top_changes
Sectors v2 top gainers/losers across the IDX universe (market-wide).
| Parameter | Type | Description |
|---|---|---|
classifications | string | |
n_stock | integer | |
periods | string |
sectors_segments
Sectors v2 revenue-segment breakdown for a company.
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
financial_year |
sectors_index_daily
Sectors v2 daily closing prices for an IDX index (e.g. ihsg).
| Parameter | Type | Description |
|---|---|---|
index_code * | string | |
end | ||
start |
sectors_filings
Sectors v2 insider-trade filings for a ticker (filing_type: buy, sell, others).
| Parameter | Type | Description |
|---|---|---|
ticker * | string | |
filing_type |
evidence_cache_get
Read the full Evidence Graph for a ticker from the cache (null on miss).
| Parameter | Type | Description |
|---|---|---|
ticker * | string |
evidence_cache_merge
Atomically merge one section into the cached Evidence Graph for a ticker.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
ticker * | string | |
value * | ||
ttl |
llm_complete
Run a one-shot completion on Naragate's configured LLM and return the raw text.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
response_format | ||
role | string | |
system |