mcpField
A
amap

amap

github.com/kaichenOther124553 installsUpdated 37w ago
Repository

About amap

AMap Skill is a script-first skill for selecting and running AMap commands based on user intent. It requires AMAP_MAPS_API_KEY and returns raw AMap JSON; it does not run an MCP server.

Key features

  1. 01Command selection based on user intent
  2. 02Address-oriented route planning
  3. 03AMap commands run through a script
  4. 04Raw AMap JSON output
  5. 05AMAP_MAPS_API_KEY configuration

Use cases

  1. 01Selecting a command for an AMap request
  2. 02Planning routes from plain addresses
  3. 03Running documented AMap command examples

MCP support

The skill does not run an MCP server.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/kaichen/amap-skill --skill amap

After installing, type/amapin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
command-map.md
examples.md
scripts/
amap.ts
scripts/lib/
commands.ts
config.ts
endpoints.ts
http.ts
validators.ts
tests/
cli.test.ts
commands.test.ts
tests/fixtures/
bike-error.json
bike-success.json
geocode-empty.json
geocode-error.json
geocode-success.json

Details

From the project README

AMap Skill

Quick Start

  1. Ensure AMAP_MAPS_API_KEY is set.
  2. Run bun scripts/amap.ts --help in this skill directory.
  3. Pick the matching command from references/command-map.md.

Workflow

  1. Validate user intent and select one command.
  2. Prefer address commands for route planning when users provide plain addresses.
  3. Keep output as raw AMap JSON without wrapping fields.
  4. Treat any non-zero API business state as failure.

Commands

  • Full command mapping: references/command-map.md
  • Ready-to-run examples: references/examples.md

Notes

  • This skill is script-first and does not run an MCP server.
  • Only AMAP_MAPS_API_KEY is supported.

Comments

Markdown supported