The Pierview MCP server lets AI tools like Claude Desktop and Claude Code query your AI visibility data directly. Ask questions about your citations, key metrics, and competitor mentions without leaving your workflow. You can also read and edit your brand kit — have Claude structure your brand guidelines and save them back to Pierview.Authentication is secured using OAuth with OIDC with PKCE.
Click the Connect button, follow the authentication steps which will request access to your Pierview data on behalf of Claude.
1
Add the MCP server
Run the following command in your terminal:
claude mcp add pierview --transport http https://mcp.pierview.ai
2
Start Claude Code
Run claude in your terminal. You will be prompted to sign in with your Pierview account on first use.
3
Authenticate
Run the /mcp command in your Claude Code instance. This will allow you to select the pierview mcp server. On authentication, it’ll prompt you to login via the browser.
All data tools accept an optional organizationId parameter. If omitted, your default organization is used. Call list_organizations first to see your available organizations.
List all organizations you have access to. Call this first to discover available organization IDs.Parameters: NoneReturns: Array of organizations with organizationId, organizationName, workspaceName, and role.
Get mention rate, average ranking, and share of voice for your organization (same as the Key Metrics cards on the dashboard). The previous period of equal length is computed automatically for comparison.Parameters:
Parameter
Type
Required
Description
startDate
string
No
Start of the window in YYYY-MM-DD format. Defaults to 14 days before endDate
endDate
string
No
End of the window in YYYY-MM-DD format. Defaults to today. If both dates omitted, uses the past 14 days
organizationId
number
No
Organization to query (defaults to your default org)
Returns:
Field
Type
Description
mention_rate
number | null
Percentage of LLM responses that mention your organization
average_ranking
number | null
Mean ranking position when mentioned (lower is better)
share_of_voice
number | null
Your mentions as a percentage of all competitor mentions
Get top cited hosts/domains with citation counts and per-LLM breakdown. The previous period of equal length is computed automatically for comparison.Parameters:
Parameter
Type
Required
Description
limit
number
No
Max hosts to return (default 50, max 500; the dashboard API caps at 200)
startDate
string
No
Start of the window in YYYY-MM-DD format. Defaults to 14 days before endDate
endDate
string
No
End of the window in YYYY-MM-DD format. Defaults to today. If both dates omitted, uses the past 14 days
granularity
string
No
week (default) compares this week vs last week; month compares calendar months. Ignored when both dates set
cumulativeAsOf
string
No
When set (YYYY-MM-DD), adds cumulative_current/cumulative_previous (all citations ever up to that date vs end of the prior calendar month)
organizationId
number
No
Organization to query
Returns: Cited hosts with total counts, period-over-period deltas, and per-LLM citation breakdowns.
Get top cited pages (URLs) with period citation metrics and per-LLM breakdown. The previous period of equal length is computed automatically for comparison.Parameters:
Parameter
Type
Required
Description
limit
number
No
Max pages to return (default 50, max 500)
startDate
string
No
Start of the window in YYYY-MM-DD format. Defaults to 14 days before endDate
endDate
string
No
End of the window in YYYY-MM-DD format. Defaults to today. If both dates omitted, uses the past 14 days
granularity
string
No
week (default) compares this week vs last week; month compares calendar months. Ignored when both dates set
organizationId
number
No
Organization to query
Returns: Cited pages with URL, title, total counts, and per-LLM citation breakdowns.
Full website traffic analytics for your organization (same data as Dashboard → Traffic Analysis). Returns total visits, unique visitors, live users, top referrers, traffic sources breakdown, device breakdown, session metrics, bot vs human traffic analysis, UTM campaign analytics, and daily traffic time series.Parameters:
Parameter
Type
Required
Description
startDate
string
No
Start of the window in YYYY-MM-DD format. Defaults to 14 days before endDate
endDate
string
No
End of the window in YYYY-MM-DD format. Defaults to today. If both dates omitted, uses the past 14 days
organizationId
number
No
Organization to query
Returns:
Field
Type
Description
totalVisits
number
Total page visits in the period
uniqueVisitors
number
Unique visitor count
liveUsers
number
Currently active users
topReferrers
array
Top referrer domains with visit counts and percentages
Brand sentiment analysis derived from LLM visibility responses. Returns an average sentiment score, distribution across positive/neutral/negative/mixed responses, per-platform breakdown, and top brand strengths and weaknesses extracted by AI.Parameters:
Parameter
Type
Required
Description
llmId
number
No
Filter to a specific LLM by ID. Omit for all LLMs
days
number
No
Restrict to responses from the last N days. Omit for all time
organizationId
number
No
Organization to query
Returns: Average sentiment score (0–100), sentiment distribution counts, per-platform breakdown, and lists of top brand strengths and weaknesses.
AI-extracted facts about your tracked competitors from LLM visibility responses. For each competitor, returns positive and negative facts along with a sentiment score.Parameters:
Parameter
Type
Required
Description
llmId
number
No
Filter to a specific LLM by ID. Omit for all LLMs
days
number
No
Restrict to responses from the last N days. Omit for all time
organizationId
number
No
Organization to query
Returns:competitorGroups — array of competitors, each with up to 15 extracted facts and a sentiment score.
AI-extracted facts about your own brand from LLM visibility responses. Returns a brand attribute breakdown by category (pricing, performance, usability, features, support, brand) with positive/negative signal counts, plus a list of specific brand facts with their polarity.Parameters:
Parameter
Type
Required
Description
llmId
number
No
Filter to a specific LLM by ID. Omit for all LLMs
days
number
No
Restrict to responses from the last N days. Omit for all time
organizationId
number
No
Organization to query
Returns:attributes — per-category breakdown with positive/negative counts; brandFacts — up to 40 specific extracted facts with polarity.
Read your organization’s brand kit — the structured brand guidelines used to keep generated content on-brand. This is your own authored content (not AI-extracted), edited from the Brand Kit section of the dashboard or via update_brand_kit.Parameters:
Parameter
Type
Required
Description
organizationId
number
No
Organization to query
Returns:
Field
Type
Description
configured
boolean
Whether a brand kit row exists yet for the organization
brandDescription
string | null
What the brand/company does, in plain language
brandVoice
string | null
Tone and voice guidelines
authorPersona
string | null
The persona/POV content should be written from
writingRules
string | null
Specific writing rules, style constraints, or do/don’t guidance
productLines
array
Product lines, each with a title and description (empty if none)
Write tool. Unlike the read-only data tools, update_brand_kit modifies your brand kit. It is annotated destructiveHint so MCP clients can prompt for confirmation before running it.
Update your organization’s brand kit / brand guidelines. Only the fields you provide are changed — omitted fields keep their current value. Use this to write structured brand guidance (e.g. distilled from documents or notes you share) into the brand kit. Provide at least one field.Parameters:
Parameter
Type
Required
Description
brandDescription
string
No
What the brand/company does, in plain language
brandVoice
string
No
Tone and voice guidelines, e.g. “confident, concise, no jargon”
authorPersona
string
No
The persona/POV content should be written from
writingRules
string
No
Specific writing rules, style constraints, or do/don’t guidance
productLines
array
No
Full replacement list of product lines, each { title, description } — not merged with existing
Filters your website traffic to show only visits originating from AI/LLM platforms (ChatGPT, Claude, Perplexity, Gemini, Copilot, and others). Covers both direct referrer domains and UTM-tagged sources.Parameters:
Parameter
Type
Required
Description
startDate
string
No
Start of the window in YYYY-MM-DD format. Defaults to 14 days before endDate
endDate
string
No
End of the window in YYYY-MM-DD format. Defaults to today. If both dates omitted, uses the past 14 days
List full-site AI SEO crawls for the organization, most recent first. Each crawl audits an entire domain. Call this first to find crawl IDs before fetching specific audit results with get_ai_seo_audit_checks.Parameters:
Parameter
Type
Required
Description
limit
number
No
Max crawls to return (default 10, max 20)
organizationId
number
No
Organization to query
Returns:crawls — array of crawls with crawl ID, domain, status (running or completed), and score breakdowns.
Get AI SEO check results for your organization from a site crawl. Without auditId, lists recent crawls. With auditId (a crawl ID, e.g. from list_ai_seo_crawls), returns the crawl’s site-wide checks (e.g. robots_present, sitemap, llms_txt), post-crawl checks, and per-page individual checks (e.g. canonical, title_description, structured_data) with pass/fail status, scores, and details. Pages are returned worst-scoring first and capped at 100; totalPages reports the full count so you can tell when the list is truncated.Parameters:
Parameter
Type
Required
Description
auditId
number
No
Specific crawl ID to fetch checks for. Omit to list recent crawls
limit
number
No
Max crawls to list when auditId is omitted (default 10, max 20)
organizationId
number
No
Organization to query
Returns: When auditId is provided: crawl metadata (domain, status, scores), siteWideChecks, postCrawlChecks, totalPages (full page count), and pages — the worst-scoring pages first (capped at 100), each with its own checks (per-check pass/fail status, scores, and details). When omitted: crawls array of recent crawls with crawl ID, domain, status, and score breakdowns.
Per-prompt mention rate (share of responses mentioning your brand) for each tracked prompt, compared across two consecutive 14-day windows. Results are sorted by absolute change, descending.Parameters:
Parameter
Type
Required
Description
asOfDate
string
No
End date of the current 14-day window in YYYY-MM-DD format. Omit for today
organizationId
number
No
Organization to query
Returns:prompts — per-prompt current and previous mention rate (0–1 fractions) plus response counts per window; asOfDate and windowDays echoing the window used.
Generate a complete performance report for your brand over any date range (a full month, a half month, or a custom span). Assembles five sections — visibility metrics, citation growth, content performance, prompt coverage wins, and technical — with display-ready numbers, deltas resolved against the equal-length window immediately before the range, and top movers pre-selected.Parameters:
Parameter
Type
Required
Description
startDate
string
Yes
Inclusive start of the reporting range in YYYY-MM-DD format
endDate
string
Yes
Inclusive end of the reporting range in YYYY-MM-DD format
organizationId
number
No
Organization to query
Returns:report — the assembled report object with all five sections; format_guide — guidance for narrating the report as prose.
API keys let you authenticate with the Pierview MCP server using a Bearer token instead of OAuth. This is useful for server-side integrations, CI/CD pipelines, or any environment where browser-based OAuth isn’t practical.Keys are scoped to your organization and can be created, viewed, and revoked from the Pierview dashboard.
Click Create API Key, enter a descriptive name (e.g. “Production MCP” or “CI Pipeline”), then click Create.
3
Copy your key
Your full API key will be displayed once. Copy it and store it securely, you won’t be able to see it again.The key starts with pv_ followed by 32 hex characters.
Store your API key in a secure location such as an environment variable or
secrets manager. Never commit API keys to source control.
To revoke an API key, go to the API Keys tab in Configuration and click the trash icon next to the key you want to disable. Revoked keys are immediately rejected by the server.