Dianping MCP Server
Dianping MCP Server
これは、ローカルブラウザのログインセッションを介して大衆点評(Dianping)のコンテンツを検索するMCPサーバーです。大衆点評のデスクトップ版およびモバイル版の検索では、匿名リクエストに対してログイン/セキュリティ認証がトリガーされるため、本プロジェクトは認可されていないインターフェースを使用せず、CAPTCHAやアンチスクレイピングメカニズムの回避も試みません。このサービスはPlaywrightを使用してローカルのChromeを操作し、独立した永続的なプロファイルを再利用します。
クイックスタート
Node.js 20以上が必要で、Chrome、Edge、またはChromiumがインストールされている必要があります:
npm install
npm run loginログインコマンドでブラウザが開きます。大衆点評のログインとセキュリティ認証を完了し、ターミナルに戻って Ctrl+C を押して終了してください。ログインデータはデフォルトで ~/.dianping-mcp/browser-profile に保存されます。その後、MCPサーバーを起動します:
npm run build
npm startMCPクライアントはstdioで接続し、3つのツールを提供します:
search_places:都市、キーワード、ページ番号で店舗を検索し、名前、評価、レビュー数、一人当たりの価格、住所、店舗URLを返します。get_place_details:店舗IDまたは検索結果のURLから店舗情報と厳選レビューを取得します。check_session:ブラウザが利用可能か、ログインまたはセキュリティ認証が必要かを確認します。
Related MCP server: dots-mcp
MCPクライアント設定
以下のコマンドをstdio MCPをサポートするクライアントに設定し、パスはリポジトリの絶対パスに置き換えてください:
{
"mcpServers": {
"dianping": {
"command": "npm",
"args": ["--prefix", "/绝对路径/dp-mcp", "start"],
"env": {
"DP_CITY": "上海"
}
}
}
}ビルド後の dist/index.js を直接使用することもできます:
{
"command": "node",
"args": ["/绝对路径/dp-mcp/dist/index.js"],
"env": { "DP_CITY": "上海" }
}設定項目
変数 | デフォルト値 | 説明 |
|
| ブラウザのログインプロファイルディレクトリ |
| 自動検出 | Chrome/Edge/Chromiumの実行可能ファイル |
|
|
|
|
| MCP検索をヘッドレスモードで実行するかどうか。ログイン時は |
|
| 2回のページリクエスト間の最小間隔 |
|
| 検索と詳細のメモリキャッシュ時間 |
|
| ページナビゲーションとセレクターのタイムアウト |
現在、組み込みの一般的な都市には、上海、北京、杭州、広州、南京、蘇州、深圳、成都、重慶、天津、寧波、揚州、無錫、福州、厦門、武漢、西安、瀋陽、大連、長沙、青島、済南が含まれます。その他の都市については、大衆点評の都市IDを渡すことができます。
開発と検証
npm test
npm run check
npm run buildページ構造やセキュリティポリシーが変更された場合、サービスは明確な解析/認証エラーを返します。呼び出し頻度を低く抑え、大衆点評の利用規約、robotsルール、および該当する法律を遵守してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceProvides a remote browser session and MCP tools for restricted search and extraction on sites like XHS, Yelp, and TripAdvisor, with human-in-the-loop login.5Apache 2.0
- Flicense-qualityCmaintenanceEnables searching Xiaohongshu (小红书) content via dots.ai using a logged-in browser session, exposed as MCP tools.
- FlicenseAqualityCmaintenanceEnables querying Mega MGC Coffee store locations, menu items, and real-time stock (sold-out) status across all stores using the official app API.7
- Flicense-qualityBmaintenanceEnables AI agents to search Xianyu second-hand marketplace for product prices with automatic cookie detection.2
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Stealth scraping & search. Bypasses Cloudflare, DataDome & LinkedIn via Cyborg HITL approach.
Live Google Maps business search, review, and photo data for AI agents over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/qianwj/dp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server