Ops HubSpot CRM MCP Server

Ops HubSpot CRM MCP Server

Custom MCP server for HubSpot CRM providing ICP segmentation, scoring, duplicate detection, Data Quality Score, and lifecycle stage automation. Exposes 39 tools to enhance HubSpot's native capabilities.

Category
访问服务器

README

Serveur MCP OPS Hubpost CRM

Serveur MCP (Model Context Protocol) personnalisé pour HubSpot CRM — segmentation ICP, scoring, détection de doublons, Data Quality Score et automatisation lifecycle stage.

Structure

hubspot-mcp-server/
├── server.py           # Serveur MCP FastMCP (39 outils)
├── requirements.txt    # Dépendances Python
├── .env.example        # Template de configuration
└── .gitignore

Rôle

Expose la logique métier propre au workspace (Fit Score ICP, détection doublons, calcul DQS) que le MCP officiel HubSpot ne fournit pas nativement.

Installation

cd hubspot-mcp-server
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Éditer .env avec ton Private App Access Token HubSpot

Démarrage

python server.py
# Tester avec MCP Inspector : npx @modelcontextprotocol/inspector python server.py

Outils exposés (39)

Audit & Qualité

  • audit_contacts_completeness — calcule le taux de complétude
  • compute_dqs — calcul du Data Quality Score (DQS)
  • detect_duplicate_contacts — détection de doublons (name+company, email)
  • detect_duplicate_companies — détection de doublons companies

Scoring & Segmentation

  • calculate_fit_score — applique la grille ICP Fit Score
  • calculate_company_fit_score — scoring firmographique companies
  • calculate_company_engagement_score — scoring engagement companies
  • calculate_company_combined_score — score combiné (fit + engagement + techno)
  • calculate_company_techno_score — scoring technographique
  • sync_segmentation_properties — synchronise les propriétés ICP
  • sync_company_segmentation — segmentation companies

Lifecycle & Pipeline

  • update_lifecyclestage — promotion automatique de lifecyclestage
  • update_company_lifecyclestage — lifecyclestage companies
  • detect_founder_signals — détection des signaux forts founder-led
  • detect_company_signals — détection signaux companies

Enrichissement & Complétion

  • standardize_contact — standardisation des contacts
  • standardize_company_properties — standardisation companies
  • complete_missing_fields — complétion champs critiques
  • complete_company_fields — complétion companies

Reporting

  • generate_weekly_report — rapport hebdomadaire complet
  • generate_company_report — rapport companies
  • generate_revops_report — rapport RevOps

Administration

  • create_custom_properties — création des propriétés custom
  • fix_lifecycle_stages — correction lifecycle stages
  • dedupe_contacts — fusion de doublons contacts
  • dedupe_companies — fusion de doublons companies
  • bulk_update_properties — mise à jour en masse

Propriétés Custom

Contacts (6)

Propriété Type Description
fit_score number Score ICP 0-50
icp_tier dropdown Tier 1 / Tier 2 / Tier 3 / Not ICP
founder_signal_type string Type de signal founder détecté
last_signal_date date Date du dernier signal
duplicate_flag boolean Contact potentiellement dupliqué
tier1_alert_sent_date date Date d'alerte Tier 1

Companies (11)

Propriété Type Description
icp_tier_company dropdown Tier 1 / Tier 2 / Tier 3
company_fit_score number Score fit 0-60
company_engagement_score number Score engagement 0-40
company_combined_score number Score combiné 0-118
company_techno_score number Score techno 0-18
last_company_sync_date date Dernière synchronisation
company_tier1_alert_sent_date date Date d'alerte Tier 1
recent_funding_amount number Financement récent
num_locations number Nombre de localisations
existing_hubspot_customer boolean Client HubSpot existant
ecommerce_stack string Stack e-commerce

Bug Fixes (2026-07-16)

39 bugs identifiés et corrigés le 2026-07-16 :

  • BUG-01 : hs_ prefix sur propriétés custom → renommé en recent_funding_amount
  • BUG-02 : Options vides sur boolean → ajout options true/false
  • BUG-03 : Lifecyclestage regression → forward-only enforcement
  • BUG-04 : HubSpot search limit 200 → pagination automatique
  • BUG-05 : Contact standardization modifie champs protégés → exclusion email/firstname/lastname/company/lifecyclestage/hs_lead_status
  • BUG-06 : Company name auto-write → flagged to review queue
  • BUG-07 : Phone field auto-write → jamais écrit automatiquement
  • BUG-08 : Duplicate merge sans validation → human confirmation required
  • BUG-09 : Irreversible actions sans confirmation → dry_run par défaut
  • BUG-10 : Dropdown options mismatch → labels exacts server.py
  • BUG-11 : DQS formula incorrect → (completeness×0.40) + ((1-doublons)×0.20) + (segmentation×0.20) + (pipeline_activity×0.20)
  • BUG-12 : ICP weight auto-apply → human validation required
  • BUG-13 : Breeze Intelligence API trigger → détection gaps uniquement
  • BUG-14 : Config paths wrong → ~/nanobot-workspace/ par défaut
  • BUG-15 : Sales Hub Starter constraint → custom icp_tier_company dropdown

Configuration

Créer un fichier .env à la racine avec :

HUBSPOT_ACCESS_TOKEN=pat-xxxxxxxxxxxx

Ou utiliser ~/nanobot_secrets.env (chmod 600) sourcé via .bashrc.

License

Private — usage interne uniquement.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选