gtmos-mcp
gtmos-mcp
読み取り専用のCRM監査ツール for Claude: データ整合性のスコアリング、重複クラスターの検出、停滞した収益の特定を、あなたの環境で、あなた自身のトークンを使って行います。
MCP(Model Context Protocol)サーバーで、Claude Desktop、Claude Code、または任意のMCPホストがHubSpot CRMを監査できるようにします。あなたの環境で動作し、あなた自身のHubSpotトークンで読み取りを行い、新しいベンダーがデータに触れることはありません。すべてのツールは設計上読み取り専用です。このパッケージはCRMへの書き込み、メール送信、またはあなた自身のHubSpotエンドポイント以外のネットワークAPI呼び出しを一切行いません。
依存関係ゼロ。 純粋なPython標準ライブラリ(
dependencies = [])。推移的に検証するものはありません。読み取り専用。 2つのツール、どちらも監査です。トークンに書き込みスコープは不要です。
決定論的スコアリング。 スコアリングパスにLLMは使用しません。モデルは結果を読み取るだけで、結果を生成することはありません。
オフライン動作可能。 ライブポータルの代わりにJSONエクスポートをツールに指定すれば、ネットワーク呼び出しは一切発生しません。
ツール
ツール | 機能 |
| 連絡先のデータ整合性の漏れ(完全性、有効性、鮮度、所有権、一貫性)をスコアリングします。ポータル整合性スコア、グレード、重複クラスター、最も弱い次元を返します。完全なMarkdownレポートを書き出します。 |
| ステージごとに商談を分析し、停滞したパイプラインとファネルから収益が漏れている箇所を見つけます。漏れているドル総額とその背後にある停滞した商談を返します。 |
Related MCP server: HubSpot RevOps MCP Server
インストール
Python 3.11以上が必要です。
pip install git+https://github.com/Kai8karma/gtmos-mcp.git確認:
gtmos mcp --dry-run期待される出力:
[dry-run] gtmos mcp would serve 2 tools on stdio (protocol 2025-06-18)
- audit_crm: Score a CRM export or live HubSpot portal for data-integrity leaks.
- funnel_leak: Analyse deals by stage to find stalled pipeline and where revenue leaks out of the funnel.Claudeに接続
設定ブロックを生成します(常にインストールされたコードと一致します):
gtmos mcp --config次に、それをMCPホストの設定に貼り付けます。Claude Desktopの場合は ~/Library/Application Support/Claude/claude_desktop_config.json(macOS):
{
"mcpServers": {
"gtmos": {
"command": "gtmos",
"args": [
"mcp"
],
"env": {
"GTMOS_HUBSPOT_TOKEN": "<your-hubspot-private-app-token>"
}
}
}
}Claude Codeの場合:
claude mcp add gtmos --env GTMOS_HUBSPOT_TOKEN=<your-hubspot-private-app-token> -- gtmos mcpホストを再起動し、次のように質問します: "CRMを監査して、最も弱い次元を表示して。"
HubSpotトークンの取得
HubSpotポータルでプライベートアプリを作成し、読み取り専用スコープを設定します: audit_crmにはcrm.objects.contacts.read、funnel_leakにはcrm.objects.deals.read。トークンはあなたのマシンのホスト設定に保存されます。このパッケージがトークンを保存したり転送したりすることはありません。
トークンがない場合?エクスポートを使用
両方のツールは、ライブポータルの代わりにファイルを受け入れます:
audit_crm { "contacts_file": "./contacts.json", "acv": 9000 }
funnel_leak { "deals_file": "./deals.json" }contacts.jsonは連絡先オブジェクトのJSON配列です(HubSpotエクスポート形式: properties.email、properties.firstname、...)。正確な形式については、tests/fixtures/contacts_sample.jsonおよびtests/fixtures/deals_sample.jsonを参照してください。
実行例
Scored 25 records.
Portal integrity score: 77.5 (B).
Duplicate clusters found: 2.
Dimension averages (worst first):
- freshness: 55.0
- ownership: 88.0
- validity: 91.9
- consistency: 93.6
- completeness: 94.6
Full report written to: ./audit-out/integrity-report.mdMCPなしのCLI
同じエンジンがシェルから直接実行できます:
gtmos audit --input contacts.json --acv 9000 # contact integrity audit
gtmos calibrate --scores s.json --outcomes o.json # grade the scorer against real outcomesアーキテクチャ
MCP stdioトランスポートに従い、改行区切りのJSON-RPC 2.0 over stdio。プロトコルハンドラ(handle_message)は純粋関数で、メッセージ入力、応答出力のため、プロセスを起動せずに全体をテスト可能です。スコアリングエンジンは決定論的でネットワーク不要。唯一のネットワークコードは、あなたのマシンからあなたのトークンを使用したオプションのHubSpotフェッチです。
gtmos/
mcp/ stdio server + tool definitions
audit/ contact integrity engine, fetch, report
funnel/ deal-stage leak engine, fetch, report
calibrate/ scorer-vs-reality gradingテスト
python -m pytest tests/59のテスト、すべてオフライン、トークン不要。
ライセンス
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Free, read-only Apollo.io audit: duplicate accounts, double-enrolled contacts, stalled workflows.
Audit B2B prospect lists before enrichment, CRM import or outreach.
Salesforce & HubSpot: dedupe, normalize, enrich, assign, job change, create, mass update, segment
Read-only BakedBot tools: revenue-leak audits, retention, inventory, menu and compliance insights.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables advanced HubSpot CRM operations including unlimited record extraction, duplicate detection and merging, property drift analysis, and bulk upserts, surpassing official API limits.MIT
- FlicenseNot gradedqualityDmaintenanceA read-only MCP server that connects to HubSpot to audit CRM data, diagnose RevOps maturity, identify at-risk deals, and provide step-by-step guidance for fixing issues.-
- AlicenseAqualityBmaintenanceRead-only MCP server that audits a HubSpot portal and reports what works, what is broken, and what is missing.2173 npm4MIT
- AlicenseAqualityBmaintenanceEnables Claude to answer read-only HubSpot pipeline questions by finding stalled deals, duplicate contacts, missing fields, rep conversion gaps, and other revenue leaks with USD-at-risk summaries. It can run on synthetic fixtures by default or a live portal using read-only scopes.6MIT