Skip to content
MCP server

sf-intelligence: offline Salesforce MCP server

Offline Salesforce impact analysis from your own metadata, answered with cited components

Runs locallyStatus and history
Install
Pricing
Free
Platforms
CLI, self-hosted
Runs
Locally
Version
0.8.0
Listing updated
2 days ago

About sf-intelligence: offline Salesforce MCP server

sf-intelligence: offline Salesforce MCP server is a free MCP server for sales and crm. It runs locally on your machine and is started by your AI client.

Instead of connecting to a live org, sf-intelligence answers from a local vault, an org-kb folder built from retrieved metadata. You point the SFI_VAULT environment variable at that folder; without it the server falls back to ./org-kb in whatever directory the host launched in, and reports what it looked for through sfi.setup_status.

Answers are structured around change risk. A field-deletion check returns a verdict such as safe, risky, blocking or review, lists the Apex, formulas and roll-ups that depend on the field, and spells out which metadata types were found empty and which were not checked. Save-order questions list triggers, validation rules, flows and approvals in the sequence they run. A typo-tolerant resolver asks a clarifying question when a name is ambiguous.

By default the assistant sees 16 tools: eight answer tools and eight navigation tools, with other analyses behind the sfi.run_analysis gateway. A built-in demo org, a fictional solar installer, lets you try it without a Salesforce login. The optional live read-only plane stays off until enabled. Its site reports 8 of 8 correct answers on admin questions against a real org, a measurement the vendor made itself.

Install

Run in a terminal

claude mcp add salesforce-intelligence --env SFI_VAULT='<SFI_VAULT>' -- npx -y sf-intelligence

Add to claude_desktop_config.json

{
  "mcpServers": {
    "salesforce-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "sf-intelligence"
      ],
      "env": {
        "SFI_VAULT": "<SFI_VAULT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "salesforce-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "sf-intelligence"
      ],
      "env": {
        "SFI_VAULT": "<SFI_VAULT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "salesforce-intelligence": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sf-intelligence"
      ],
      "env": {
        "SFI_VAULT": "<SFI_VAULT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "salesforce-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "sf-intelligence"
      ],
      "env": {
        "SFI_VAULT": "<SFI_VAULT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "salesforce-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "sf-intelligence"
      ],
      "env": {
        "SFI_VAULT": "<SFI_VAULT>"
      }
    }
  }
}

Configuration

  • SFI_VAULTAbsolute path to the org-kb vault this server should answer from, e.g. <your-sfdx-project>/org-kb. Set this: without it the server falls back to ./org-kb relative to whatever directory your MCP host happens to launch in, and an MCP host is almost never launched inside your Salesforce project. The server still starts without it and reports what it looked for via sfi.setup_status, but it will have no org to answer about.Required

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

sfi.resolve
Resolves messy component names to the right Salesforce component.
sfi.search_components
Searches components in the vault.
sfi.get_component
Fetches details of one component.
sfi.health_check
Checks the server and vault health.
sfi.list_analyses
Lists the analyses available through the gateway.
sfi.describe_analysis
Describes one analysis.
sfi.run_analysis
Gateway tool that runs any analysis not exposed directly.
sfi.live_consent
Controls consent for the optional live read-only plane.
sfi.setup_status
Reports where the server looked for the vault and what it found.

What it does

Field deletion verdicts
Returns safe, risky, blocking or review with the components behind each reason.
Save-order explanation
Lists triggers, validation rules, flows and approvals in the order they run for a record save.
Effective permissions
Works out who can see or edit an object from profiles and permission sets.
Dead Apex detection
Finds classes and triggers nothing calls, tiered as definitely, likely or uncertain.
Coverage disclosure
Each answer says which metadata kinds were checked and which were not in the snapshot.
Typo-tolerant resolver
Asks which component you meant when a name matches several.
Built-in demo org
Try the server on a sample org without logging in to Salesforce.

Good for

  • Check what depends on a custom field before deleting it
  • Trace what runs when a record is saved before changing automation
  • Answer who can edit an object during a permissions review
  • Find unused Apex classes to clean up
  • Explore an unfamiliar org through an AI assistant

Pricing

Free

Described as free on its site; no paid plan listed

Prices change. Check sfi.auditforce.cloud before you buy.

sf-intelligence: offline Salesforce MCP server FAQ

Does it change my Salesforce org?

No. The site and README say it never writes to your org and runs on your computer.

What do I need to set?

Set SFI_VAULT to the absolute path of your org-kb vault; the server starts without it but has no org to answer about.

Which assistants does it work with?

Claude Code, Claude Desktop, Cursor, VS Code with Copilot and Codex.

Can I try it without an org?

Yes, `npx -y sf-intelligence demo` starts a built-in demo org with no Salesforce login.

Is it free?

The site describes it as free; no paid plan is listed.

Is sf-intelligence: offline Salesforce MCP server free?

Yes. sf-intelligence: offline Salesforce MCP server is free to use.

How do I add sf-intelligence: offline Salesforce MCP server to Claude Code?

Run this command in your terminal: claude mcp add salesforce-intelligence --env SFI_VAULT='<SFI_VAULT>' -- npx -y sf-intelligence

What are the best alternatives to sf-intelligence: offline Salesforce MCP server?

The closest alternatives to sf-intelligence: offline Salesforce MCP server are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to sf-intelligence: offline Salesforce MCP server

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools