MCP setup

stratless ships an MCP server, so an agent — Claude Desktop, Claude Code, Cursor — can map a field without you writing any HTTP.

Install

npx @stratless/mcp

The server reads your key from the STRATLESS_API_KEY environment variable.

Claude Desktop / Claude Code

Add stratless to your MCP config (claude_desktop_config.json, or via claude mcp add):

{
  "mcpServers": {
    "stratless": {
      "command": "npx",
      "args": ["-y", "@stratless/mcp"],
      "env": { "STRATLESS_API_KEY": "sk_live_…" }
    }
  }
}

Cursor

In ~/.cursor/mcp.json (or the project .cursor/mcp.json):

{
  "mcpServers": {
    "stratless": {
      "command": "npx",
      "args": ["-y", "@stratless/mcp"],
      "env": { "STRATLESS_API_KEY": "sk_live_…" }
    }
  }
}

Tools

The server exposes the same surface as the API:

  • analyze — map a set of companies into a competitive field. Give it names and text (or ask the agent to scrape first).
  • classify — turn a single page’s text into grounded JSON.

Once connected, just ask: “Map Pinecone, Qdrant, Weaviate, and Chroma as a competitive field.” The agent scrapes, calls analyze, and reads the map back.