spott

spott

3.4

Spott MCP Server is a solution for interacting with geographical data, focusing on cities, countries, and administrative divisions.

Spott MCP Server provides a comprehensive suite of tools for searching and interacting with a vast database of geographical places. It allows users to execute full query or autocomplete searches across more than 240,000 records worldwide, filter results by country, type, and geographical location, and retrieve place names in over 20 languages. Additionally, it offers IP location services to determine the geographical location of a given IP address. Originally developed to address specific project needs, Spott has been released for global use due to its broader applicability.

Features

  • {'name': 'Autocomplete Places', 'description': "Fetch a list of places matching a given prefix, ideal for implementing 'search as you type' functionality."}
  • {'name': 'Search Places', 'description': 'Retrieve a list of places based on a query, with optional filtering by various properties.'}
  • {'name': 'Get Place by My IP', 'description': 'Identify the place associated with the IP from which the request is made.'}
  • {'name': 'Get Place by IP', 'description': 'Find the geographical location of any specified IP address.'}
  • {'name': 'Get Place by ID', 'description': 'Obtain detailed information about a place using its unique identifier.'}

Usage with Different Platforms

nodejs

javascript
const spott = require('spott-mcp');

spott.searchPlaces({ query: 'New York' })
  .then(results => console.log(results))
  .catch(error => console.error(error));

python

python
import spott

results = spott.search_places(query='New York')
print(results)