Skip to main content
Glama
trose

ICE Locator MCP Server

by trose
README.md
# ICE Locator MCP Server

[![MCP Badge](https://lobehub.com/badge/mcp/trose-ice-locator-mcp)](https://lobehub.com/mcp/trose-ice-locator-mcp)

A Model Context Protocol (MCP) server for searching ICE detainee locations with AI-powered natural language queries.

## Features

- πŸ” **Smart Search**: Natural language queries with fuzzy matching
- πŸ“Š **Bulk Operations**: Search multiple detainees simultaneously  
- 🌐 **Multilingual**: Support for English, Spanish, and more
- πŸ“‹ **Legal Reports**: Generate comprehensive reports for legal use
- πŸ—ΊοΈ **Heatmap Visualization**: Interactive web app showing facility locations

## Quick Start

### Installation

```bash
pip install ice-locator-mcp
```

### Claude Desktop Configuration

Add to your Claude Desktop config:

**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "ice-locator": {
      "command": "ice-locator-mcp",
      "args": []
    }
  }
}
```

## Available Tools

### πŸ” Search Tools

| Tool | Description | Parameters |
|------|-------------|------------|
| `search_detainee_by_name` | Search by personal information with fuzzy matching | `first_name`, `last_name`, `date_of_birth`, `country_of_birth`, `middle_name`, `language`, `fuzzy_search` |
| `search_detainee_by_alien_number` | Search by alien registration number (A-number) | `alien_number`, `language` |
| `smart_detainee_search` | AI-powered natural language search | `query`, `context`, `suggest_corrections`, `language` |
| `bulk_search_detainees` | Search multiple detainees simultaneously | `search_requests`, `max_concurrent`, `continue_on_error` |
| `generate_search_report` | Generate comprehensive reports for legal use | `search_criteria`, `results`, `report_type`, `format` |

### πŸ“‹ Prompts

| Prompt | Description | Arguments |
|--------|-------------|-----------|
| `detainee_search_guide` | Guide for searching ICE detainees with best practices | `search_type`, `user_role` |
| `legal_report_template` | Template for generating legal reports from search results | `report_type`, `client_name` |
| `family_support_guide` | Comprehensive guide for families searching for detained relatives | `relationship`, `language` |

### πŸ“š Resources

| Resource | Description | Type |
|----------|-------------|------|
| `ice://facilities/database` | Comprehensive database of ICE detention facilities | JSON |
| `ice://search/history` | Track and manage previous search queries and results | JSON |
| `ice://legal/templates` | Templates for legal documents and correspondence | Markdown |
| `ice://support/resources` | Resources for families of detainees | Markdown |
| `ice://statistics/trends` | Historical data and trends about ICE detention | JSON |

## Usage Examples

```python
# Natural language search
result = await smart_detainee_search(
    query="Find Maria Rodriguez from Guatemala born around 1985"
)

# Name-based search
result = await search_detainee_by_name(
    first_name="John",
    last_name="Doe", 
    date_of_birth="1990-01-15",
    country_of_birth="Mexico"
)

# Bulk search
result = await bulk_search_detainees(
    search_requests=[...],
    max_concurrent=3
)
```

## Web App

View the interactive heatmap: **[ice-locator-mcp.vercel.app](https://ice-locator-mcp.vercel.app/)**

## Use Cases

- **Legal Representatives**: Locate clients in ICE custody
- **Family Members**: Find detained relatives with AI assistance
- **Advocacy Organizations**: Streamline detainee location workflows
- **AI Assistants**: Enable immigration-related support capabilities

## Privacy & Security

- **No Data Storage**: Search data is not permanently stored
- **Local Processing**: All processing happens locally
- **Optional Analytics**: Privacy-first analytics with automatic data redaction
- **Rate Limiting**: Respectful usage with built-in rate limiting

## License

MIT License - see [LICENSE](LICENSE) for details.

## Support

- **Issues**: [GitHub Issues](https://github.com/trose/ice-locator-mcp/issues)
- **Documentation**: [Full Documentation](https://trose.github.io/ice-locator-mcp)

---

**⚠️ Important**: This is an independent project not affiliated with ICE. Use responsibly and in compliance with applicable laws.