Bitrix24 MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/Maxli53/mcp_bitrix
cd bitrix24-mcp-server
npm install
npm run build
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "BITRIX24_WEBHOOK_URL=${BITRIX24_WEBHOOK_URL}" bitrix24-mcp -- node "<FULL_PATH_TO_MCP_BITRIX>/dist/index.js"

Replace <FULL_PATH_TO_MCP_BITRIX>/dist/index.js with the actual folder you prepared in step 1.

Required:BITRIX24_WEBHOOK_URL
README.md

A comprehensive MCP server for Bitrix24 CRM integration

Bitrix24 MCP Server

A comprehensive Model Context Protocol (MCP) server for Bitrix24 CRM integration, enabling AI agents to seamlessly interact with your Bitrix24 instance through a powerful set of tools.

🚀 Features

  • Complete CRM Management: Create, read, update, and list contacts, deals, and tasks
  • Advanced Search: Search across all CRM entities with flexible filtering
  • Rate Limiting: Built-in rate limiting to respect Bitrix24 API limits
  • Type Safety: Full TypeScript implementation with comprehensive type definitions
  • Error Handling: Robust error handling and validation
  • Easy Integration: Simple setup with Claude Desktop and other MCP-compatible clients

📋 Available Tools

Contact Management

  • bitrix24_create_contact - Create new contacts
  • bitrix24_get_contact - Retrieve contact by ID
  • bitrix24_list_contacts - List contacts with filtering
  • bitrix24_update_contact - Update existing contacts

Deal Management

  • bitrix24_create_deal - Create new deals
  • bitrix24_get_deal - Retrieve deal by ID
  • bitrix24_list_deals - List deals with filtering
  • bitrix24_update_deal - Update existing deals

Task Management

  • bitrix24_create_task - Create new tasks
  • bitrix24_get_task - Retrieve task by ID
  • bitrix24_list_tasks - List tasks with filtering
  • bitrix24_update_task - Update existing tasks

User Management

  • bitrix24_get_user - Get user information by ID
  • bitrix24_get_all_users - Get all users in the system with names and details
  • bitrix24_resolve_user_names - Resolve user IDs to user names
  • bitrix24_get_contacts_with_user_names - Get contacts with user names resolved
  • bitrix24_get_deals_with_user_names - Get deals with user names resolved
  • bitrix24_get_leads_with_user_names - Get leads with user names resolved
  • bitrix24_get_companies_with_user_names - Get companies with user names resolved

Lead Management

  • bitrix24_create_lead - Create new leads
  • bitrix24_get_lead - Retrieve lead by ID
  • bitrix24_list_leads - List leads with filtering
  • bitrix24_get_latest_leads - Get most recent leads
  • bitrix24_get_leads_from_date_range - Get leads from specific date range
  • bitrix24_update_lead - Update existing leads

Company Management

  • bitrix24_create_company - Create new companies
  • bitrix24_get_company - Retrieve company by ID
  • bitrix24_list_companies - List companies with filtering
  • bitrix24_get_latest_companies - Get most recent companies
  • bitrix24_get_companies_from_date_range - Get companies from specific date range
  • bitrix24_update_company - Update existing companies

Enhanced Deal Filtering

  • bitrix24_get_deal_pipelines - Get all deal pipelines/categories
  • bitrix24_get_deal_stages - Get deal stages for pipelines
  • bitrix24_filter_deals_by_pipeline - Filter deals by pipeline
  • bitrix24_filter_deals_by_budget - Filter deals by budget range
  • bitrix24_filter_deals_by_status - Filter deals by stage/status

Utilities

  • bitrix24_search_crm - Search across CRM entities
  • bitrix24_get_current_user - Get current user info
  • bitrix24_validate_webhook - Validate webhook connection
  • bitrix24_diagnose_permissions - Diagnose webhook permissions
  • bitrix24_check_crm_settings - Check CRM settings and configuration
  • bitrix24_test_leads_api - Test leads API endpoints

Sales Team Monitoring

  • bitrix24_monitor_user_activities - Monitor user activities (calls, emails, timeline interactions, response times)
  • bitrix24_get_user_performance_summary - Get comprehensive performance summary with deal metrics and conversion rates
  • bitrix24_analyze_account_performance - Analyze performance for specific accounts (companies/contacts)
  • bitrix24_compare_user_performance - Compare performance metrics between multiple users
  • bitrix24_track_deal_progression - Track deal progression through pipeline stages with timing analysis
  • bitrix24_monitor_sales_activities - Monitor sales-related activities (tasks, follow-ups, meetings)
  • bitrix24_generate_sales_report - Generate comprehensive sales reports with customizable metrics
  • bitrix24_get_team_dashboard - Get real-time team performance dashboard
  • bitrix24_analyze_customer_engagement - Analyze customer engagement patterns and relationship health
  • bitrix24_forecast_performance - Generate performance forecasts and predictive analytics

🛠️ Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Bitrix24 webhook URL

Setup

  1. Clone and install dependencies:
git clone <repository-url>
cd bitrix24-mcp-server
npm install
  1. Configure environment:
cp .env.example .env
# Edit .env with your Bitrix24 webhook URL
  1. Build the project:
npm run build
  1. Test the connection:
npm test

⚙️ Configuration

Environment Variables

Create a .env file with the following variables:

BITRIX24_WEBHOOK_URL=https://your-domain.bitrix2

Tools (6)

bitrix24_create_contactCreate new contacts in Bitrix24.
bitrix24_list_dealsList deals with filtering capabilities.
bitrix24_create_taskCreate new tasks in the CRM.
bitrix24_search_crmSearch across all CRM entities.
bitrix24_get_user_performance_summaryGet comprehensive performance summary with deal metrics and conversion rates.
bitrix24_generate_sales_reportGenerate comprehensive sales reports with customizable metrics.

Environment Variables

BITRIX24_WEBHOOK_URLrequiredThe webhook URL for your Bitrix24 instance

Configuration

claude_desktop_config.json
{"mcpServers": {"bitrix24": {"command": "node", "args": ["/path/to/bitrix24-mcp-server/build/index.js"], "env": {"BITRIX24_WEBHOOK_URL": "https://your-domain.bitrix24.com/rest/1/your-webhook-key/"}}}}

Try it

List all active deals in the current pipeline.
Create a new contact for John Doe with email john@example.com.
Generate a performance summary for the sales team for this month.
Search for the company 'Acme Corp' in the CRM.
Track the progression of deal ID 123 through the pipeline stages.

Frequently Asked Questions

What are the key features of Bitrix24 MCP Server?

Complete CRM management for contacts, deals, tasks, leads, and companies. Advanced search capabilities across all CRM entities. Sales team monitoring including activity tracking and performance analytics. Built-in rate limiting to respect Bitrix24 API constraints. Full TypeScript implementation with type safety.

What can I use Bitrix24 MCP Server for?

Automating lead entry and contact management for sales representatives. Generating real-time sales performance reports and team dashboards. Analyzing customer engagement patterns and relationship health. Tracking deal progression and forecasting sales performance. Syncing CRM tasks with AI-driven project management workflows.

How do I install Bitrix24 MCP Server?

Install Bitrix24 MCP Server by running: git clone https://github.com/Maxli53/mcp_bitrix && cd bitrix24-mcp-server && npm install && npm run build

What MCP clients work with Bitrix24 MCP Server?

Bitrix24 MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Bitrix24 MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare