Foglift: AI Search Visibility and Google Search Console

v1.2.1
io.foglift/mcp Checked 1 day ago Published 9 days ago

AI search visibility in ChatGPT, Claude, Perplexity, Gemini, AI Overviews, plus GSC and Bing data

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_website

Scan a website URL for SEO, GEO, and AI search readiness. Returns overall score, category scores (technical SEO, content quality, AI optimization, schema markup), and a list of specific issues with fix suggestions.

ParameterTypeDescription
url *stringThe full URL to scan (e.g. https://example.com)

batch_scan

Scan multiple URLs in one request (max 10). Returns scores and issues for each URL. Requires API key.

ParameterTypeDescription
urls *arrayArray of URLs to scan (max 10)

run_ai_visibility

Run an AI visibility check — query AI models (ChatGPT, Claude, Perplexity, Gemini) with prompts related to your domain and see if they mention or recommend your brand. Returns per-model results with citation status and sentiment.

ParameterTypeDescription
domain *stringThe domain to check (e.g. example.com)
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
modelsarrayModels to test (e.g. chatgpt, claude, perplexity, gemini)
promptsarrayCustom prompts to test
use_saved_promptsbooleanUse previously saved prompts
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_ai_results

Get historical AI visibility results for your domain. Shows how AI models have mentioned your brand over time, with sentiment and citation data.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberNumber of days of history (default 30)
limitnumberResults per page (default 20)
modelstringFilter by model name
pagenumberPage number for pagination
promptstringFilter by prompt text
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_search_trace

Get the ordered ChatGPT search trace for one AI visibility result, including search steps, queries, pages read, citation flags, run rollups, and the trailing 30-day prompt rollup when available.

ParameterTypeDescription
result_id *stringThe AI visibility result UUID returned by get_ai_results.

get_prompts

Get your saved AI visibility monitoring prompts. These are the prompts used to check if AI models mention your brand.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

add_prompt

Add a new prompt to monitor for AI visibility. The prompt will be periodically tested against AI models to check if they mention your brand.

ParameterTypeDescription
prompt *stringThe prompt text to save
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
categorystringCategory for the prompt
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

delete_prompt

Delete a saved AI visibility monitoring prompt by its ID.

ParameterTypeDescription
prompt_id *stringThe ID of the prompt to delete
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_models

Get your enabled AI models and monitoring frequency settings. Account-level setting — applies to every brand on your account.

set_models

Update which AI models are enabled for monitoring and the monitoring frequency. Account-level setting — applies to every brand on your account.

ParameterTypeDescription
enabled_modelsobjectMap of model names to enabled status (e.g. {"chatgpt": true, "claude": false})
monitoring_frequencystringMonitoring frequency: daily, weekly, or monthly

get_sentiment

Get AI sentiment analysis results — shows how AI models talk about your brand (positive, neutral, negative) with trends over time.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberNumber of days of history
modelstringFilter by model name
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_usage

Get API usage statistics for your Foglift account — scan count, AI visibility checks, and quota remaining.

get_scan_history

Get historical scan results for a specific URL — shows how scores have changed over time.

ParameterTypeDescription
url *stringThe URL to get scan history for

get_geo_monitor

Get GEO monitoring data — track how your site's AI search optimization scores change over time.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberNumber of days of history
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_referrer_analytics

Get AI-engine referrer analytics — total visits, per-engine breakdown, top landing paths, and daily trend for visitors arriving from ChatGPT, Claude, Perplexity, Gemini, Copilot, NotebookLM, and other AI engines.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberNumber of days to include (default 30, max 365)
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_crawler_analytics

Get observed AI crawler activity for a brand, including total visits, engine and crawler-category breakdowns, distinct pages reached, top paths, and the time trend. Use this for server-observed bot access; use get_referrer_analytics for human visits arriving from AI answer links.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberNumber of days to include (default 30, max 365)
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_competitors

Compare this brand with its named competitors using current and previous monitoring windows. Returns result mention rates and percentage-point changes, with incomplete rates omitted when an evidence window reaches its cap. Use this for competitive visibility trends; use get_source_gap to find third-party citation opportunities.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberDays per comparison window (default 30, max 90). The tool compares this window with the immediately preceding window.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_source_gap

Find domains AI answers cite when this brand is absent, including which tracked competitors appear beside each source and an authority-based attainability signal. When authority is queued for refresh, authority and attainability remain null and authority_pending is true. Use this to prioritize citation outreach and source-layer coverage.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberEvidence window in days (default 30, max 90)
limitnumberMaximum source gaps to return (default 8, max 20)
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_aeo_score

Read the latest stored AI Readiness page score for a brand plus its score history and direction of change. This uses existing deterministic score evidence and does not run a new analysis or spend AI tokens.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
urlstringOptional exact page URL. Omit to return the newest stored score across the brand.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_search_console

Fetch Google Search Console or Bing Webmaster Tools data for the connected domain — top queries, top pages, and search demand with low AI visibility. Defaults to Google for backward compatibility.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
daysnumberDate range in days (default 28, max 90)
limitnumberMax rows to return (default 20, max 50)
providerstringSearch Console provider. Default: google
typestringData type: 'queries' (top search queries), 'pages' (top pages), 'contested' (queries with GSC impressions but low AI visibility), or 'crawl' (Bing-only crawl and index snapshots). Default: queries
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

estimate_cost

Estimate token cost before running run_ai_visibility. Accepts the same prompt/model shape as run_ai_visibility plus brand_id. Returns estimated_tokens, current_balance, and sufficient so agents can avoid overdrawing the account before a scan.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
enginesarrayAlias for models.
modelsarrayModels to estimate, matching run_ai_visibility (chatgpt, claude, perplexity, gemini, ai-overview).
promptstringSingle-prompt shorthand.
promptsarrayCustom prompts to estimate. If omitted, active saved prompts for the brand are counted.
use_saved_promptsbooleanWhen true or when prompts are omitted, count active saved prompts for this brand.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

get_recommendations

Get AI visibility recommendation diagnostics for a Foglift brand without spending Foglift server-side recommendation tokens. Returns weak engines, weak prompts, citation/competitor gaps, already stored Foglift or customer-agent recommendations, and a reasoning recipe. After applying a recommendation, re-run run_ai_visibility and get_ai_results to verify movement. Legacy workspace_id is accepted as an alias.

ParameterTypeDescription
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

submit_recommendation

Submit a recommendation generated by your agent back to Foglift. Foglift stores it as source='customer_agent' for the brand and surfaces it in the dashboard and recommendation digest as generated by your agent. Include the fix, target tier or prompt, rationale, and expected impact. Legacy workspace_id is accepted as an alias.

ParameterTypeDescription
brand_id *stringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
description *stringSpecific fix or change-set to make.
title *stringShort action title.
competitorstringOptional competitor being countered.
enginestringOptional affected AI engine.
expected_impactstringExpected measurable improvement.
pagestringOptional target page path or URL.
prioritystringRecommended priority.
promptstringOptional affected prompt.
rationalestringWhy this action should improve visibility.
target_tierstringOptional AI Visibility tier slug such as t3-brand.
typestringRecommendation category.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

apply_recommendation

Prepare the next action for a stored Foglift or customer-agent recommendation. For customer-site edits, returns a precise change-set instead of modifying the site. After applying, re-run run_ai_visibility and get_ai_results to verify movement. Legacy workspace_id is accepted as an alias.

ParameterTypeDescription
brand_id *stringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
recommendation_id *stringStored recommendation id from get_recommendations or submit_recommendation.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

generate_content_brief

Generate a content brief for a page in the target Foglift brand, using the brand context when brand_id is provided. Use this for recommendation follow-through on content_gap or visibility_boost fixes. Legacy workspace_id is accepted as an alias.

ParameterTypeDescription
brand_id *stringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
url *stringTarget page URL or path to brief.
recTitlestringOptional recommendation title to seed the brief context.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

report_issue

Report a bug, unexpected behavior, question, or feature request to the Foglift team. You can describe this far more precisely than a human user - please do. Include exactly what you were trying to accomplish, the precise Foglift tool/endpoint and arguments you called, the actual result vs. what you expected, any error code or message, step-by-step reproduction, and your own hypothesis about the cause. More detail = faster resolution.

ParameterTypeDescription
summary *stringShort issue title or one-sentence summary.
type *stringYour classification hint. Foglift re-triages before routing.
actual_resultobjectObserved response, status, or behavior.
agent_hypothesisstringYour root-cause hypothesis.
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
error_codestringMachine-readable error code or provider code, if any.
expected_resultstringWhat you expected instead.
reproduction_stepsarrayStep-by-step reproduction path.
request_payloadobjectArguments or request payload you sent.
severitystringImpact hint. Defaults to medium.
tool_or_endpointstringFoglift MCP tool or REST endpoint involved.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

whoami

Return the authenticated Foglift account context: plan, default workspace (name + domain), current token balance, and monthly allocation. Use this to confirm which account context an API key is tied to.

recommend_setup

Calculate the sustainable monitoring prompt count from the authenticated Foglift account's persisted plan, active brands, scan frequency, and enabled engines. Returns the trusted prompt budget, category distribution, examples, and warnings. Call this BEFORE creating prompts to avoid over-spending tokens.

apply_setup_recommendation

Create the categorized monitoring prompts from a recommend_setup result for a specific Foglift brand. Requires brand_id, brand name, competitors, industry, and the recommendation output. Idempotent on retry. Legacy workspace_id is accepted as an alias.

ParameterTypeDescription
brand_id *stringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
brand_name *stringCustomer brand name to substitute into prompt templates.
competitors *arrayKnown competitors to use in comparison prompts.
industry *stringCustomer industry/category to substitute into prompt templates.
recommendation *objectThe full structured output returned by recommend_setup.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.

recipe_run

Run a named Foglift recipe against a specific brand. First available recipe: weekly-brand-health-report, which returns a weekly AI Readiness / AI Visibility report from existing scan and monitoring data.

ParameterTypeDescription
name *stringRecipe name to run.
argsobjectOptional recipe-specific arguments. brand_id is resolved by the MCP tool gate.
brand_idstringFoglift brand UUID. Omit if your account has one brand; required if you have multiple. Get UUIDs at https://foglift.io/dashboard/developer.
workspace_idstringLegacy alias for brand_id. Prefer brand_id for new integrations.