MCPcopy Create free account
hub / github.com/AnmolSaini16/mapcn

github.com/AnmolSaini16/mapcn @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
393 symbols 862 edges 130 files ⚖ MIT 2 documented · 1% 8 cross-repo links updated 5d ago★ 11,56110 open issues

Browse by type

Functions 325 Types & classes 68
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

mapcn

Free & open-source, ready-to-use, customizable map components for React.

Zero config. One command setup. Built on MapLibre GL, styled with Tailwind, works seamlessly with shadcn/ui.

Get Started · Installation · Components

Vercel OSS Program

mapcn banner

Features

  • 🎨 Theme-aware — Automatically adapts to light/dark mode
  • 🎯 Zero config — Works out of the box with sensible defaults
  • 📦 shadcn/ui compatible — Uses the same patterns and styling conventions
  • 🗺️ MapLibre GL powered — Full access to MapLibre's powerful mapping capabilities
  • 🧩 Composable — Build complex map UIs with simple, declarative components
  • 📍 Markers & Popups — Rich marker system with popups, tooltips, and labels
  • 🛤️ Routes — Draw routes and paths on your maps
  • 🎮 Controls — Zoom, compass, locate, and fullscreen controls

Basemap Terms of Service

This project uses CARTO Basemaps which are based on OpenStreetMap data.

  • Commercial use: Requires a CARTO Enterprise license. Request a demo for pricing details.
  • Non-commercial use: Free for CARTO grantees under their basemap terms.
  • Alternative: You can switch to OpenStreetMap tiles or any other MapLibre-compatible tile provider (MapTiler, Stadia Maps, etc).

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License - see the LICENSE file for details.

Star History

Star History Chart

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 325
Interface 68

Languages

TypeScript100%

Modules by API surface

src/registry/map.tsx47 symbols
src/components/ui/sidebar.tsx25 symbols
src/app/(main)/docs/_components/docs.tsx15 symbols
src/lib/llm-content.ts13 symbols
src/components/ui/sheet.tsx10 symbols
src/components/ui/dialog.tsx10 symbols
src/components/ui/command.tsx9 symbols
src/components/page-header.tsx9 symbols
src/components/ui/table.tsx8 symbols
src/components/ui/dropdown-menu.tsx8 symbols
src/components/ui/card.tsx7 symbols
src/components/ui/breadcrumb.tsx7 symbols

Dependencies from manifests, versioned

@types/geojson7946.0.16 · 1×
@types/node20 · 1×
@types/react19 · 1×
@types/react-dom19 · 1×
@vercel/analytics1.6.1 · 1×
class-variance-authority0.7.1 · 1×
clsx2.1.1 · 1×
cmdk1.1.1 · 1×
eslint9 · 1×
eslint-config-next16.2.7 · 1×
lucide-react0.562.0 · 1×

For agents

$ claude mcp add mapcn \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page