@kruncherai/kruncher-mcp
Model Context Protocol (MCP) server for the Kruncher Integration API. Enables AI assistants to interact with your Kruncher deal flow, portfolio companies, and analysis data.
Table of Contents
- Features
- Requirements
- Quick Start
- Installation & Configuration
- Available Tools
- Usage Examples
- Environment Variables
- Troubleshooting
- Development
- License
Features
- Full API Coverage: All 22 Kruncher Integration API endpoints exposed as MCP tools
- Structured Error Handling: Detailed error responses with codes, retry hints
- Type-Safe: Built with TypeScript and Zod validation
- AI-Optimized: Rich tool descriptions to help AI assistants use tools effectively
Requirements
- Node.js 18+ (Node 20+ recommended)
- Kruncher API key (get one here )
Quick Start
# One-liner to set up with Claude Desktop
KRUNCHER_API_KEY="your-api-key" npx @kruncherai/kruncher-mcp@latest setup-claudeThen restart Claude Desktop.
Installation & Configuration
Claude Desktop
Option 1: Automatic Setup
KRUNCHER_API_KEY="your-api-key" npx @kruncherai/kruncher-mcp@latest setup-claudeThis automatically configures Claude Desktop. Restart Claude Desktop after running.
Option 2: Manual Configuration
Edit your Claude Desktop config file:
| Platform | Config Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Add the following configuration:
{
"mcpServers": {
"kruncher": {
"command": "npx",
"args": ["-y", "@kruncherai/kruncher-mcp@latest"],
"env": {
"KRUNCHER_API_KEY": "your-api-key-here"
}
}
}
}Restart Claude Desktop to apply changes.
Claude Code (CLI)
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"kruncher": {
"command": "npx",
"args": ["-y", "@kruncherai/kruncher-mcp@latest"],
"env": {
"KRUNCHER_API_KEY": "your-api-key-here"
}
}
}
}Or add to a project-specific .claude/settings.json file.
Cursor
Add to your Cursor MCP configuration (~/.cursor/mcp.json):
{
"mcpServers": {
"kruncher": {
"command": "npx",
"args": ["-y", "@kruncherai/kruncher-mcp@latest"],
"env": {
"KRUNCHER_API_KEY": "your-api-key-here"
}
}
}
}Restart Cursor to apply changes.
Windsurf
Add to your Windsurf MCP configuration (~/.windsurf/mcp.json):
{
"mcpServers": {
"kruncher": {
"command": "npx",
"args": ["-y", "@kruncherai/kruncher-mcp@latest"],
"env": {
"KRUNCHER_API_KEY": "your-api-key-here"
}
}
}
}Restart Windsurf to apply changes.
VS Code + Continue
If you’re using Continue extension in VS Code, add to your Continue config (~/.continue/config.json):
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@kruncherai/kruncher-mcp@latest"],
"env": {
"KRUNCHER_API_KEY": "your-api-key-here"
}
}
}
]
}
}OpenAI (Custom GPTs / Assistants)
OpenAI doesn’t natively support MCP, but you can use an MCP-to-HTTP bridge:
Option 1: Using mcp-proxy
- Install and run
mcp-proxy:
npm install -g @anthropics/mcp-proxy
# Start the proxy server
KRUNCHER_API_KEY="your-api-key" mcp-proxy --port 3000 -- npx @kruncherai/kruncher-mcp@latest-
The proxy exposes the MCP tools as HTTP endpoints at
http://localhost:3000 -
Configure your OpenAI Assistant/GPT to call these endpoints as custom actions
Option 2: Direct API Integration
For OpenAI function calling, you can use the Kruncher REST API directly. See the Kruncher API documentation for OpenAPI spec.
Other MCP Clients
For any MCP-compatible client, use these connection details:
| Setting | Value |
|---|---|
| Transport | STDIO |
| Command | npx |
| Arguments | ["-y", "@kruncherai/kruncher-mcp@latest"] |
| Environment | KRUNCHER_API_KEY=<your-key> |
Available Tools
Projects
| Tool | Description |
|---|---|
list_projects | List all projects (companies) with pagination |
search_projects | Search projects by keywords |
get_portfolio_projects | Get all portfolio companies |
create_project | Create a new project and optionally start analysis |
create_project_from_html | Create project from HTML content |
Analysis
| Tool | Description |
|---|---|
add_analysis | Start a new analysis on an existing project |
get_analysis_detail | Get detailed analysis information |
update_analysis_entity | Update a specific entity value in an analysis |
get_report | Get the full analysis report |
Pipeline Management
| Tool | Description |
|---|---|
add_comment | Add a comment to a project |
change_status | Change project pipeline status/phase/stage |
set_criteria | Set or update project criteria/scoring |
add_vote | Add a vote/rating to a project |
Project Lists
| Tool | Description |
|---|---|
list_project_lists | Get all project lists |
assign_project_to_list | Add/remove a project from a list |
External Mappings
| Tool | Description |
|---|---|
list_mappings | List all external ID mappings |
get_mapping_by_external_id | Find mapping by external system ID |
get_mapping_by_kruncher_id | Find mapping by Kruncher ID |
create_mapping | Create an external ID mapping |
Integrations
| Tool | Description |
|---|---|
push_to_crm | Push analysis to Attio or Notion |
process_affinity_daily | Sync Affinity list entries |
process_affinity_org | Process single Affinity organization |
process_message | Process inbound email/message |
Research & AI
| Tool | Description |
|---|---|
research_person | Research a person by name and company |
chat | Ask the Kruncher AI agent questions |
Usage Examples
Once configured, you can ask your AI assistant to:
Search and Explore
"Show me all projects in my pipeline"
"Search for companies in the fintech space"
"Get the full analysis report for Acme Corp"Create and Manage
"Create a new project for TechStartup Inc with website techstartup.com"
"Add a comment to the Acme Corp project saying 'Followed up via email'"
"Move the TechStartup project to the 'Due Diligence' stage"Research and Analysis
"Research John Smith, CEO of TechStartup Inc"
"What's the revenue growth for companies in my portfolio?"
"Compare the analysis scores of my top 5 deals"Integrations
"Push the Acme Corp analysis to Notion"
"Sync my Affinity inbox list"Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
KRUNCHER_API_KEY | Yes | - | Your Kruncher API key |
KRUNCHER_BASE_URL | No | https://api.kruncher.ai | API base URL (for testing) |
Troubleshooting
Server won’t start
-
Check Node.js version: Requires Node.js 18+
node --version -
Verify API key: Ensure
KRUNCHER_API_KEYis set correctly -
Clear npx cache (if upgrading):
rm -rf ~/.npm/_npx
“import: command not found” error
This indicates an old cached version. Clear the npx cache:
rm -rf ~/.npm/_npxTools not appearing
- Restart your MCP client (Claude Desktop, Cursor, etc.)
- Check the MCP logs:
- macOS:
~/Library/Logs/Claude/mcp*.log - Windows:
%APPDATA%\Claude\logs\mcp*.log
- macOS:
Connection timeouts
Some operations (person research, chat) can take longer. The default timeout is 60 seconds, with 120 seconds for long-running operations.
Debug mode
Run the server directly to see debug output:
KRUNCHER_API_KEY="your-key" npx @kruncherai/kruncher-mcp@latestDevelopment
Local Development
# Clone the repository
git clone https://github.com/kruncherai/kruncher-mcp.git
cd kruncher-mcp
# Install dependencies
npm install
# Build
npm run build
# Run locally
KRUNCHER_API_KEY="your-key" node dist/cli.jsProject Structure
src/
├── cli.ts # Entry point with CLI commands
├── stdio.ts # MCP server setup
├── tools.ts # MCP tool definitions
├── kruncherClient.ts # Kruncher API client
└── setupClaude.ts # Claude Desktop auto-configurationBuilding
npm run buildPublishing
npm publish --access publicLicense
MIT License - see LICENSE for details.
Links
- Kruncher - AI-powered deal flow management
- Kruncher API Docs - REST API documentation
- MCP Specification - Model Context Protocol
- Report Issues