# pkg-api-mcp

> pkg-api-mcp — anicodeth-pkg-api-mcp. Use this tool when you need to accurately determine the API surface and type signatures of npm packages, solving problems of invented or incorrect APIs in AI-generated code. It takes an npm package as input and outputs the real exported API surface and type signatures, enabling precise function usage. This tool is ideal for AI coding agents that require accurate API information to generate reliable code.

Canonical page: https://skillsregistry.net/skills/anicodeth-pkg-api-mcp  
JSON: https://api.skillsregistry.net/v1/skills/anicodeth-pkg-api-mcp

## Description

Provides the real exported API surface and type signatures of any npm package, extracted from its published TypeScript declarations, enabling AI coding agents to use functions accurately and avoid inventing nonexistent APIs.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** api-integration
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/m46g70ckfb)
- **Repository:** <https://github.com/Anicodeth/pkg-api-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "anicodeth-pkg-api-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/anicodeth-pkg-api-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/anicodeth-pkg-api-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
