# Seo Api2 MCP Server
[English](./README_EN.md) | [简体中文](./README.md) | 繁體中文
用於存取 Seo Api2 API 的 MCP 伺服器。
## 🚀 使用 EMCP 平台快速體驗
**[EMCP](https://sit-emcp.kaleido.guru)** 是一個強大的 MCP 伺服器管理平台,讓您無需手動配置即可快速使用各種 MCP 伺服器!
### 快速開始:
1. 🌐 造訪 **[EMCP 平台](https://sit-emcp.kaleido.guru)**
2. 📝 註冊並登入帳號
3. 🎯 進入 **MCP 廣場**,瀏覽所有可用的 MCP 伺服器
4. 🔍 搜尋或找到本伺服器(`bach-seo_api2`)
5. 🎉 點擊 **「安裝 MCP」** 按鈕
6. ✅ 完成!即可在您的應用中使用
### EMCP 平台優勢:
- ✨ **零配置**:無需手動編輯配置檔案
- 🎨 **視覺化管理**:圖形介面輕鬆管理所有 MCP 伺服器
- 🔐 **安全可靠**:統一管理 API 金鑰和認證資訊
- 🚀 **一鍵安裝**:MCP 廣場提供豐富的伺服器選擇
- 📊 **使用統計**:即時查看服務調用情況
立即造訪 **[EMCP 平台](https://sit-emcp.kaleido.guru)** 開始您的 MCP 之旅!
---
## 簡介
這是一個 MCP 伺服器,用於存取 Seo Api2 API。
- **PyPI 套件名**: `bach-seo_api2`
- **版本**: 1.0.0
- **傳輸協定**: stdio
## 安装
### 从 PyPI 安装:
```bash
pip install bach-seo_api2
```
### 从源码安装:
```bash
pip install -e .
```
## 运行
### 方式 1: 使用 uvx(推荐,无需安装)
```bash
# 运行(uvx 会自动安装并运行)
uvx --from bach-seo_api2 bach_seo_api2
# 或指定版本
uvx --from bach-seo_api2@latest bach_seo_api2
```
### 方式 2: 直接运行(开发模式)
```bash
python server.py
```
### 方式 3: 安装后作为命令运行
```bash
# 安装
pip install bach-seo_api2
# 运行(命令名使用下划线)
bach_seo_api2
```
## 配置
### API 認證
此 API 需要認證。請設定環境變數:
```bash
export API_KEY="your_api_key_here"
```
### 環境變數
| 變數名 | 說明 | 必需 |
|--------|------|------|
| `API_KEY` | API 金鑰 | 是 |
| `PORT` | 不適用 | 否 |
| `HOST` | 不適用 | 否 |
### 在 Cursor 中使用
編輯 Cursor MCP 配置檔案 `~/.cursor/mcp.json`:
```json
{
"mcpServers": {
"bach-seo_api2": {
"command": "uvx",
"args": ["--from", "bach-seo_api2", "bach_seo_api2"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}
```
### 在 Claude Desktop 中使用
編輯 Claude Desktop 配置檔案 `claude_desktop_config.json`:
```json
{
"mcpServers": {
"bach-seo_api2": {
"command": "uvx",
"args": ["--from", "bach-seo_api2", "bach_seo_api2"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}
```
## 可用工具
此服务器提供以下工具:
### `domain_age_checker`
Domain Age Checker
**端点**: `GET /domain-age-checker`
**参数**:
- `domain` (string) *必需*: Example value: facebook.com
---
### `credit_card_validator`
Credit Card Validator
**端点**: `GET /credit-card-validator`
**参数**:
- `ccnumber` (number) *必需*: Example value: 4111111111111111
- `card_type` (string): Example value:
---
### `hosting_checker`
Hosting Checker
**端点**: `GET /hosting-checker`
**参数**:
- `url` (string) *必需*: Example value: https://google.com
---
### `whois_domain_lookup`
Whois Domain Lookup
**端点**: `GET /whois-domain-lookup`
**参数**:
- `domain` (string) *必需*: Example value: facebook.com
---
### `keyword_density_checker`
Keyword Density Checker
**端点**: `GET /keyword-density-checker`
**参数**:
- `url` (string) *必需*: Example value: https://google.com
---
### `whois_domain_lookup_deprecated`
Whois Domain Lookup (Deprecated)
**端点**: `GET /whois-domain-lookup/{domain_name}`
**参数**:
- `domain_name` (string) *必需*: Example value: facebook.com
---
### `keyword_rank_checker`
Keyword Rank Checker
**端点**: `GET /keyword-rank-checker`
**参数**:
- `url` (string) *必需*: Example value: facebook.com
- `keyword` (string) *必需*: Example value: facebook
- `countryCode` (string): Two-letter country codes that can be used as values of the geo location parameter.
- `language` (string): API supports more than 80 languages. The default language is English (en).
- `pages` (string): How many pages should the search extend
---
### `wordpress_theme_detector`
WordPress Theme Detector
**端点**: `GET /wordpress-theme-detector`
**参数**:
- `url` (string) *必需*: Example value: https://aprt.ourbetazone.com/
---
### `ssl_checker`
SSL Checker
**端点**: `GET /ssl-checker`
**参数**:
- `domain` (string) *必需*: Example value: google.com
---
### `redirect_checker`
Redirect Checker
**端点**: `GET /redirect-checker`
**参数**:
- `url` (string) *必需*: Example value: example.com
---
### `adsense_calculator`
Adsense Calculator
**端点**: `GET /adsense-calculator`
**参数**:
- `impressions` (number) *必需*: Daily Page Impressions
- `ctr` (number) *必需*: Click Through Rate (%)
- `cpc` (number) *必需*: Cost Per Click ($)
---
### `domain_to_ip`
Domain to IP
**端点**: `GET /domain-to-ip`
**参数**:
- `url` (string) *必需*: Example value: https://google.com
---
### `page_size_checker`
Page Size Checker
**端点**: `GET /page-size-checker`
**参数**:
- `url` (string): Example value: https://google.com
---
### `isp_checker`
ISP Checker
**端点**: `GET /isp-checker`
**参数**:
- `ip` (string): Example value: 8.8.8.8
---
### `serp_api`
SERP API
**端点**: `GET /serp-chekcer`
**参数**:
- `keyword` (string) *必需*: Example value: rapid api
- `domain` (string): Example value: rapidapi.com
- `country` (string): Example value: us
- `language` (string): Example value: en
- `pages` (number): Example value: 2
---
### `top_website_languages_report`
Top Website Languages Report
**端点**: `GET /www-reports/language`
---
### `top_web_technologies_report`
Top Web Technologies (Programming Language, Web Servers, Databases, Frameworks, etc)
**端点**: `GET /www-reports/tech`
---
### `top_websites_by_traffic_report`
Top websites by traffic (Latest Report)
**端点**: `GET /www-reports/websites`
---
### `top_tld_report`
Top Top-Level Domains Report
**端点**: `GET /www-reports/tld`
---
### `top_wp_themes_report`
Most using WP themes Report
**端点**: `GET /www-reports/theme`
---
### `top_hosting_services_report`
Top, best and most popular Hosting Services and details in the world (Latest Report).
**端点**: `GET /www-reports/isp`
---
### `top_cms_report`
Top, best and most popular Content Management Systems and details in the world (Latest Report).
**端点**: `GET /www-reports/cms`
---
### `broken_links_finder`
Broken Links Finder
**端点**: `GET /broken-links-finder`
**参数**:
- `url` (string) *必需*: Example value: world.com
- `page` (number): Example value: 1
---
### `link_analyzer`
Link Analyzer
**端点**: `GET /link-analyzer`
**参数**:
- `url` (string) *必需*: Example value: https://world.com
---
### `keywords_suggestion_tool`
Keywords Suggestion Tool
**端点**: `GET /keywords-suggestion-tool`
**参数**:
- `query` (string) *必需*: Example value: laptop
---
### `credit_card_generator`
Credit Card Generator
**端点**: `GET /credit-card-generator`
**参数**:
- `card_type` (string) *必需*: Example value:
- `count` (number): Example value: 5
---
### `ip_geolocation_checker`
IP Geolocation Checker
**端点**: `GET /ip-geolocation-checker`
**参数**:
- `ip` (string) *必需*: Example value: 8.8.8.8
---
### `domain_age_checker_depreciated`
Domain Age Checker
**端点**: `GET /domain-age-checker/{domain_name}`
**参数**:
- `domain_name` (string) *必需*: Example value: google.com
---
### `meta_tags_analyzer`
Meta Tags Analyzer
**端点**: `GET /meta-tags-analyzer`
**参数**:
- `url` (string) *必需*: Example value: facebook.com
---
### `open_graph_checker`
Open Graph Checker
**端点**: `GET /open-graph-checker`
**参数**:
- `url` (string) *必需*: Example value: facebook.com
---
### `get_http_headers`
Get HTTP Headers
**端点**: `GET /get-http-headers`
**参数**:
- `url` (string): Example value: aprt.ourbetazone.com
---
### `name_servers_checker`
Name Servers Checker
**端点**: `GET /name-servers-checker`
**参数**:
- `domain` (string) *必需*: Example value: google.com
---
### `dns_records_checker`
DNS Records Checker
**端点**: `GET /dns-records-checker`
**参数**:
- `domain` (string) *必需*: Example value: google.com
- `record_type` (string) *必需*: Allowed Record Types: A AAAA CNAME NS SOA MX SRV TXT CAA NAPTR PTR HINFO A6
---
### `asn_checker`
ASN Checker
**端点**: `GET /asn-checker`
**参数**:
- `ip` (string) *必需*: Example value: 8.8.8.8
---
## 技術棧
- **傳輸協定**: stdio
- **HTTP 客戶端**: httpx
## 授權
MIT License - 詳見 [LICENSE](./LICENSE) 檔案。
## 開發
此伺服器由 [API-to-MCP](https://github.com/BACH-AI-Tools/api-to-mcp) 工具生成。
版本: 1.0.0