@scom82/topvisor-mcp
This server provides 17 tools for managing SEO rank tracking workflows via the Topvisor API v2, covering everything from project setup to position history retrieval.
Account & Billing
topvisor_balance— get account balance (computed from transaction history as a workaround for a known API limitation)topvisor_bank_history— view transaction history (deposits, charges, bonuses) with filtering and pagination
Project Management
topvisor_list_projects— list projects with filtering, ordering, pagination, and optional searcher/region detailstopvisor_add_project— create a new project by URL, with optional name and tags
Search Engine & Region Configuration
topvisor_add_searcher— add a search engine (Yandex, Google, YouTube, Bing, etc.) to a projecttopvisor_add_region— add a region to a searcher using a catalogregion_key, with depth and device optionstopvisor_list_regions— list configured regions to retrieve the criticalregion_indexvalues needed for subsequent calls
Keyword Management
topvisor_list_keywords— list keywords in a project with filtering, ordering, and paginationtopvisor_import_keywords— bulk import keywords via CSV with group assignment support
Position Checking
topvisor_check_price— preview the cost of a position check before submissiontopvisor_check_positions— asynchronously submit a position check job; optionally collect SERP snapshots
Results & Analytics
topvisor_get_history— retrieve keyword position history over a date range, with optional snippet/URL/visitor datatopvisor_get_summary— compare position distribution between two dates (tops, averages, dynamics, visibility metrics)topvisor_get_summary_chart— get time-series position distribution data for chart renderingtopvisor_get_snapshots— retrieve SERP snapshots collected during a position check (requiresdo_snapshots=1)
Utilities
topvisor_services— list all API services, searcher keys, and filter operators; works without credentialstopvisor_request— generic escape hatch to call any Topvisor API v2 method directly, including undocumented endpoints
Provides tools for Google search rank tracking via the Topvisor API, enabling management of projects, keywords, searchers, regions, position checks, history, and SERP snapshots.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@scom82/topvisor-mcp Add project for https://example.com and run Yandex position check."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@scom82/topvisor-mcp
Unofficial. This is an unofficial MCP server and is not affiliated with or endorsed by Topvisor.
An MCP (Model Context Protocol) server for the Topvisor API v2. Provides 17 tools for Yandex/Google rank tracking: projects, keywords, searchers and regions, position check submission, history, summary charts, SERP snapshots, and account balance. Implements the stateful Topvisor project model — set up project → add searchers/regions → import keywords → submit check (async) → read history.
Installation
Via npx (recommended — through MCP config)
No local install needed. Configure your MCP client and npx handles the rest:
{
"mcpServers": {
"topvisor": {
"command": "npx",
"args": ["-y", "@scom82/topvisor-mcp"],
"env": {
"TOPVISOR_USER_ID": "your_user_id",
"TOPVISOR_API_KEY": "your_api_key"
}
}
}
}From source
git clone https://github.com/SCom-82/topvisor-mcp.git
cd topvisor-mcp
npm install
npm run build
node dist/index.jsRelated MCP server: YouTube MCP Server
Configuration
Environment Variable | Required | Default | Description |
| yes | — | Your Topvisor User ID (found in account settings) |
| yes | — | Your Topvisor API key (generate in account settings) |
| no |
| Override base URL |
| no |
| HTTP request timeout in milliseconds |
The server starts without credentials — tools/list and topvisor_services work without them. Credentials are validated lazily on the first real API call.
Claude Desktop / Claude Code config
{
"mcpServers": {
"topvisor": {
"command": "npx",
"args": ["-y", "@scom82/topvisor-mcp"],
"env": {
"TOPVISOR_USER_ID": "your_user_id",
"TOPVISOR_API_KEY": "your_api_key"
}
}
}
}Tools
Tool | Service | Description |
| — | List all API services, searcher_key reference, filter operators. Works without credentials. |
| any | Generic escape hatch: call any Topvisor API v2 method directly. |
| bank_2 | Get account balance computed from transaction history (bank_2/info is non-functional for single-user accounts). |
| bank_2 | Get transaction history (deposits, charges, bonuses). |
| projects_2 | List projects with filtering, ordering, optional searchers/regions. |
| projects_2 | Create a new project by URL. |
| positions_2 | Add a search engine (Yandex/Google/etc.) to a project. |
| positions_2 | Add a region to a searcher. See region_key vs region_index below. |
| positions_2 | List configured regions and get their |
| keywords_2 | List keywords in a project. |
| keywords_2 | Import keywords via CSV (bulk, with group assignment). |
| positions_2 | Preview cost of a position check without running it. |
| positions_2 | ASYNC submit a position check job. See checker/go is async below. |
| positions_2 | Read position history for a project and regions. |
| positions_2 | Get position summary comparing two dates. |
| positions_2 | Get chart data for position distribution over time. |
| snapshots_2 | Get SERP snapshots collected during a position check. |
Stateful project model
Topvisor uses a stateful hierarchy — unlike stateless rank-check APIs, you first configure a project, then submit checks, then read results:
1. topvisor_add_project { url: "https://example.com" }
→ project_id
2. topvisor_add_searcher { project_id, searcher_key: 0 }
# 0 = Yandex; 1 = Google
3. topvisor_add_region { project_id, searcher_key: 0, region_key: <catalog_key>, region_depth: 1 }
# region_key is the Topvisor catalog key, NOT region_index
4. topvisor_list_regions { project_id }
→ region_index (use this, not region_key, in all subsequent calls)
5. topvisor_import_keywords { project_id, group_name: "main", keywords: "name\nкупить окна\nокна цены" }
6. topvisor_check_price { project_id, regions_indexes: [<region_index>] }
# Preview cost before spending balance
7. topvisor_check_positions { project_id, regions_indexes: [<region_index>] }
# Async submit — returns projectsIds, does NOT wait for results
8. (poll) topvisor_list_projects { filters: [{name:"id",operator:"EQUALS",values:[project_id]}], fields: ["id","status_positions","positions_percent"] }
# Wait until status_positions indicates completion
9. topvisor_get_history { project_id, regions_indexes: [<region_index>], date1: "2026-06-01", date2: "2026-06-22" }
→ keywords[] with positionsDataregion_key vs region_index
⚠️ These are different values. A common source of errors:
region_key— the catalog identifier used when adding a region (topvisor_add_region). Comes from the Topvisor regions catalog and differs per search engine.region_index— the sequential index assigned by Topvisor after a region is added to your project. This is whattopvisor_get_history,topvisor_check_price,topvisor_check_positions, andtopvisor_get_snapshotsexpect.
Always call topvisor_list_regions after adding a region to retrieve the assigned region_index. Do not assume region_key === region_index.
Confirmed live on project 29248320 (green-line24.ru):
City | region_key | region_index |
Samara | 51 | 83 |
Tolyatti | 240 | 112 |
Zhigulyovsk | 11132 | 829 |
Syzran | 11139 | 557 |
Note: region_key=51 for Yandex corresponds to the Yandex rids value for Samara — but this coincidence does not hold in general.
topvisor_list_regions uses get/projects_2/projects with show_searchers_and_regions=2 (the searchers_regions/export endpoint returns CSV with no region_index and is not used).
checker/go is async
topvisor_check_positions submits a job to the Topvisor queue and returns immediately with projectsIds. The actual position collection happens in the background — typically minutes to hours depending on the queue and number of keywords/regions.
How to wait for results:
Call
topvisor_check_positions→ getprojectsIds.Poll
topvisor_list_projectswithfields: ["id","status_positions","positions_percent"]until the status indicates completion.Then call
topvisor_get_historyto read the collected positions.
There is no built-in wait/poll in this MCP tool (v1). This is intentional — position checks can take hours, which would exceed MCP client timeouts.
SERP snapshots
SERP snapshots are only collected when a position check is submitted with do_snapshots: 1 (topvisor_check_positions { ..., do_snapshots: 1 }). Snapshots typically become available before the position collection fully completes.
topvisor_get_snapshots returns the snapshot data under the snapshotsData key (not data). Keys have the format "YYYY-MM-DD:position:region_index" and map to objects like:
{
"snapshotsData": {
"2026-06-23:1:83": { "url": "https://green-line24.ru/", "domain": "green-line24.ru", "snippet_title": "", "snippet_body": "" }
}
}Note: snippet_title / snippet_body are returned but may be empty strings — Topvisor does not always populate them even when requested via positions_fields.
Error format
Topvisor API always returns HTTP 200. Errors are indicated in the response body:
{
"result": null,
"errors": [
{
"code": 53,
"string": "Authorisation error",
"detail": { "header": "Authorization" }
}
]
}Known error codes: 53 = authorization error (wrong/missing credentials); 1002 = parameter value mismatch.
When a tool encounters a Topvisor error, it returns:
{
"isError": true,
"errors": [{ "code": 53, "string": "Authorisation error", "detail": {...} }]
}Known limitations and API quirks
Rate limits: Topvisor API rate limits are not documented. This server does not implement automatic retries or backoff in v1. If you hit rate limit errors, add delays between calls manually.
Async checker:
topvisor_check_positionsdoes not poll for completion. You must polltopvisor_list_projectsyourself.Undocumented methods: Several edit/delete methods (
edit/projects_2/projects/*,del/keywords_2/keywords, etc.) have undocumented parameters and are not available as typed tools. Usetopvisor_requestas an escape hatch.region_keyfor specific cities: The Topvisor region catalog uses its own identifiers per search engine. Usetopvisor_requestwithget/positions_2/searchers_regionsto browse available regions.topvisor_balance: Thebank_2/infoendpoint returns emptyresult:[]for single-user accounts regardless of parameters (confirmed:fieldscauses error 2003, all other params ignored). Balance is computed as sum ofbank_2/historytransactions.topvisor_add_project: Returns a bare integer (project_id), not an object or array.topvisor_add_searcher/topvisor_add_region: Return0on duplicate add (idempotent, not an error).searchers_regions/export: Returns CSV inwindows-1251encoding with noregion_indexfield — not usable for the key→index mapping. Usetopvisor_list_regionsinstead (which callsprojects_2/projectswithshow_searchers_and_regions=2).
License
MIT © 2026 SCom-82
Available Tools
17 toolstopvisor_add_projectA
Create a new project in Topvisor. Returns the new project object. ⚠️ Exact response shape not fully documented — raw result is returned.
Inputs: url (required), name, tags.
topvisor_add_regionA
Add a region to a searcher for a project. After adding, call topvisor_list_regions to get the assigned region_index — region_key (add-time catalog key) is NOT the same as region_index (query-time index used in history/checker calls).
Inputs: project_id (required), searcher_key (required), region_key (required), region_lang, +2 more.
topvisor_add_searcherA
Add a search engine (searcher) to a project. Must be done before adding regions.
Inputs: project_id (required), searcher_key (required).
topvisor_balanceA
Get account balance. Returns balance calculated from transaction history (sum of all deposits minus charges).
NOTE: The Topvisor bank_2/info endpoint returns empty result for single-user accounts — this is a known API limitation confirmed empirically (result:[], total:1 regardless of parameters; fields parameter causes error 2003). As a workaround, this tool computes the balance by summing bank_2/history transactions. Returns { computed_balance, transaction_count, last_transactions[] }.
Inputs: no named parameters.
topvisor_bank_historyC
Get account transaction history (deposits, charges, bonuses).
Inputs: fields, orders, limit, offset.
topvisor_check_positionsA
ASYNC: Submit a position check job to the Topvisor queue. Returns projectsIds immediately — actual data collection runs in the background (minutes to hours depending on queue). To monitor progress, poll topvisor_list_projects for status_positions/positions_percent fields. Read results later via topvisor_get_history once collection is complete. To preview cost first use topvisor_check_price.
Inputs: project_id (required), regions_indexes, folders_ids, folders_ids_depth, +3 more.
topvisor_check_priceA
Preview the cost of a position check without actually running it. Returns pricesByUsers.={projectsIds, price}. Use this before topvisor_check_positions to estimate cost.
Inputs: project_id (required), regions_indexes, folders_ids, folders_ids_depth, +3 more.
topvisor_get_historyB
Get position history for a project and regions. Requires either 'dates' array OR both 'date1' and 'date2'. Returns keywords[] with positionsData.
Inputs: project_id (required), regions_indexes (required), date1, date2, +11 more.
topvisor_get_snapshotsC
Get SERP snapshots for a project and region. Snapshots are collected when do_snapshots=1 is set in topvisor_check_positions. Returns snapshotsData per keyword. Requires either 'dates' array OR both 'date1' and 'date2'.
Inputs: project_id (required), region_index (required), date1, date2, +7 more.
topvisor_get_summaryA
Get a positions summary comparing two dates for a project and single region. Returns keyword distribution across top positions with optional dynamics, tops, averages, and visibility metrics.
Inputs: project_id (required), region_index (required), dates (required), competitor_id, +5 more.
topvisor_get_summary_chartA
Get chart data showing position distribution over time for a project and single region. Returns dates array and seriesByProjectsId for chart rendering.
Inputs: project_id (required), region_index (required), date1, date2, +7 more.
topvisor_import_keywordsB
Import keywords into a project via CSV. Returns {countSended, countDuplicated, countAdded, countChanged}. To assign keywords to a group, set group_name or include group_name column in CSV headers.
Inputs: project_id (required), keywords (required), folder_id, group_id, +5 more.
topvisor_list_keywordsC
List keywords for a project. Supports filtering, ordering, pagination.
Inputs: project_id (required), fields, filters, orders, +4 more.
topvisor_list_projectsA
List all projects in the account. Use fields, filters, orders for precise queries. show_searchers_and_regions=1 includes configured search engines and regions.
Inputs: fields, filters, orders, limit, +3 more.
topvisor_list_regionsA
List configured searchers and regions for a project. Returns region_key and region_index for each region.
CRITICAL: region_key (used when adding a region) is NOT the same as region_index (used in topvisor_get_history, topvisor_check_price, topvisor_check_positions). Always call this tool after adding regions to get the correct region_index values.
Example mapping for project 29248320 (green-line24.ru):
Samara: region_key=51 → region_index=83
Tolyatti: region_key=240 → region_index=112
Zhigulyovsk: region_key=11132 → region_index=829
NOTE: Uses get/projects_2/projects with show_searchers_and_regions=2 (NOT searchers_regions/export which returns CSV with no region_index).
Inputs: project_id (required).
topvisor_requestA
Generic escape hatch: call any Topvisor API v2 method directly. Covers all API methods including undocumented ones not yet available as typed tools. Use operator/service/method path and pass body verbatim.
Inputs: operator (required), service (required), method (required), body.
topvisor_servicesA
List all Topvisor API v2 services, operators, methods, searcher_key reference, filter operators, and all 17 tools in this MCP server. Works without credentials.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool has a clearly distinct purpose covering project, region, searcher, keyword, and position management. There are no overlapping or ambiguous tools.
All tools follow the consistent pattern 'topvisor_verb_noun' (e.g., add_project, check_positions, list_keywords). The naming convention is uniform and predictable.
With 17 tools, the set covers the essential Topvisor API operations without being excessive. It provides a well-scoped surface for SEO position tracking tasks.
The tool set covers the core workflow (project setup, region/searcher management, keyword import, position checking and history). Minor gaps exist (lack of update/delete for projects and keywords), but these are mitigated by the generic request tool.
Maintenance
Related MCP Connectors
MCP servers for Yandex APIs: Wordstat, Search, Webmaster, Metrika, Direct. Open source, by Seyka AI.
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
SEO MCP server for keyword research, live SERPs, backlinks, site audits and AI visibility.
Remote MCP server for Google SERP, SEO research and web scraping. Free plan, no card.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn agent-friendly MCP server for the GeoRanker High-Volume API, enabling SEO rank tracking and keyword management through natural language.25 npm1MIT
- AlicenseAqualityBmaintenanceA comprehensive MCP server integrating YouTube Data, Analytics, and Reporting APIs, providing 40 tools for channel management, analytics, video publishing, transcripts, SEO, and comments.4031MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Yandex Direct, Metrika, Wordstat, and Webmaster APIs, providing 132 tools to manage advertising campaigns, analytics, keyword research, and reporting through any MCP-compatible client.58MIT
- AlicenseCqualityDmaintenanceMCP server that provides 46 tools for managing Yandex Webmaster API v4, enabling site management, sitemaps, indexing, search analytics, and more through natural language.4630 npm7MIT