[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [PredictLeads company discovery](https://spiral.ai/integrations/muse-code/predictleads-company-discovery)

# How to Use PredictLeads company discovery in Muse Code

Find companies that match a target market and return company records for further research. PredictLeads orders discovery results by last updated date, and the result count is an estimate. Use the list to build a shortlist, then investigate hiring, news, or technology evidence.

|  |  |
| --- | --- |
| Model | PredictLeads company discovery |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.017459 per run at the default inputs. $0.017459 per unit of `limit`. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PredictLeads company discovery in Muse Code

- Use PredictLeads company discovery to create a CSV of software businesses in California for a market research review.
- Use PredictLeads company discovery to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from PredictLeads company discovery and tell me what changed since last week.
- Check PredictLeads company discovery and summarize what you find in three bullet points.
- Pull the newest data from PredictLeads company discovery and give me the result as a table.

## How to set up PredictLeads company discovery in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run PredictLeads company discovery**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "predictleads/companies/discover",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: Muse Code finds PredictLeads company discovery on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## PredictLeads company discovery tools and prices

- [PredictLeads · Company discovery](https://spiral.ai/tools/alexandria/predictleads/companies/discover) (Alexandria): Up to $0.017459 per run at the default inputs. $0.017459 per unit of `limit`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to … | — | 1-based page. Omitting it can drop the result count. |
| limit | 1 to 10 | 1 | Companies to return, from 1 to 10. Each returned company costs 10 credits. Omitted calls request 1. |
| sizes |  | — | Comma-separated headcount buckets, such as 11-50. |
| industry |  | — | Free-text industry, such as Retail. |
| location |  | — | Country name, or a US state name or abbreviation. |
| naics_codes |  | — | Comma-separated NAICS codes. |

## What can you do with PredictLeads company discovery in Muse Code?

Build a company research table inside an internal tool or repository. A coding agent can turn PredictLeads records into reviewable company comparisons, keeping evidence beside the conclusions drawn from it.

### Build an account research shortlist

Find businesses in a target market, expand the search with lookalikes, and check company identity. Review hiring, news, and technology evidence to give each shortlisted business a specific reason for further research.

### Prepare a competitor briefing

Build a peer list through company discovery and similarity results. Add company context, compare advertised roles and detected technologies, and summarize relevant news with links to the evidence.

### Screen potential integration partners

Find candidate businesses and comparable companies, then check their company records. Use technology evidence, technical hiring descriptions, and company announcements to prepare questions for a partnership discussion.

### Prepare a company comparison for investment research

Find businesses in a sector and identify potential comparables. Assemble company descriptions, hiring priorities, technology evidence, and reported events into a comparison that separates source observations from research conclusions.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## PredictLeads company discovery in other agents

- [Amp](https://spiral.ai/integrations/amp/predictleads-company-discovery)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/predictleads-company-discovery)
- [Claude](https://spiral.ai/integrations/claude-desktop/predictleads-company-discovery)
- [Claude Code](https://spiral.ai/integrations/claude-code/predictleads-company-discovery)
- [Cline](https://spiral.ai/integrations/cline/predictleads-company-discovery)
- [Codex](https://spiral.ai/integrations/codex/predictleads-company-discovery)
- [Cursor](https://spiral.ai/integrations/cursor/predictleads-company-discovery)
- [Devin](https://spiral.ai/integrations/devin/predictleads-company-discovery)
- [dots](https://spiral.ai/integrations/dots/predictleads-company-discovery)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/predictleads-company-discovery)
- [Gemini](https://spiral.ai/integrations/gemini/predictleads-company-discovery)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/predictleads-company-discovery)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/predictleads-company-discovery)
- [goose](https://spiral.ai/integrations/goose/predictleads-company-discovery)
- [Grok](https://spiral.ai/integrations/grok/predictleads-company-discovery)
- [Grok Build](https://spiral.ai/integrations/grok-build/predictleads-company-discovery)
- [Hermes](https://spiral.ai/integrations/hermes/predictleads-company-discovery)
- [Instinct](https://spiral.ai/integrations/instinct/predictleads-company-discovery)
- [Manus](https://spiral.ai/integrations/manus/predictleads-company-discovery)
- [Muse](https://spiral.ai/integrations/muse/predictleads-company-discovery)
- [n8n](https://spiral.ai/integrations/n8n/predictleads-company-discovery)
- [Notion](https://spiral.ai/integrations/notion/predictleads-company-discovery)
- [OpenClaw](https://spiral.ai/integrations/openclaw/predictleads-company-discovery)
- [opencode](https://spiral.ai/integrations/opencode/predictleads-company-discovery)
- [Perplexity](https://spiral.ai/integrations/perplexity/predictleads-company-discovery)
- [Raycast](https://spiral.ai/integrations/raycast/predictleads-company-discovery)
- [VS Code](https://spiral.ai/integrations/vscode/predictleads-company-discovery)
- [Windsurf](https://spiral.ai/integrations/windsurf/predictleads-company-discovery)
- [Zapier](https://spiral.ai/integrations/zapier/predictleads-company-discovery)

## More Muse Code guides

- [People Data Labs person search](https://spiral.ai/integrations/muse-code/people-data-labs-person-search)
- [PredictLeads company enrichment](https://spiral.ai/integrations/muse-code/predictleads-company-enrichment)
- [People Data Labs person enrichment](https://spiral.ai/integrations/muse-code/people-data-labs-person-enrichment)
- [PredictLeads company job openings](https://spiral.ai/integrations/muse-code/predictleads-company-job-openings)
- [People Data Labs company search](https://spiral.ai/integrations/muse-code/people-data-labs-company-search)
- [PredictLeads company news events](https://spiral.ai/integrations/muse-code/predictleads-company-news-events)

## Questions about PredictLeads company discovery in Muse Code

**Can Muse Code use PredictLeads company discovery?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run PredictLeads company discovery like any built-in tool.

**How much does PredictLeads company discovery cost in Muse Code?**

Up to $0.017459 per run at the default inputs. $0.017459 per unit of `limit`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use PredictLeads company discovery in Muse Code?**

No. Spiral runs PredictLeads company discovery on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up PredictLeads company discovery in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while PredictLeads company discovery runs?**

PredictLeads company discovery runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Does PredictLeads cover companies outside English-speaking markets?**

PredictLeads describes its coverage as global, with a slight bias toward websites that have an English version.

**How fresh is PredictLeads data?**

PredictLeads says website refreshes range from twice daily to once every two weeks, depending on website activity. That is a collection schedule, so a response should not be read as proof that every underlying page was checked today.

**Can I republish PredictLeads material?**

The published website terms prohibit republishing and selling, renting, or sublicensing its material. Those website terms do not establish redistribution rights for an API dataset; check the applicable data license before publishing records.

**Does one page contain every result?**

PredictLeads paginates responses containing lists of objects. Additional pages can contain more results, so a single page is a partial view.

