SMAvatar includes a Model Context Protocol (MCP) server that enables LLMs to discover and generate visuals through natural conversation.
MCP (Model Context Protocol) is a standard for LLM tool integration. It allows AI assistants like Claude, GPT, and others to:
Conversational Map Creation
"Create a map of the US with Idaho highlighted in blue"
Educational Assistants
Build AI tutors that can generate geography materials on demand.
Developer Tools
Let AI assistants help developers integrate SMAvatar APIs.
https://api.smavatar.com/api/mcp
curl 'https://api.smavatar.com/api/mcp'
Response:
{
"name": "SMAvatar MCP Server",
"version": "1.0.0",
"description": "MCP server for educational map generation",
"capabilities": {
"discovery": true,
"learning": true,
"creation": false
},
"tools": [
"list-locations",
"get-location-details",
"list-features",
"list-themes",
"get-capabilities",
"search-documentation",
"get-api-example"
]
}
| Tool | Description |
|---|---|
list-locations | Find countries, states, cities |
get-location-details | Get detailed location info |
list-themes | List available map themes |
get-theme-details | Get theme styling info |
get-capabilities | What SMAvatar can/can't do |
| Tool | Description |
|---|---|
list-features | Find rivers and lakes |
get-feature-details | Get feature geometry |
| Tool | Description |
|---|---|
search-documentation | Search our docs |
get-api-example | Get ready-to-use API examples |
get-use-case-examples | Educational use case examples |
An LLM conversation might look like:
User: "I need a map of the US with California highlighted"
LLM (internally):
list-locations?type=country → finds US location IDlist-locations?type=subdivision&q=california → finds CA codeget-api-example?scenario=country-map → gets templatecurl -X POST '.../jobs/maps' -d '{
"location_id": "bdd56f14-...",
"configuration": {
"highlight_subdivisions": [
{"subdivision_code": "us-ca", "fill_color": "#3498db"}
]
}
}'
| Tier | Requests/min | Requests/hour |
|---|---|---|
| Anonymous | 10 | 100 |
| API Key | 100 | 1000 |