Skip to main content
Glama
freshsales-mcp

freshsales-mcp

by Thesidman

freshsales-mcp

A small MCP server that lets an AI assistant (Claude, or any other MCP-compatible client) fetch and query data from Freshsales CRM — leads, contacts, deals, and accounts — directly in conversation.

The Freshsales API can do a lot more than this (creating/updating/deleting records, managing tasks, webhooks, bulk operations, etc.). This server is deliberately read-only — every tool issues a GET request and nothing else touches your CRM data. That scope is intentional, not a limitation of the API: it's easy to extend with write tools later if you decide you want an assistant that can also create leads, update deal stages, log activities, and so on, but for now it only ever reads.

Setup

npm install
npm run build

Copy .env.example to .env and fill in your Freshsales bundle domain and API key (Admin Settings > API Settings in Freshsales), or set the same two variables in your MCP client config instead of a .env file.

Related MCP server: hubspot-mcp

Tools

  • freshsales_search — global search by name/email/phone/company across leads, contacts, deals, accounts.

  • freshsales_list_views — list saved views/filters for a module (e.g. "Open Deals").

  • freshsales_list_records — paginated list of records within a saved view.

  • freshsales_get_record — fetch a single lead/contact/deal/account by id.

  • freshsales_raw_request — escape hatch for any other GET endpoint under /crm/sales/api.

Register with Claude Code

claude mcp add freshsales -- node "/Users/apple/aevy resource/freshsales mcp/dist/index.js"

Or add to your MCP config JSON directly:

{
  "mcpServers": {
    "freshsales": {
      "command": "node",
      "args": ["/Users/apple/aevy resource/freshsales mcp/dist/index.js"],
      "env": {
        "FRESHSALES_DOMAIN": "aevytv.myfreshworks.com",
        "FRESHSALES_API_KEY": "your-api-key"
      }
    }
  }
}

Restart Claude Code / Claude Desktop after registering so it picks up the new server.

Security

  • Never commit .env — it holds your Freshsales API key. It's already gitignored; only .env.example (a blank template) is tracked.

  • The API key is sent only to your own Freshsales domain, over HTTPS.

  • All tools are read-only GET requests — this server cannot create, update, or delete anything in your CRM.

License

MIT — see LICENSE.

Available Tools

5 tools
freshsales_get_recordGet a single recordB

Fetch full details of a single lead, contact, deal, or account by its id.

Inputs: id (required), module (required), include.

freshsales_list_recordsList records in a viewA

List records (leads, contacts, deals, accounts, tasks, appointments) belonging to a saved view, with pagination. Get view_id from freshsales_list_views first.

Inputs: module (required), view_id (required), page, per_page.

freshsales_list_viewsList saved views/filtersA

List the saved views (filters) available for a Freshsales module, e.g. 'My Leads', 'Open Deals'. Use this to discover a view_id before calling freshsales_list_records.

Inputs: module (required).

freshsales_raw_requestRaw Freshsales API GET requestA

Escape hatch for any GET endpoint under https:///crm/sales/api not covered by the other tools (e.g. '/leads/filters', '/selector/owners'). Only use when the other tools can't answer the question.

Inputs: path (required), params.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: global search, listing saved views, listing records from a view, fetching a single record by ID, and an escape hatch for arbitrary GET endpoints. No two tools overlap in functionality.

    Naming Consistency5/5

    All tool names consistently follow the 'freshsales_' prefix with a verb_noun pattern (search, list_views, list_records, get_record, raw_request). The naming is uniform and predictable.

    Tool Count5/5

    With five tools, the server is well-scoped for a read-only CRM access layer. It covers search, view discovery, record listing, and detail retrieval without unnecessary bloat.

    Completeness4/5

    The main read workflow (search, discover views, list records, get record details) is well covered, and raw_request provides a fallback for any missing endpoints. However, get_record does not support tasks/appointments even though list_records can return them, leaving a minor gap.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A read-only MCP server that exposes HubSpot CRM data (contacts, deals, companies, quotes) to AI agents, enabling natural language queries.
      9
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Read-only MCP server connecting Claude to Vtiger CRM for leads, deals, and overdue follow-ups.
      -
    • A
      license
      B
      quality
      D
      maintenance
      A read-only MCP server that connects AI assistants to Freshservice Service Desk for ticket triage, asset analysis, and support history summarization.
      23
      ISC