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_pagestring✅Your page URL
competitorsstring[]✅Competitor URLs (3–10 recommended)
queriesstring[]—Target search queries (up to 5)
lang"ru" | "en"—Page language
url_cookiesobject—Per-URL auth cookies
triplet_analysisboolean—Enable 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_idstring✅From unihra_analyze or unihra_list_results

unihra_get_page_status ​

Get requested URL coverage for a saved analysis. The tool returns only public page lists: URLs included in the analysis and URLs not included.

InputTypeRequiredDescription
result_idstring✅From unihra_analyze

Output:

json
{
  "result_id": "abc123",
  "parsed_count": 1,
  "failed_count": 1,
  "parsed": [{"url": "https://example.com", "is_own_page": true}],
  "failed": [{"url": "https://competitor.example", "is_own_page": false}]
}

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