Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_mapA

Generate complete Leaflet map initialization code with HTML, CSS, and JavaScript. Includes tile layer setup and basic configuration.

add_markerB

Generate code for adding markers to a Leaflet map with optional popups, tooltips, and custom icons.

create_layerB

Generate code for creating various Leaflet layers: polylines, polygons, circles, rectangles, and other vector layers.

add_popupC

Generate code for creating and customizing Leaflet popups with various options and content.

create_geojson_layerA

Generate code for loading and displaying GeoJSON data on a Leaflet map with custom styling and interactions.

create_choroplethB

Generate code for creating an interactive choropleth (data visualization) map with color scales and legends.

convert_coordinatesA

Convert between different coordinate formats (decimal degrees, DMS, various notations) and validate coordinates.

suggest_pluginA

Get recommendations for Leaflet plugins based on desired functionality or use case.

search_examplesA

Search through official Leaflet examples and documentation for specific functionality or patterns.

debug_common_issuesB

Get help debugging common Leaflet issues like map not displaying, tiles not loading, or marker icons missing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Leaflet API ReferenceComplete Leaflet API documentation with all classes, methods, and options
Leaflet Quick Start GuideGetting started with Leaflet - basic setup and initialization
All Leaflet ExamplesCollection of all official Leaflet examples and tutorials
Leaflet Plugins DirectoryCurated list of popular Leaflet plugins by category

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/philgebauer/leaflet-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server