Logo Local Falcon

Local Falcon

Tổ chức
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

Nhà phát hànhlocal-falcon
Kho mãmcp
Ngôn ngữTypeScript
Bản fork
3
Sao
24
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Local Falcon cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    24 sao và 3 bản fork từ kho mã được liên kết.

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

Dùng MCP Local Falcon với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Local Falcon, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Local Falcon làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Local Falcon.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "local-falcon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Local Falcon, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Local Falcon.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Local Falcon giúp tôi làm việc này không?
Local Falcon
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Local Falcon.

Câu hỏi thường gặp

Máy chủ MCP Local Falcon dùng để làm gì?

Local Falcon là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Local Falcon với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Local Falcon với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Local Falcon với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Local Falcon, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Local Falcon với TypingMind?

Local Falcon hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Local Falcon cung cấp những công cụ nào trong TypingMind?

Local Falcon cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Local Falcon không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Local Falcon yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇