Overview

MCP server for LLM integration.

MCP Server

SMAvatar includes a Model Context Protocol (MCP) server that enables LLMs to discover locations, themes, and generate API requests through conversation.

What is MCP?

MCP is a standard for LLM tool integration. AI assistants can:

  • Discover available locations, themes, and styles
  • Query features and capabilities
  • Generate valid API requests

Use Cases

Conversational Map Creation

"Create a map of the US with Idaho highlighted in blue"

Educational Assistants

Build AI tutors that generate geography materials on demand.

Developer Tools

Let AI assistants help integrate SMAvatar APIs.

Base URL

https://api.smavatar.com/api/mcp

Available Tools

Discovery (No Auth Required)

ToolDescription
list-locationsFind countries, states, cities
get-location-detailsGet location bounds and info
list-themesList map themes
get-theme-detailsGet theme styling info
get-capabilitiesWhat SMAvatar can/can't do

Discovery (API Key Required)

ToolDescription
list-featuresFind rivers and lakes
get-feature-detailsGet feature geometry

Learning

ToolDescription
search-documentationSearch docs
get-api-exampleGet ready-to-use examples
get-use-case-examplesEducational examples

Rate Limits

TierLimit
Anonymous600 requests/hour
API Key600 requests/hour
AdminUnlimited

Some tools cost more against your quota:

ToolCost
list-locations1
list-features5
search-documentation3

Quick Example

An LLM might process "Create a US map with California highlighted":

  1. list-locations?type=country&q=united states → Get US ID
  2. list-locations?type=subdivision&q=california → Get CA code
  3. get-api-example?scenario=country-map → Get template
  4. Return complete API request to user

Next Steps

Tools Reference

Complete tool documentation.

Examples

Example LLM conversations.