Skip to main content

Claude Code Integration

Use DealMachine directly from Claude Code to search properties, find contacts, and build lists using natural language. The DealMachine CLI acts as a Claude Code skill that translates your requests into API calls.

Setup

1. Install the CLI

2. Authenticate

3. Use with Claude Code

Once authenticated, you can reference DealMachine data in your Claude Code conversations:

What the Agent Can Do

Describe the properties you’re looking for and the agent will:
  1. Query the API for available filter fields
  2. Match your description to the correct filters
  3. Execute the search and return results

Contact Lookup

Find property owners and their contact information:

Filter Discovery

The agent can help you understand what’s available:

List Management

Build and manage targeted lists:

How Natural Language Filtering Works

The DealMachine API exposes filter and field metadata that AI agents use to translate natural language into structured queries:
The agent knows:
  • Available filters - from GET /v1/filters
  • Available fields - from GET /v1/fields
  • Field types - number ranges, booleans, multi-select options
  • Valid options - property types, MLS statuses, location formats
  • Your context - organization, credits remaining, saved filters

Best Practices

Begin with a general search and let the agent help you narrow down:
If you’re not sure what’s possible, ask:
Reference your saved filters by name:
For direct AI-client integration, use the DealMachine MCP Server. The CLI is best when a coding agent can run shell commands. The MCP server is best when an AI client can connect to remote MCP Tools directly.