Service Status: All Systems Operational — Safeguarded by our multi-cloud infrastructure.

AI chatbots are becoming the primary interface for safety-conscious applications — from neighborhood research tools to tenant screening platforms. This guide shows you how to connect your chatbot to live sex offender data using the Offenders.io MCP server.

The Problem

Users want to ask natural language questions like:

Without live data, your chatbot can only give generic advice. With Offenders.io, it can answer with real numbers from the national registry.

Option 1: MCP Server (Easiest)

If your chatbot is built on Claude, Cursor, or any MCP-compatible framework, just point it to our server:

https://mcp.offenders.io/mcp

Your chatbot instantly gets access to 6 tools:

To unlock full records via MCP, just tell your chatbot “Set my Offenders.io API key to abc123”. No code changes needed.

Option 2: REST API + Function Calling

For chatbots built on OpenAI, LangChain, or custom frameworks that don't support MCP, use our REST API as a function/tool:

// Define as an OpenAI function { "name": "search_sex_offenders", "description": "Search for sex offenders near a location", "parameters": { "lat": { "type": "number" }, "lng": { "type": "number" }, "radius": { "type": "number" } } } // When the function is called: const res = await fetch( `https://api.offenders.io/sexoffender?lat=${lat}&lng=${lng}&radius=${radius}&key=${KEY}` )

Example Conversation

User: Are there any sex offenders near Elm Street Elementary?

Chatbot: I found 12 registered sex offenders within 1 mile of Elm Street Elementary. 2 are classified as high-risk, 7 as moderate, and 3 as low-risk. The nearest is 0.3 miles away. Would you like me to expand the search radius or get more details?

Best Practices

Pricing for Chatbots

Most chatbot use cases fall under 2,000 calls/month ($0.20/call = $400/month max). The free tier covers 50 calls/month for development. For high-volume chatbots, enterprise pricing starts at $0.15/call. See pricing →

Connect Your Chatbot

Start with the free MCP server or get an API key for full access.

MCP Server DocsGet API Key

Related Guides