Skip to content

MCP Tools Reference

unihra_health

Check API availability.

Input: (none)

Output: {"status": "ok", "version": "..."}


unihra_get_limits

Show API key usage limits and balance.

Input: (none)

Output:

json
{
  "plan": "pro",
  "daily_limit": 5000,
  "used_today": 12,
  "remaining_today": 4988
}

unihra_analyze

Run SEO analysis. Primary tool — the model should call this first for any page comparison request.

InputTypeRequiredDescription
own_pagestringYour page URL
competitorsstring[]Competitor URLs (3–10 recommended)
queriesstring[]Target search queries (up to 5)
lang"ru" | "en"Page language
url_cookiesobjectPer-URL auth cookies
triplet_analysisbooleanEnable Knowledge Graph (5 credits, default false)

Output: Compact summary with result_id + top-5 gaps, action counts, missing n-grams, and structure snapshot.


unihra_list_results

List all saved analysis results in the current session directory.

Input: (none)

Output: {"count": N, "results": [{"result_id": "...", "own_page": "...", "saved_at": "...", ...}]}


unihra_delete_result

Delete a saved result from disk.

InputTypeRequiredDescription
result_idstringFrom unihra_analyze or unihra_list_results

unihra_get_gaps

Get Umbrella Analysis gaps — words to add to your page.

InputTypeDefaultDescription
result_idstringrequired
top_ninteger50Max items to return
min_coveragenumber15.0Min competitor coverage %
min_gapnumber0.0Min gap score (0 = show all)
missing_onlybooleanfalseOnly words absent from own page
group_by_recommendationbooleanfalseGroup by placement recommendation

unihra_get_anchors

Get anchor text analysis.

InputTypeDefaultDescription
result_idstringrequired
top_ninteger50Max items
missing_onlybooleanfalseOnly anchors absent from own page

unihra_get_word_actions

Get TF-IDF word actions (add / increase / decrease / ok).

InputTypeDefaultDescription
result_idstringrequired
action"add" | "increase" | "decrease" | "ok" | "all""all"Filter by action
top_ninteger50Max items per group
min_frequencynumber1.0Min word frequency
exclude_okbooleantrueExclude ok-action words

unihra_get_ngrams

Get phrase (n-gram) analysis.

InputTypeDefaultDescription
result_idstringrequired
top_ninteger60Max phrases
min_pages_countinteger2Min competitor sites using this phrase
missing_onlybooleanfalseOnly phrases not on own page
ngram_type"all" | "bigrams" | "lemma_trigrams""all"Filter by phrase length

unihra_get_triplets

Get Knowledge Graph entities and topical gaps. Only available for results created with triplet_analysis=true.

InputTypeDefaultDescription
result_idstringrequired
view"entities" | "gaps" | "both""both"Which view to return
top_entitiesinteger30Max entities
max_triplets_per_entityinteger12Max facts per entity
tiersstring[]["core","main"]Filter entities by tier
gap_severitiesstring[]["critical","important"]Gap severity buckets to include
max_gaps_per_severityinteger25Max gap items per bucket

unihra_get_page_structure

Get heading structure and meta tags.

InputTypeDefaultDescription
result_idstringrequired
own_onlybooleanfalseReturn only your page structure