MetorialDocs

Set up Semrush in Metorial for Claude, ChatGPT and Cursor

Share Semrush with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 13 tools (9 read-only).

To give your team Semrush in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Semrush integration in a Metorial portal, and each person signs in to Semrush with their own account. Agents can retrieve SEO, PPC, and competitive intelligence data for domains, keywords, and backlinks. The integration has 13 tools, 9 read-only and 4 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Semrush in a portal and how each person connects
  • The 4 OAuth scopes Semrush can request, and what each one allows
  • How to keep the 9 read-only tools and reject the other 4

Before you start

Sign-in methods

MethodTypeWhat a person provides
API KeyAPI tokenapiKey
OAuth 2.0 (default)OAuthSigns in to Semrush

The portal and metorial setup use OAuth 2.0 unless someone picks another method.

API Key

To connect, a person enters:

  • apiKey: Your Semrush API key. Find it on the API Units tab of the Subscription Info page.

OAuth 2.0

People sign in to Semrush and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
user.idUser IDAccess your user identity
domains.infoDomains InfoAccess domain information and reports
url.infoURL InfoAccess URL-level information
positiontracking.infoPosition TrackingAccess position tracking data and campaigns

Setup settings

Whichever method you pick, setup also asks for:

  • database (optional): Regional database code (e.g., us, uk, de, fr, es, it, br, ca, au, ru). Defaults to "us".

Use your own Semrush OAuth app

With your own OAuth app, people see your company's name on the Semrush consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Semrush and copy the Redirect URI.

Register the app with Semrush

Create an OAuth app or client in Semrush and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Semrush integration.

Admin: share Semrush in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Semrush. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Semrush as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Semrush.

Choose who gets it

Add the access groups that should see Semrush. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Semrush integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search semrush

Employee: connect Semrush

In the portal

Open Semrush in the catalog

Sign in to your portal and open Semrush. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Semrush sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search semrush
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Semrush connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list semrush
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as analyze_traffic and compare_domains, and lose the 4 destructive tools, such as manage_listing or manage_project.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list semrush
metorial tools <integration-id>
metorial call <integration-id> get_map_rankings -d '{"reportType":"campaigns"}'

metorial tools lists the 13 tools, minus any you rejected. get_map_rankings needs reportType, so replace the placeholders. It accesses Map Rank Tracker data including campaigns, keyword rankings, heatmaps, and top competitors for local map pack rankings.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (9)

  • analyze_traffic: Analyze website traffic and audience data using the Semrush Trends API. Needs targets.
  • get_domain_overview: Retrieve a comprehensive SEO and PPC overview for a domain including organic/paid keywords count, traffic estimates, cost estimates, and ranking. Needs domain.
  • get_domain_keywords: Retrieve organic and/or paid keywords that a domain ranks for in search results. Needs domain.
  • get_domain_competitors: Find and analyze a domain's organic and/or paid search competitors. Needs domain.
  • analyze_backlinks: Analyze the backlink profile of a domain, subdomain, or URL. Needs target.
  • compare_domains: Compare keyword overlap between multiple domains (up to 5) to identify shared and unique keyword opportunities. Needs domains.
  • research_keyword: Get comprehensive data for one or more keywords including search volume, CPC, competition level, keyword difficulty, SERP features, and number of results. Needs keywords.
  • get_map_rankings: Access Map Rank Tracker data including campaigns, keyword rankings, heatmaps, and top competitors for local map pack rankings. Needs reportType.
  • get_api_unit_balance: Check the remaining Standard API units before requesting SEO reports.

Destructive tools (4)

  • manage_site_audit: Enable, run, and retrieve site audit results for Semrush projects. Needs action and projectId.
  • manage_project: Create, update, delete, or list Semrush projects. Needs action.
  • manage_position_tracking: Set up and manage position tracking campaigns within Semrush projects. Needs action and projectId.
  • manage_listing: Manage business location data in Semrush Listing Management. Needs action.

Triggers

Semrush has 1 trigger, which fire on events in Semrush:

  • inbound_webhook

Next steps