leaflet-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Leaflet API Reference | Complete Leaflet API documentation with all classes, methods, and options |
| Leaflet Quick Start Guide | Getting started with Leaflet - basic setup and initialization |
| All Leaflet Examples | Collection of all official Leaflet examples and tutorials |
| Leaflet Plugins Directory | Curated list of popular Leaflet plugins by category |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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