npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cesium-mcp-dev

v1.139.8

Published

Cesium MCP for Development — IDE AI 助手的 Cesium API 文档查询与代码生成

Downloads

988

Readme

cesium-mcp-dev

English | 中文

为 IDE AI 助手提供的 MCP 服务器 — Cesium API 文档查询、代码生成和 Entity 构建器。

npm version license

简介

cesium-mcp-dev 帮助 AI 编程助手(GitHub Copilot、Cursor、Claude Code 等)编写更好的 CesiumJS 代码——通过 MCP 协议提供 API 文档查询、代码片段生成和 Entity 配置构建功能。

IDE AI 助手 <--MCP stdio--> cesium-mcp-dev --> API 文档、代码片段、Entity 配置

安装与运行

npx cesium-mcp-dev

IDE 配置

VS Code (Copilot)

.vscode/mcp.json 中:

{
  "servers": {
    "cesium-dev": {
      "command": "npx",
      "args": ["cesium-mcp-dev"]
    }
  }
}

Cursor

.cursor/mcp.json 中:

{
  "mcpServers": {
    "cesium-dev": {
      "command": "npx",
      "args": ["cesium-mcp-dev"]
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "cesium-dev": {
      "command": "npx",
      "args": ["cesium-mcp-dev"]
    }
  }
}

MCP 工具 (3)

cesium_api_lookup

按类名、方法或属性查询 Cesium API 文档。

输入: "Viewer"
输出: 构造函数签名、属性、方法和使用示例

覆盖的类: Viewer, Entity, Camera, Cartesian3, Color, GeoJsonDataSource, ImageryLayer, Cesium3DTileset, Material, ScreenSpaceEventHandler, flyTo, setView(12 个类)

cesium_code_gen

根据自然语言描述生成 Cesium 代码。

输入: "在天安门广场添加一个红色点标记"
输出: 可直接使用的完整 TypeScript 代码片段

内置片段: 飞行到位置、添加标记、加载 GeoJSON、绘制折线、绘制多边形、加载 3D Tiles、切换底图、点击处理器、截图、热力图、轨迹动画(11 个场景)

cesium_entity_builder

通过指定类型和属性交互式构建 Entity 配置。

输入: type: "polygon", position: {lon: 116.4, lat: 39.9}, color: "#ff6600"
输出: 包含材质、样式和地面贴合的完整 Entity 定义

支持类型: point, billboard, label, polyline, polygon, model, ellipse, box(8 种类型)

许可证

MIT