Skip to main content

MCP server for accessing Google Keyword Insight1 API

Project description

Google Keyword Insight1 MCP Server

English | 简体中文 | 繁體中文

用于访问 Google Keyword Insight1 API 的 MCP 服务器。

🚀 使用 EMCP 平台快速体验

EMCP 是一个强大的 MCP 服务器管理平台,让您无需手动配置即可快速使用各种 MCP 服务器!

快速开始:

  1. 🌐 访问 EMCP 平台
  2. 📝 注册并登录账号
  3. 🎯 进入 MCP 广场,浏览所有可用的 MCP 服务器
  4. 🔍 搜索或找到本服务器(bach-google_keyword_insight1
  5. 🎉 点击 "安装 MCP" 按钮
  6. ✅ 完成!即可在您的应用中使用

EMCP 平台优势:

  • 零配置:无需手动编辑配置文件
  • 🎨 可视化管理:图形界面轻松管理所有 MCP 服务器
  • 🔐 安全可靠:统一管理 API 密钥和认证信息
  • 🚀 一键安装:MCP 广场提供丰富的服务器选择
  • 📊 使用统计:实时查看服务调用情况

立即访问 EMCP 平台 开始您的 MCP 之旅!


简介

这是一个 MCP 服务器,用于访问 Google Keyword Insight1 API。

  • PyPI 包名: bach-google_keyword_insight1
  • 版本: 1.0.0
  • 传输协议: stdio

安装

从 PyPI 安装:

pip install bach-google_keyword_insight1

从源码安装:

pip install -e .

运行

方式 1: 使用 uvx(推荐,无需安装)

# 运行(uvx 会自动安装并运行)
uvx --from bach-google_keyword_insight1 bach_google_keyword_insight1

# 或指定版本
uvx --from bach-google_keyword_insight1@latest bach_google_keyword_insight1

方式 2: 直接运行(开发模式)

python server.py

方式 3: 安装后作为命令运行

# 安装
pip install bach-google_keyword_insight1

# 运行(命令名使用下划线)
bach_google_keyword_insight1

配置

API 认证

此 API 需要认证。请设置环境变量:

export API_KEY="your_api_key_here"

环境变量

变量名 说明 必需
API_KEY API 密钥
PORT 不适用
HOST 不适用

在 Cursor 中使用

编辑 Cursor MCP 配置文件 ~/.cursor/mcp.json:

{
  "mcpServers": {
    "bach-google_keyword_insight1": {
      "command": "uvx",
      "args": ["--from", "bach-google_keyword_insight1", "bach_google_keyword_insight1"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

在 Claude Desktop 中使用

编辑 Claude Desktop 配置文件 claude_desktop_config.json:

{
  "mcpServers": {
    "bach-google_keyword_insight1": {
      "command": "uvx",
      "args": ["--from", "bach-google_keyword_insight1", "bach_google_keyword_insight1"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

可用工具

此服务器提供以下工具:

global_results_by_url

Fetch global keyword suggestions and metrics based on a provided URL. Parameters: url (required): The URL for which you want global keyword suggestions. lang (required): Two digit code for language.

端点: GET /globalurl/

参数:

  • url (string) 必需: Example value: rapidapi.com

  • lang (string) 必需: Example value: en

  • min_search_vol (number): The min_search_vol query parameter sets a minimum search volume threshold. It accepts an integer value, and only those keywords with a search volume equal to or greater than the specified value are included in the results.

  • intent (string): Accepted values: informational navigational commercial transactional

  • return_intent (string): Example value:


global_results_by_keyword

Retrieve global keyword suggestions and metrics by providing a keyword. Parameters: keyword (required): The target keyword for which you want global suggestions. lang (required): Two digit code for language.

端点: GET /globalkey/

参数:

  • keyword (string) 必需: Example value: Sustainable Living

  • lang (string) 必需: Example value: en

  • mode (string): The mode query parameter allows you to specify the filtering criteria for keyword suggestions. It can take one of two values: exact or all exact- Use this mode when you need the API to return only those keyword suggestions that exactly match the searched keyword and excluding any suggestions that do not contain the exact match. all - This is the default mode, where the API returns all keyword suggestions.

  • min_search_vol (number): The min_search_vol query parameter sets a minimum search volume threshold. It accepts an integer value, and only those keywords with a search volume equal to or greater than the specified value are included in the results.

  • intent (string): Accepted values: informational navigational commercial transactional

  • return_intent (string): Example value:


keyword_research_by_url

Receive keyword suggestions and metrics based on a given URL and location. Parameters: url (required): The URL for which you want keyword suggestions. location (required): The location or region to refine keyword suggestions. lang (required): Two digit code for language. Consult API About page for available Country Codes and Language Codes

端点: GET /urlkeysuggest/

参数:

  • url (string) 必需: Example value: rapidapi.com

  • location (string) 必需: Example value: US

  • lang (string) 必需: Example value: en

  • min_search_vol (number): The min_search_vol query parameter sets a minimum search volume threshold. It accepts an integer value, and only those keywords with a search volume equal to or greater than the specified value are included in the results.

  • intent (string): Accepted values: informational navigational commercial transactional

  • return_intent (string): Example value:


keyword_research

Get keyword suggestions and related metrics by providing a specific keyword and location. Parameters: keyword (required): The target keyword for which you want suggestions. location (required): The location or region to refine keyword suggestions. lang (required): Two digit code for language. Consult API About page for available Country Codes and Language Codes

端点: GET /keysuggest/

参数:

  • keyword (string) 必需: Example value: Sustainable Living

  • location (string) 必需: Example value: US

  • lang (string) 必需: Example value: en

  • mode (string): The mode query parameter allows you to specify the filtering criteria for keyword suggestions. It can take one of two values: exact or all exact- Use this mode when you need the API to return only those keyword suggestions that exactly match the searched keyword and excluding any suggestions that do not contain the exact match. all - This is the default mode, where the API returns all keyword suggestions.

  • min_search_vol (number): The min_search_vol query parameter sets a minimum search volume threshold. It accepts an integer value, and only those keywords with a search volume equal to or greater than the specified value are included in the results.

  • intent (string): Accepted values: informational navigational commercial transactional

  • return_intent (string): Example value:


top_keyword

This endpoint helps identify high-potential keywords (opportunity keywords) for targeted SEO and marketing strategies.

端点: GET /topkeys/

参数:

  • keyword (string) 必需: Example value: Sustainable Living

  • location (string) 必需: Example value: US

  • lang (string) 必需: Example value: en

  • num (number): The num parameter specifies the number of top keywords to retrieve. By default, the endpoint returns the top 10 keywords, but users can adjust this value to fetch a custom number of results based on their needs.


get_languages

Get all available languages with code

端点: GET /languages/


get_locations

Get all available country locations with codes

端点: GET /locations/


技术栈

  • 传输协议: stdio
  • HTTP 客户端: httpx

许可证

MIT License - 详见 LICENSE 文件。

开发

此服务器由 API-to-MCP 工具生成。

版本: 1.0.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bach_google_keyword_insight1-1.0.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bach_google_keyword_insight1-1.0.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file bach_google_keyword_insight1-1.0.0.tar.gz.

File metadata

File hashes

Hashes for bach_google_keyword_insight1-1.0.0.tar.gz
Algorithm Hash digest
SHA256 161e9b041f8bfb9b304cc364bb0f05904763d5200676955c710ca2bec646761a
MD5 63428bd6465ac3ac60f3dc9347d517a5
BLAKE2b-256 3ebb1bd0322febc559e5c49827531583105184a7c334270b474b01c8dc36610f

See more details on using hashes here.

File details

Details for the file bach_google_keyword_insight1-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bach_google_keyword_insight1-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fc44d5a1c3fdc1f097da44018f81e6e8110e4cadc7eb6cde8c86016087b4be7
MD5 5afde0856811ee9d6e619bc07ed1121b
BLAKE2b-256 6fd70c1aeb70975ce8cba160accfce79a6f319c682c23632fb02c108b9ad1bf8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page