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 🙏

© 2025 – Pkg Stats / Ryan Hefner

angular-mcp

v0.1.0

Published

MCP server for Angular and Angular Material documentation

Downloads

19

Readme

Angular Documentation MCP Server

Um servidor MCP (Model Context Protocol) que fornece acesso à documentação do Angular e Angular Material.

Funcionalidades

Este servidor permite que assistentes de IA busquem e recuperem informações de:

  • Documentação do Angular (https://angular.dev/)
  • Documentação do Angular Material (https://material.angular.dev/)

Ferramentas Disponíveis

1. search-angular-docs

Busca na documentação do Angular ou Angular Material por informações sobre conceitos, guias, tutoriais e referências de API.

Parâmetros:

  • query (string): Termo de busca na documentação do Angular
  • source (opcional): "angular" para documentação principal ou "material" para Angular Material (padrão: angular)
  • limit (opcional): Número máximo de resultados a retornar (padrão: 10)

2. get-angular-doc-page

Obtém conteúdo detalhado de uma página específica da documentação do Angular ou Angular Material.

Parâmetros:

  • url (string): URL completa para a página da documentação
  • include_sections (opcional): Se deve incluir divisão por seções (padrão: true)

3. angular-quick-reference

Obtém informações de referência rápida para conceitos comuns do Angular e componentes do Angular Material.

Parâmetros:

  • topic (string): Tópico para obter referência rápida (ex: 'components', 'services', 'routing', 'material-button')
  • source (opcional): Fonte da documentação (auto-detectado baseado no tópico)

Instalação e Uso

Pré-requisitos

  • Node.js 16 ou superior
  • npm

Instalação

npm install
npm run build

Execução

npm start

Desenvolvimento

npm run dev

Configuração no Claude Desktop

Para usar este servidor com o Claude Desktop, adicione a seguinte configuração ao seu arquivo claude_desktop_config.json:

Windows:

{
  "mcpServers": {
    "angular-docs": {
      "command": "node",
      "args": ["C:\\CAMINHO\\ABSOLUTO\\PARA\\Angular MCP\\build\\index.js"]
    }
  }
}

macOS/Linux:

{
  "mcpServers": {
    "angular-docs": {
      "command": "node",
      "args": ["/CAMINHO/ABSOLUTO/PARA/Angular MCP/build/index.js"]
    }
  }
}

Estrutura do Projeto

angular-mcp/
├── src/
│   └── index.ts          # Código principal do servidor MCP
├── build/                # Arquivos compilados
├── .github/
│   └── copilot-instructions.md
├── package.json
├── tsconfig.json
└── README.md

Exemplos de Uso

Buscar documentação sobre componentes

search-angular-docs query="components" source="angular"

Obter referência rápida sobre roteamento

angular-quick-reference topic="routing"

Buscar componente Button do Angular Material

search-angular-docs query="button" source="material"

Obter conteúdo detalhado de uma página

get-angular-doc-page url="https://angular.dev/guide/components"

Tecnologias Utilizadas

  • TypeScript: Linguagem principal
  • @modelcontextprotocol/sdk: SDK para implementação MCP
  • axios: Cliente HTTP para fazer requisições
  • cheerio: Biblioteca para parsing de HTML
  • zod: Validação de esquemas

Desenvolvimento

Comandos Úteis

  • npm run build: Compila o projeto TypeScript
  • npm start: Executa o servidor compilado
  • npm run dev: Compila e executa em modo de desenvolvimento

Diretrizes de Desenvolvimento

  • Use TypeScript com modo estrito habilitado
  • Siga padrões e convenções do SDK MCP
  • Trate erros graciosamente e forneça mensagens de erro significativas
  • Use práticas adequadas de web scraping com delays respeitosos
  • Cache respostas quando apropriado para evitar requisições excessivas

Contribuição

Contribuições são bem-vindas! Por favor, siga as diretrizes de desenvolvimento e envie pull requests.

Licença

ISC License