Keywords and rankings with MCP
Keywords and rankings with MCP. Parameters, short request examples and result checks in Labrika.
On this page
Keywords for a site
Tool reference (5)
Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.
Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.
labrika_domain_keywords_prepare
Example requests
Find 80 keywords for example.com.
How much does finding 100 keywords cost?
Quote the maximum cost of finding keywords for a domain and prepare confirmation in Labrika. Read the result with a separate tool after launch.
For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.
domain-keywords:run
- Required parameters
domain, operation_key- Optional parameters
keyword_count, payment_option
- Before use
domain + keyword_count → labrika_domain_keywords_prepare- How to check the result
-
Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.
labrika_action_get → run_id → labrika_domain_keywords_progress_get
Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.
Choose 80–500 phrases in steps of 10. Show the maximum in AI credits and the account currency. The user chooses ai_credits or money_balance; any shortfall is refunded proportionally.
labrika_domain_keywords_progress_get
Example requests
How is keyword collection progressing?
Has keyword collection finished?
Check progress by run_id.
domain-keywords:run
- Required parameters
run_id
- Before use
labrika_action_get → run_id- How to check the result
-
Check the existing job using its identifier. A pending or intermediate status is not a finished report; read any error before attempting another launch.
labrika_domain_keywords_get
labrika_domain_keywords_get
Example requests
Show the collected keywords.
How many keywords were collected and at what cost?
Read the original result, working list and final charge.
domain-keywords:run
- Required parameters
run_id- Optional parameters
limit, cursor
- Before use
labrika_action_get → run_id- How to check the result
-
If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.
revision → labrika_domain_keywords_list_edit / labrika_domain_keywords_apply
labrika_domain_keywords_list_edit
Example requests
Remove “free tea” from the list.
Add “wholesale tea” to the list.
Append, remove or replace rows in the current revision.
domain-keywords:run
- Required parameters
run_id, revision, items- Optional parameters
mode
- Before use
labrika_action_get → run_id; labrika_domain_keywords_get → revision- How to check the result
revision → labrika_domain_keywords_get
Read the current revision before editing. Keep the new revision from the update response. On a conflict, read the list again and reconcile changes instead of writing an outdated version.
mode=append / remove / replace; items=[{text: …}]; mode=replace + items=[]
labrika_domain_keywords_apply
Example requests
Add the selected keywords to example.com.
Apply the agreed list to my project.
Add unique rows from the selected revision to project settings.
domain-keywords:run
- Required parameters
run_id, site_uuid, revision
- Before use
labrika_action_get → run_id; labrika_domain_keywords_get → revision; labrika_report_sites_list (owned_only=true) → site_uuid- How to check the result
labrika_serp_keywords_list
Applying a list changes the selected project's settings. Check the list in the operation result; creating a new report requires a separate launch.
Keyword rankings
Tool reference (9)
Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.
Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.
labrika_keyword_rankings_refresh_prepare
Example requests
How much does refreshing example.com's rankings cost?
Prepare a new rankings check for example.com.
Show the cost of refreshing rankings in limits and money. Ask the user to select a payment option and approve the selected quote in Labrika.
For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.
serp:run
- Required parameters
site_uuid, operation_key- Optional parameters
payment_option
- Before use
labrika_report_sites_list → site_uuid- How to check the result
-
Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.
labrika_action_get → labrika_keyword_rankings_progress_get
Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.
labrika_keyword_rankings_progress_get
Example requests
How is the example.com rankings check progressing?
Have the rankings been checked?
Check the progress of the latest keyword ranking check.
serp:read
- Required parameters
site_uuid
- Before use
labrika_report_sites_list → site_uuid- How to check the result
-
Check the existing job using its identifier. A pending or intermediate status is not a finished report; read any error before attempting another launch.
labrika_serp_dates_list → labrika_serp_positions_list
labrika_serp_sites_list
Example requests
Which of my sites have rankings?
Which search engines are configured for example.com?
List connected sites and their search engines. Use site_uuid and search_engine_id to request rankings.
serp:read
- Optional parameters
limit, cursor
- Before use
labrika_connection_info → serp:read- How to check the result
-
If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.
site_uuid + search_engine_id → labrika_serp_dates_list
labrika_serp_regions_search
Example requests
Find London, UK for Google.
Find Paris, France for Google.
Search Google regions using English location names. For Google, check the region, country and any additional location details. Use region_id to import ranking history. Include the country or region to narrow the search. Use up to 10 words. Each call returns up to 100 matches. Refine the query if truncated=true. Select the separate Search regions (serp:read) permission on the consent page.
serp:read
- Required parameters
search_engine, search
- Before use
search_engine + search → region_id- How to check the result
region_id; truncated=true → search
Agree on the search engine, country and city first. region_code, region_id and search_engine_id are different parameters; do not substitute one for another. Search Google regions in English on labrika.com.
labrika_serp_keywords_list
Example requests
Which keywords are configured for example.com?
Does the project contain “wholesale tea”?
List configured keywords on your active site, including those without ranking history. Use search to check matches before importing. Select this separate permission when connecting.
serp:import
- Required parameters
site_uuid- Optional parameters
search, limit, cursor
- Before use
labrika_report_sites_list → site_uuid- How to check the result
-
If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.
labrika_keyword_rankings_import
labrika_keyword_rankings_import
Example requests
Import the rankings history from this CSV.
Import rankings from the attached XLSX.
Prepare an original CSV or XLSX of up to 10 MiB. The preview shows keywords, dates and search settings. Approval in Labrika adds missing keywords and settings and starts the history import. Use exact source engine labels and numeric region_id values in region_ids. A dates-only CSV can use project_Google_London_en_2026_08_20.csv with the key Google London. replace_existing_history defaults to false. After approval, get job_group_id with labrika_action_get. If a row has search volume for multiple settings, omit frequency_search_engine to import positions only, or pass the exact source label to assign volume to that setting. Import fills missing frequency values and preserves exact frequency.
serp:import
- Required parameters
site_uuid, file_name, content_base64, operation_key- Optional parameters
region_ids, frequency_search_engine, replace_existing_history
- Before use
site_uuid; file_name + content_base64; labrika_serp_regions_search → region_ids- How to check the result
labrika_action_get → job_group_id → labrika_keyword_rankings_import_get
Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.
Provide the original CSV or XLSX, not a screenshot of a table. The limit is 10 MiB. Check the preview and search-setting mappings first; confirm the import in Labrika.
labrika_keyword_rankings_import_get
Example requests
How is the rankings import progressing?
How many rankings were imported from the file?
Check import status by job_group_id. Possible values are pending, finished and failed. On completion, processed_positions includes existing entries skipped in append mode. The result also counts added keywords, search settings, regions, date entries and positions.
serp:import
- Required parameters
site_uuid, job_group_id
- Before use
labrika_action_get → job_group_id; site_uuid- How to check the result
-
Check the existing job using its identifier. A pending or intermediate status is not a finished report; read any error before attempting another launch.
pending / finished / failed
labrika_serp_dates_list
Example requests
Which dates have rankings for example.com?
When were rankings last checked?
List the ranking snapshots available for a site and search engine.
serp:read
- Required parameters
site_uuid, search_engine_id- Optional parameters
limit, cursor
- Before use
labrika_serp_sites_list → site_uuid + search_engine_id- How to check the result
-
If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.
collected_at → labrika_serp_positions_list
labrika_serp_positions_list
Example requests
What are example.com's rankings?
Show rankings for phrases about tea.
Get keyword rankings for a snapshot from the dates list, or use last for the latest one.
serp:read
- Required parameters
site_uuid, search_engine_id, collected_at- Optional parameters
limit, cursor, search
- Before use
labrika_serp_sites_list → site_uuid + search_engine_id; labrika_serp_dates_list → collected_at- How to check the result
-
If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.
collected_at + search_engine_id
Collect positions without a project
Tool reference (2)
Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.
Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.
labrika_serp_check_prepare
Example requests
Check two phrases without creating a project.
How much is a top-50 check for example.com?
Quote a domain search without a project. Identical results already collected in the past 24 hours are free.
For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.
serp:checks
- Required parameters
domain, search_engine, region, keywords, depth, operation_key
- Before use
domain + search_engine + region + keywords + depth- How to check the result
-
Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.
labrika_action_get → check_id → labrika_serp_check_get
Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.
One-off check results are available for 24 hours; save them before they expire. An identical cached result is free, while a new collection may incur a charge. Show amount_major with currency; amount_minor uses minor currency units and may be fractional.
Agree on the search engine, country and city first. region_code, region_id and search_engine_id are different parameters; do not substitute one for another. Search Google regions in English on labrika.com.
depth=10 / 20 / 50 / 100
labrika_serp_check_get
Example requests
Show rankings from the one-off check.
Show snippets from the search results.
Read domain positions or search snippets from a temporary check.
serp:checks
- Required parameters
check_id- Optional parameters
view, limit, cursor
- Before use
labrika_serp_check_prepare / labrika_action_get → check_id- How to check the result
-
If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.
view=positions / snippets
One-off check results are available for 24 hours; save them before they expire. An identical cached result is free, while a new collection may incur a charge. Show amount_major with currency; amount_minor uses minor currency units and may be fractional.
Other articles in this section
- Getting started with Labrika MCP
- Connect to ChatGPT
- Connect to Claude
- Connect to other AI tools
- Websites, groups and SEO audits with MCP
- AI visibility and content optimization with MCP
- Change monitoring and schedules with MCP
- Work plans and tasks with MCP
- SERM, expert articles and specialists with MCP
- Practical MCP workflows
