# Evictions API MCP server

> Allows an AI agent to start and track residential eviction cases in any US state or DC with attorney review.

- Repository: https://github.com/evictionsapi/evictions-api
- Page: https://hostedmcp.org/servers/evictionsapi/evictions-api
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http evictions-api https://evictionsapi.com/mcp
```

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

```json
{
  "mcpServers": {
    "evictions-api": {
      "url": "https://evictionsapi.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "evictions-api": {
      "type": "http",
      "url": "https://evictionsapi.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"evictions-api","type":"http","url":"https://evictionsapi.com/mcp"}'
```

### Codex

```sh
codex mcp add evictions-api --url https://evictionsapi.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.evictions-api]
url = "https://evictionsapi.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http evictions-api https://evictionsapi.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "evictions-api": {
      "url": "https://evictionsapi.com/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `EVICTIONS_API_KEY` | no | no |  |
| `EVICTIONS_API_URL` | no | no |  |

## FAQ

### How much does it cost to start an eviction case?

The platform fee is $29 when a case starts at the notice, and $70 more if it goes on to filing.

### Does the API provide legal advice?

No, Evictions API is not a law firm and does not provide legal advice.

### What happens if no attorney is engaged quickly?

If no attorney is engaged within 5 business days of submission, the platform fee is refunded in full.

### Can I test the API without using real legal processes?

Yes, you can use a free test key which works only with a fictional test state ZZ, ensuring nothing real is served or filed.
