Moz MCP server
74 operations4 webhooks
SEO data with Moz - site metrics (Domain Authority, Page Authority, Spam Score, Brand Authority, histories), backlinks, linking domains, anchor texts, top pages, ranking keywords, keyword metrics, SERPs and suggestions, competitors, global top lists, and Moz Local accounts, groups, locations, listings and insights.
Try Moz with your agent
Connect Moz, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Moz on my account, then run one read-only example and show me the result.
Moz tools and triggers
Tools are what your agent can do in Moz through Corsair's MCP server. Triggers are the Moz events a routine can start from.
Local
- Accounts.CreateWrite
Creates a new Moz Local Account. Moz Local Enterprise only. Free (no quota).
local.accounts.create
- Accounts.ListRead-only
List all Moz Local Accounts. Moz Local Enterprise only. Free (no quota).
local.accounts.list
- Accounts.LookupRead-only
Lookup a specific Moz Local Account by ID. Moz Local Enterprise only. Free (no quota).
local.accounts.lookup
- Custom Fields.CreateWrite
Creates a location custom field definition on a Moz Local Account. Moz Local Enterprise only. Free (no quota).
local.customFields.create
- Custom Fields.List For AccountRead-only
List all location custom fields for a given Moz Local Account ID. Moz Local Enterprise only. Free (no quota).
local.customFields.listForAccount
- Custom Fields.LookupRead-only
Lookup a specific custom field by ID for a Moz Local Account. Moz Local Enterprise only. Free (no quota).
local.customFields.lookup
- Groups.Add LocationWrite
Add a location to a group. Moz Local Enterprise only. Free (no quota).
local.groups.addLocation
- Groups.CreateWrite
Creates a new group in a Moz Local Account to organize locations. Moz Local Enterprise only. Free (no quota).
local.groups.create
- Groups.ListRead-only
List all local groups. Moz Local Enterprise only. Free (no quota).
local.groups.list
- Groups.List For AccountRead-only
List all groups for a given Moz Local Account ID. Moz Local Enterprise only. Free (no quota).
local.groups.listForAccount
- Groups.List LocationsRead-only
List locations in a given group. Moz Local Enterprise only. Free (no quota).
local.groups.listLocations
- Groups.LookupRead-only
Lookup a specific group by ID. Moz Local Enterprise only. Free (no quota).
local.groups.lookup
- Groups.Remove LocationWrite
Remove a location from a group. Moz Local Enterprise only. Free (no quota).
local.groups.removeLocation
- Locations.CancelDestructive
Cancel a specific location by ID. Moz Local Enterprise only. Free (no quota). Stops the paid listing service for the location.
local.locations.cancel
- Locations.CategoriesRead-only
Retrieve a list of Google category IDs that can be used for `primary_category` or `additional_categories` when creating or updating a location. Moz Local Enterprise only. Free (no quota).
local.locations.categories
- Locations.CloseDestructive
Closes a location, setting its status to closed and opening status to permanently closed. Moz Local Enterprise only. Free (no quota). Marks the business permanently closed on every directory.
local.locations.close
- Locations.CreateDestructive
Creates a new location. Moz Local Enterprise only. Free (no quota). Adds a billed Moz Local location.
local.locations.create
- Locations.Field IssuesRead-only
Returns field-level discrepancy issues for a given location. Moz Local Enterprise only. Free (no quota).
local.locations.fieldIssues
- Locations.Field StatusesRead-only
Returns field-level listing health data for a given location. Moz Local Enterprise only. Free (no quota).
local.locations.fieldStatuses
- Locations.Gbp Impression HistoryRead-only
Returns Google Business Profile keyword-impression history over time (month by month) for a location's top-performing keywords. Moz Local Enterprise only. Free (no quota).
local.locations.gbpImpressionHistory
- Locations.Gbp Impression TotalsRead-only
Returns total Google Business Profile keyword impressions for a given location and date range, ordered from most to least impressions. Moz Local Enterprise only. Free (no quota).
local.locations.gbpImpressionTotals
- Locations.Gbp Lead HistoryRead-only
Returns Google Business Profile lead history over time for a given location, bucketed by day, week, or month. Moz Local Enterprise only. Free (no quota).
local.locations.gbpLeadHistory
- Locations.LevelsRead-only
List the available levels of service for locations. Moz Local Enterprise only. Free (no quota).
local.locations.levels
- Locations.ListRead-only
List all locations. Free (no quota).
local.locations.list
- Locations.List By StatusRead-only
List locations filtered by status. Free (no quota).
local.locations.listByStatus
- Locations.List For AccountRead-only
List all active locations filtered by Moz Local Account ID. Free (no quota).
local.locations.listForAccount
- Locations.ListingsRead-only
Returns a list of listings for a given location. Moz Local Enterprise only. Free (no quota).
local.locations.listings
- Locations.Local Grid HistoryRead-only
Returns all Local Grid results over time for a given keyword, device, engine, and location, including every dot of each grid. Moz Local Enterprise only. Free (no quota).
local.locations.localGridHistory
- Locations.Local Grid KeywordsRead-only
Returns the keywords available to generate a Local Grid report on for a given location. Moz Local Enterprise only. Free (no quota).
local.locations.localGridKeywords
- Locations.LookupRead-only
Lookup a specific location by ID. Free (no quota).
local.locations.lookup
- Locations.Network StatusesRead-only
Returns a list of statuses per network for a given location. Moz Local Enterprise only. Free (no quota).
local.locations.networkStatuses
- Locations.NetworksRead-only
Returns a list of networks for a given location. Moz Local Enterprise only. Free (no quota).
local.locations.networks
- Locations.Ranking HistoryRead-only
Returns keyword ranking position over time for a location's tracked keywords. Moz Local Enterprise only. Free (no quota).
local.locations.rankingHistory
- Locations.UpdateWrite
Update a single location. Moz Local Enterprise only. Free (no quota). Moz Local publishes the change to the business listings on every directory.
local.locations.update
- Locations.Update LevelDestructive
Updates the tier of service for a single location. Moz Local Enterprise only. Free (no quota). Changes the billed service level.
local.locations.updateLevel
Keywords
- DifficultyRead-only
Retrieve the most recent difficulty metric for any keyword that exists in our database. Costs 1 row per call.
keywords.difficulty
- Generate MetricsDestructive
Trigger on-demand collection of a SERP and return the refreshed metrics once collection is complete. Asynchronous: answers with an async_call to poll with jobs.lookup. Quota cost varies by request. Runs a fresh on-demand SERP collection, billed per call.
keywords.generateMetrics
- Generate SerpDestructive
Trigger on-demand collection of a SERP, returning it upon completion. Asynchronous: answers with an async_call to poll with jobs.lookup. Quota cost varies by request. Runs a fresh on-demand SERP collection, billed per call.
keywords.generateSerp
- IntentRead-only
Retrieve the most recent search intent scores (navigational, informational, commercial, and transactional) for any keyword that exists in our database. Costs 1 row per call.
keywords.intent
- MetricsRead-only
Retrieve the most recent difficulty, volume, organic CTR, priority, and/or search intent metrics for any keyword that exists in our database. Costs one row per returned metric value: 4, plus 1 for search intent, which is opt-in with options.include_intent until 2026-12-01 and returned by default from then.
keywords.metrics
- Metrics MultipleRead-only
Retrieve difficulty, volume, organic CTR, priority, and search intent metrics for up to 50 keywords in a single request. Costs one row per returned metric value, up to 5 per keyword; null metrics and keywords in errors_by_serp_query cost nothing.
keywords.metricsMultiple
- OpportunityRead-only
Retrieve the most recent organic CTR (opportunity) metric for any keyword that exists in our database. Costs 1 row per call.
keywords.opportunity
- PriorityRead-only
Retrieve the most recent priority metric for any keyword that exists in our database. Costs 1 row per call.
keywords.priority
- SerpRead-only
Retrieve the most recently collected SERP for a given query. Quota cost varies by request.
keywords.serp
- SuggestionsRead-only
Retrieve a list of related keyword suggestions for a given input keyword. Asynchronous: answers with an async_call to poll with jobs.lookup. Costs rows per result returned.
keywords.suggestions
- VolumeRead-only
Retrieve the most recent volume metric for any keyword that exists in our database. Costs 1 row per call.
keywords.volume
Links
- Filter By Anchor TextRead-only
Use this endpoint to get a list of links to a target where the anchor text exactly matches a particular string. Costs rows per result returned.
links.filterByAnchorText
- Filter By DomainRead-only
Use this endpoint to find links pointing to a target only if they originate from a particular root domain. Costs rows per result returned.
links.filterByDomain
- IntersectRead-only
This endpoint returns information about sites that point to two or more specified domains, or that point at some domains but not others. Quota cost varies by request.
links.intersect
- ListRead-only
Use this endpoint to get a list of links to a target. Costs rows per result returned.
links.list
- StatusRead-only
Use this endpoint to get the status of a link from a source to a target. Costs 1 row per call.
links.status
- Status MultipleRead-only
Use this endpoint to get the status of multiple links from a source to a target. Costs rows per result returned.
links.statusMultiple
Metrics
- Brand AuthorityRead-only
This endpoint returns a Brand Authority™ score for the provided site. Costs 1 row per call.
metrics.brandAuthority
- DistributionsRead-only
Fetch Site Metrics Distributions. Costs 1 row per call.
metrics.distributions
- FetchRead-only
Use this endpoint to get metrics such as Domain Authority, Page Authority, Spam Score, link counts and more for one URL. Costs 1 row per call.
metrics.fetch
- Fetch MultipleRead-only
Use this endpoint to get metrics such as Domain Authority, Page Authority, Spam Score, link counts and more about one or more URLs. Costs rows per result returned.
metrics.fetchMultiple
- HistoriesRead-only
Use this endpoint to get daily or monthly metric histories for a single site. Costs rows per value requested.
metrics.histories
Linking Domains
- ListRead-only
Use this endpoint to get a list of linking root domains to a target, with information about each root domain and the aggregate number of links to the target. Costs rows per result returned.
linkingDomains.list
- Recently GainedRead-only
This endpoint will return information about external root domains that added new links to a target during the past 60 days. Costs rows per result returned.
linkingDomains.recentlyGained
- Recently LostRead-only
This endpoint will return information about root domains that removed links to a target during the past 60 days. Costs rows per result returned.
linkingDomains.recentlyLost
Global
- Top DomainsRead-only
Get the top ranking domains globally. Free (no quota).
global.topDomains
- Top PagesRead-only
Get the top ranking pages globally. Free (no quota).
global.topPages
Ranking Keywords
- CountRead-only
Retrieve a summary of the number of keywords for which the provided query (domain, subdomain, or page) ranks in the top 50. Costs 1 row per call.
rankingKeywords.count
- ListRead-only
Retrieve a list of keywords for which the provided site (domain, subdomain, subfolder, or page) ranks in the top 50, along with the ranking position and the difficulty and monthly search volume for each keyword. Costs rows per result returned.
rankingKeywords.list
Test
- PingRead-only
Use this endpoint to verify that your integration with the Moz JSON-RPC API works end to end, without spending any quota. Free (no quota).
test.ping
- Ping AsyncRead-only
Use this endpoint to verify that your integration correctly handles the asynchronous methods in the Moz JSON-RPC API, without spending any quota. Asynchronous: answers with an async_call to poll with jobs.lookup. Free (no quota).
test.pingAsync
Anchor Text
- ListRead-only
Use this endpoint to get data about anchor text used to link to a specified site. Costs rows per result returned.
anchorText.list
Competitors
- FetchRead-only
Get the top ranking competitors for a given target site, sorted by rivalry descending. Asynchronous: answers with an async_call to poll with jobs.lookup. Draws on the mozscape rows quota.
competitors.fetch
Index
- FetchRead-only
Use this endpoint to track when the index is updated with new data. Free (no quota).
index.fetch
Locales
- ListRead-only
Use this endpoint to list every locale a search engine supports. Free (no quota).
locales.list
Quota
- LookupRead-only
Check how much quota is used/available for the current billing period, as well as additional information about the quota such as whether or not overages are enabled. Free (no quota).
quota.lookup
Redirects
- FetchRead-only
Use this endpoint to see the final redirect target of a page after following known redirects in the index. Costs 1 row per call.
redirects.fetch
Top Pages
- ListRead-only
Use this endpoint to return a list of the top pages on a target domain, sorted by descending page authority, linking root domains, or external linking pages. Costs rows per result returned.
topPages.list
Jobs
- LookupRead-only
Fetch an `async_call` by ID to retrieve the result or error. Free (no quota).
jobs.lookup
Connect Moz to Claude, ChatGPT or Cursor
- 1
Connect Moz in Corsair
Add your Moz API key once in Corsair. Corsair stores the credential encrypted and makes the Moz API calls for your agent, so it never goes into a prompt or a config file. Connect Moz
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Moz. On a ChatGPT personal plan, connect Moz here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Moz's read and write operations run right away and its 6 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/moz, add the Moz plugin, and connect with an API key. Then call methods like corsair.moz.api.anchorText.list() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Moz requires an API key from your Moz account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Moz, GitHub, Notion, Stripe, and the rest. Trigger Moz from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for SEO data with Moz - site metrics (Domain Authority, Page Authority, Spam Score, Brand Authority, histories), backlinks, linking domains, anchor texts, top pages, ranking keywords, keyword metrics, SERPs and suggestions, competitors, global top lists, and Moz Local accounts, groups, locations, listings and insights. Common builds include sync jobs, admin tooling, and agents that call Moz APIs from your backend. Webhook handlers react to Moz events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Moz API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/moz in the open repo. When Moz ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Moz data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Moz data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Moz on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 6 destructive Moz operations. You can change a link's mode at hub.corsair.dev/me.