Local Falcon 标志

Local Falcon

组织
local-falcon

MCP server for Local Falcon's local SEO and AI visibility platform: geo-grid rank tracking, campaign management, and competitor analysis via Model Context Protocol

发布者local-falcon
代码仓库mcp
语言TypeScript
复刻数
3
星标数
24
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Local Falcon 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 24 个星标和 3 个复刻。

Local Falcon MCP Server


Local SEO and AI Visibility Monitoring MCP Server

An MCP (Model Context Protocol) server for the Local Falcon platform, implemented in TypeScript, using the official MCP SDK. This server exposes Local Falcon scanning, tracking and reporting capabilities as 37 MCP tools, enabling integration with agentic AI systems and workflows.


Features

  • 37 MCP tools for scanning, reporting, campaign management, competitor analysis, reviews, and Falcon Guard monitoring
  • Interactive MCP Apps widget — geo-grid heatmap with Google Maps, colored rank pins, and clickable detail panels
  • OAuth 2.1 with PKCE, refresh token support, and dynamic client registration
  • Tool annotations on all 37 tools — readOnlyHint, destructiveHint, and openWorldHint for safe auto-execution
  • Multi-platform — Google Maps, Apple Maps, ChatGPT, Gemini, Grok, Google AI Overviews, AI Mode
  • ChatGPT MCP connector compatible — OAuth scope alignment, widget sandbox domain, structured content parsing
  • HTML sanitizer for AI scrape content displayed in the heatmap widget

Prerequisites

  • Node.js (install the LTS version)

Authentication

OAuth (Recommended)

OAuth is the recommended way to connect to the Local Falcon MCP server. It provides a secure, token-based authentication flow — no API key management required. You'll be redirected to Local Falcon to authorize access, and tokens are handled automatically.

  1. Set the URL to https://mcp.localfalcon.com/mcp
  2. Set Authentication to OAuth
  3. Leave Client ID and Client Secret empty — the server handles client registration automatically
  4. Connect and authorize when redirected to Local Falcon

Bearer Token

If your MCP client does not support OAuth, you can use your Local Falcon API key as a Bearer token.

  1. Set the URL to https://mcp.localfalcon.com/mcp
  2. Set Authentication to Bearer Token
  3. Enter your Local Falcon API key as the token value

API Key via Query String

If your MCP client does not support OAuth or Bearer Token authentication, you can pass your API key directly in the URL:

https://mcp.localfalcon.com/mcp?local_falcon_api_key=INSERT_YOUR_API_KEY_HERE

Running via Remote (HTTP)

For MCP clients that use mcp-remote (all platforms):

json
{
  "mcpServers": {
    "local-falcon-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.localfalcon.com/mcp?local_falcon_api_key=INSERT_YOUR_API_KEY_HERE"
      ]
    }
  }
}

Running via Remote (SSE — Legacy)

The /sse endpoint is considered legacy and will be removed in a future version. Use the /mcp endpoint instead.

json
{
  "mcpServers": {
    "local-falcon-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.localfalcon.com/sse?local_falcon_api_key=INSERT_YOUR_API_KEY_HERE"
      ]
    }
  }
}

Running via STDIO

One-click install: Download the latest .mcpb bundle from Releases and open it in Claude Desktop. For manual installation, follow the steps below.

For local installations, first install the package:

bash
mkdir lf-mcp
cd lf-mcp
npm i @local-falcon/mcp

For MacOS/Unix:

json
{
  "mcpServers": {
    "local-falcon-mcp": {
      "command": "node",
      "args": ["/Users/YOUR_USERNAME/lf-mcp/node_modules/@local-falcon/mcp/dist/index.js"],
      "env": {
        "LOCAL_FALCON_API_KEY": "INSERT_YOUR_API_KEY_HERE"
      }
    }
  }
}

For Windows:

json
{
  "mcpServers": {
    "local-falcon-mcp": {
      "command": "node",
      "args": ["C:\\Users\\YOUR_USERNAME\\lf-mcp\\node_modules\\@local-falcon\\mcp\\dist\\index.js"],
      "env": {
        "LOCAL_FALCON_API_KEY": "INSERT_YOUR_API_KEY_HERE"
      }
    }
  }
}

MCP Apps

The server includes an interactive MCP Apps widget that renders inside supported AI clients (Claude, ChatGPT).

Geo-Grid Heatmap

When you call getLocalFalconReport, clients that support MCP Apps will display an interactive geo-grid heatmap widget featuring:

  • Metrics bar — keyword, business name, grid size, ARP, ATRP, SoLV, scan date
  • Google Maps — full interactive map with colored rank pins (green = rank 1, red = rank 9+)
  • Detail panel — click any pin to see the full business listing at that grid point with ratings, reviews, categories, and AI scrape content
  • HTML sanitizer — AI scrape content is sanitized with an allowlist of safe tags, attributes, and image domains before rendering

The widget is built as a single-file HTML application using Vite and served as an MCP App resource.


Tools (60)

All 37 tools include MCP tool annotations that signal to AI clients whether a tool is safe to auto-execute:

AnnotationToolsBehavior
readOnlyHint: true26 toolsRead-only data retrieval — safe to auto-execute
destructiveHint: true3 toolsConsumes credits or permanently removes resources — always confirm with user
readOnlyHint: false, destructiveHint: false8 toolsModifies state but reversible and free — confirm recommended
openWorldHint: trueAll 37 toolsTool data originates from external sources (search engines, AI platforms) accessed via the Local Falcon API.

Scan Reports

  • listLocalFalconScanReports: Lists all existing scan reports. Check here first before running new scans to avoid duplicates.
  • getLocalFalconReport: Retrieves a specific scan report by report key (e.g., https://www.localfalcon.com/reports/view/XXXXX). Renders an interactive geo-grid heatmap in MCP Apps-capable clients.
  • runLocalFalconScan: Runs a new scan at the specified coordinates to get ranking data for a business.

Campaign Management

  • listLocalFalconCampaignReports: Lists all campaign reports. Campaigns track rankings at scale with scheduled scans.
  • getLocalFalconCampaignReport: Retrieves a specific campaign report (e.g., https://www.localfalcon.com/campaigns/view/XXXXX).
  • createLocalFalconCampaign: Creates a new campaign with scheduled recurring scans.
  • updateLocalFalconCampaign: Edits an existing campaign — settings, locations or keywords.
  • runLocalFalconCampaign: Manually triggers a campaign to run immediately.
  • pauseLocalFalconCampaign: Pauses a campaign's scheduled runs.
  • resumeLocalFalconCampaign: Resumes a paused campaign.
  • reactivateLocalFalconCampaign: Reactivates a campaign deactivated due to insufficient credits.

Reviews Analysis

  • listLocalFalconReviewsAnalysisReports: Lists all Reviews Analysis reports with AI-powered review insights.
  • getLocalFalconReviewsAnalysisReport: Retrieves a specific Reviews Analysis report.

Falcon Guard (GBP Monitoring)

  • listLocalFalconGuardReports: Lists Falcon Guard reports for monitored locations.
  • getLocalFalconGuardReport: Retrieves a specific Falcon Guard report by place_id.
  • addLocationsToFalconGuard: Adds locations to Falcon Guard protection.
  • pauseFalconGuardProtection: Pauses protection for specified locations.
  • resumeFalconGuardProtection: Resumes protection for paused locations.
  • removeFalconGuardProtection: Removes locations from Falcon Guard entirely.

Trend Reports

  • listLocalFalconTrendReports: Lists auto-generated trend reports showing ranking changes over time.
  • getLocalFalconTrendReport: Retrieves a specific trend report (e.g., https://www.localfalcon.com/reports/trend/view/XXXXX).

Auto Scans

  • listLocalFalconAutoScans: Lists individually scheduled automatic scans (not campaign-based).

Location Reports

  • listLocalFalconLocationReports: Lists auto-generated reports aggregating scans for specific locations.
  • getLocalFalconLocationReport: Retrieves a specific location report (e.g., https://www.localfalcon.com/reports/location/view/XXXXX).

Keyword Reports

  • listLocalFalconKeywordReports: Lists auto-generated reports aggregating scans for specific keywords.
  • getLocalFalconKeywordReport: Retrieves a specific keyword report (e.g., https://www.localfalcon.com/reports/keyword/view/XXXXX).

Competitor Reports

  • getLocalFalconCompetitorReports: Lists auto-generated competitor analysis reports.
  • getLocalFalconCompetitorReport: Retrieves a specific competitor report (e.g., https://www.localfalcon.com/reports/competitor/view/XXXXX).

Location Management

  • listAllLocalFalconLocations: Lists all business locations saved in your account.
  • listLocalFalconLocationGroups: Lists saved location groups in the account.
  • getLocalFalconGoogleBusinessLocations: Searches Google for business listings to find Place IDs.
  • searchForLocalFalconBusinessLocation: Searches for business locations on Google or Apple platforms.
  • saveLocalFalconBusinessLocationToAccount: Saves a business location to your account.

On-Demand Tools

  • getLocalFalconGrid: Helper tool that generates grid coordinates for single-point checks.
  • getLocalFalconRankingAtCoordinate: Single-point ranking check at one coordinate.
  • getLocalFalconKeywordAtCoordinate: Single-point keyword search at one coordinate.

Knowledge Base

  • searchLocalFalconKnowledgeBase: Searches the Local Falcon Knowledge Base for help articles, how-to guides, and platform documentation.
  • getLocalFalconKnowledgeBaseArticle: Retrieves the full content of a specific Knowledge Base article by ID.

Account

  • viewLocalFalconAccountInformation: Retrieves account info including user, credits, and subscription details.

Manage Google Business Profile

Act on the live Google Business Profile behind a location, not on Local Falcon report data. All require the location to be connected to a Google account in your Local Falcon dashboard.

  • getLocalFalconGbpProfile: Retrieves the live profile — name, address, phone, categories, hours, website, open status.
  • getLocalFalconGbpGoogleUpdates: Retrieves Google's pending version of the profile, for spotting unapplied Google-suggested edits.
  • getLocalFalconGbpVerificationStatus: Checks Google verification state. Unverified or suspended profiles rank poorly or not at all.
  • getLocalFalconGbpAttributes: Lists attributes currently set on the profile.
  • getLocalFalconGbpAvailableAttributes: Lists attributes Google permits for a category, with expected value types.
  • listLocalFalconGbpServices: Lists services on the profile, with descriptions and prices.
  • getLocalFalconGbpPerformanceMetrics: Google's own engagement metrics — impressions, calls, website clicks, direction requests.
  • listLocalFalconGbpPosts: Lists profile posts (updates, events, offers, alerts).
  • listLocalFalconGbpMedia: Lists owner-uploaded photos and videos, filterable by category.
  • listLocalFalconGbpCustomerMedia: Lists customer-uploaded photos and videos.
  • listLocalFalconGbpReviews: Lists Google reviews and owner replies. Filter by rating or unanswered.
  • listLocalFalconGbpActionLinks: Lists action links (booking, ordering, appointments).
  • getLocalFalconGbpAvailableActionTypes: Lists action link types the profile supports.
  • searchLocalFalconGbpCategories: Searches Google's category taxonomy for gcid: identifiers.
  • searchLocalFalconGbpChains: Searches Google's chain directory.
  • manageLocalFalconGbpPosts: Creates, updates or deletes a post. Writes live to Google.
  • manageLocalFalconGbpMedia: Adds, recategorises or deletes owner media. Writes live to Google.
  • manageLocalFalconGbpReviewReplies: Publishes or deletes public replies to reviews, singly or up to 50 at once.
  • manageLocalFalconGbpActionLinks: Adds, updates or removes action links.
  • manageLocalFalconGbpServices: Adds, removes or wholesale-replaces services. replace overwrites the entire list.
  • updateLocalFalconGbpProfile: Updates core details, hours, open status or attributes. CLOSED_PERMANENTLY is effectively irreversible.

Skills

This repo includes two AI skills under skills/:

SkillPathDescription
Local Falcon MCPskills/local-falcon-mcp/MCP tool usage guidance — helps AI agents use the 37 MCP tools effectively
Local Visibilityskills/local-visibility-skill/General AI visibility & local SEO strategy — platform analysis, metrics interpretation, prompt templates

For Developers

Note: End users only need Node.js (LTS) and npm to install and run this server. The instructions below are for contributors and developers working on the source code.

Prerequisites

  • Node.js 18+ (LTS recommended)
  • npm (included with Node.js)

Build

bash
npm install
npm run build

The build compiles TypeScript to dist/ and builds the MCP Apps UI widget to dist/ui/.

Run MCP Inspector

bash
npm run inspector

Run MCP Server

bash
npm run start             # STDIO mode (default)
npm run start:sse         # SSE mode with OAuth
npm run start:http        # HTTP mode with OAuth
npm run start:HTTPAndSSE  # Both SSE and HTTP

License

MIT


Acknowledgments

将 Local Falcon MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Local Falcon 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Local Falcon 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Local Falcon MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "local-falcon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Local Falcon MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Local Falcon MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Local Falcon 帮我完成这项任务吗?
Local Falcon
当然,我看过了。
以下是我使用 Local Falcon 得到的结果。

常见问题

Local Falcon MCP 服务器有什么用途?

Local Falcon 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Local Falcon MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Local Falcon。

为什么在 TypingMind 中使用 Local Falcon MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Local Falcon 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Local Falcon MCP 连接到 TypingMind?

Local Falcon 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Local Falcon MCP 在 TypingMind 中提供哪些工具?

Local Falcon 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Local Falcon MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Local Falcon 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇