# pline.ai

> pline.ai is an MCP server for web search and scraping. MCP server giving AI clients scrape, crawl, map and search tools via the pline.ai API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, API, Linux, macOS, Windows, Web
- **Repository:** https://github.com/grepsr/pline.ai/tree/HEAD/mcp-server
- **MCP Registry name:** io.github.grepsr/pline-ai
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-27

## About

This server runs locally and connects an MCP-compatible client to the hosted pline.ai web extraction service. The client calls tools for scraping single pages, crawling sites, batch-scraping URL lists, mapping a site's URLs and running search queries, while the heavy fetching and rendering happen on pline.ai's infrastructure.

Each user supplies a personal pline.ai API key, which is sent to the API as a request header. The server remembers browser sessions per host so repeated scrapes of the same domain can reuse them, and it can write outputs to a local folder when run over stdio, otherwise returning results clipped to a configurable length.

It suits developers and agent builders who want their assistants to pull live web content into a conversation or workflow without operating their own crawling infrastructure.

## Features

- **Single page scraping:** Fetches one URL and returns its content as structured JSON.
- **Site crawling:** Starts, checks and cancels crawl jobs across a website.
- **Batch scraping:** Runs scrape jobs over a list of URLs as background tasks.
- **URL discovery:** Maps a site to list the URLs it contains.
- **Web search:** Runs search queries through the pline.ai search endpoint.
- **Session reuse per host:** Keeps scrape sessions per domain so repeat requests reuse them.

## Good for

- Give an AI assistant live access to content from specific web pages
- Crawl a documentation site and feed its pages into a retrieval pipeline
- Discover all URLs on a domain before batch-extracting them
- Run web searches from inside an MCP-enabled coding or research client

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add pline-ai --env PLINE_API_KEY='<PLINE_API_KEY>' -- npx -y pline-ai
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add pline-ai --env PLINE_API_KEY='<PLINE_API_KEY>' -- npx -y pline-ai
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.pline-ai]
command = "npx"
args = ["-y", "pline-ai"]
env = { PLINE_API_KEY = "<PLINE_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e PLINE_API_KEY='<PLINE_API_KEY>' pline-ai npx -- -y pline-ai

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pline-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pline-ai"
      ],
      "env": {
        "PLINE_API_KEY": "<PLINE_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 4 of 10 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `scrape`: Scrape a single page.
- `batch_scrape_start` (name suggests: changes): Start a batch scrape job.
- `batch_scrape_status` (name suggests: reads): Check batch scrape job status.
- `batch_scrape_cancel` (name suggests: changes): Cancel a batch scrape job.
- `crawl_start` (name suggests: changes): Start a site crawl.
- `crawl_status` (name suggests: reads): Check crawl job status.
- `crawl_cancel` (name suggests: changes): Cancel a crawl job.
- `map_site`: Discover URLs on a site.
- `search` (name suggests: reads): Run a web search.
- `sessions_list` (name suggests: reads): List remembered host-to-session mappings.

## FAQ

### Do I need my own API key?

Yes. Each user supplies their own pline.ai API key through the PLINE_API_KEY setting.

### How can pline.ai be installed?

It can be run with npx using the pline-ai npm package, through a Docker image, or as a prebuilt binary or source build.

### Where does the scraping run?

The scraping backend runs on pline.ai's hosted infrastructure; the local process only relays MCP requests to the API.

### How do I add pline.ai to Claude Code?

Run this command in your terminal: claude mcp add pline-ai --env PLINE_API_KEY='<PLINE_API_KEY>' -- npx -y pline-ai

### What are the best alternatives to pline.ai?

The closest alternatives to pline.ai are Scrapling MCP Server, ScrapeCore, AI-First Scraper, Tavily MCP and WebScraping.AI.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [ScrapeCore](https://ai-powered.com/mcp/scrapecore): ScrapeCore is a freemium MCP server for web search and scraping.
- [AI-First Scraper](https://ai-powered.com/mcp/ai-first-scraper): AI-First Scraper is an open-source MCP server for web search and scraping.
- [Tavily MCP](https://ai-powered.com/mcp/tavily-mcp): Tavily MCP is a freemium MCP server for web search and scraping.
- [WebScraping.AI](https://ai-powered.com/mcp/webscraping-ai): WebScraping.AI is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Crawleo MCP](https://ai-powered.com/mcp/crawleo-mcp): Crawleo MCP is a paid MCP server for web search and scraping.
- [Parallel Search MCP](https://ai-powered.com/mcp/parallel-search-mcp): Parallel Search MCP is a freemium MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/pline-ai-2
