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

elastic-apm-mcp-server

v1.0.7

Published

MCP server for monitoring Elastic APM via Kibana API

Readme

elastic-apm-mcp-server

Kibana API를 통해 APM 데이터(서비스 목록, 트랜잭션 성능, 에러, 런타임 메트릭)를 조회하는 MCP 서버입니다.

요구사항

  • Node.js 18 이상
  • Kibana 8.x (Kibana 내부 엔드포인트를 사용하므로 버전에 따라 동작이 달라질 수 있습니다)

설정

Claude Desktop 또는 Claude Code 설정에 다음을 추가합니다. 별도 설치 없이 npx로 바로 실행됩니다.

Claude Code

CLI로 바로 추가:

claude mcp add elastic-apm \
  -e KIBANA_URL=http://your-kibana-host:5601 \
  -e KIBANA_USERNAME=your-username \
  -e KIBANA_PASSWORD=your-password \
  -- npx -y elastic-apm-mcp-server

또는 ~/.claude/settings.json에 직접 추가:

{
  "mcpServers": {
    "elastic-apm": {
      "command": "npx",
      "args": ["-y", "elastic-apm-mcp-server"],
      "env": {
        "KIBANA_URL": "http://your-kibana-host:5601",
        "KIBANA_USERNAME": "your-username",
        "KIBANA_PASSWORD": "your-password"
      }
    }
  }
}

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 에 동일한 형식으로 추가합니다.

환경변수

| 환경변수 | 필수 | 설명 | |----------|------|------| | KIBANA_URL | O | Kibana 접속 URL | | KIBANA_USERNAME | O | Kibana 사용자 이름 | | KIBANA_PASSWORD | O | Kibana 비밀번호 |

제공 도구

| 도구 | 설명 | |------|------| | list_services | APM에 등록된 서비스 목록 조회 | | get_service_overview | 특정 서비스의 트랜잭션 성능과 에러 요약 조회 | | get_transactions | 특정 서비스의 트랜잭션 성능 통계 조회 | | get_errors | 특정 서비스의 에러 그룹 조회 | | get_service_metrics | 특정 서비스의 CPU/메모리 등 런타임 메트릭 조회 (agent 종류별 상이) | | get_transaction_samples | 특정 트랜잭션의 샘플 트레이스(traceId) 조회, 느린 트랜잭션 필터링 가능 | | get_trace | trace ID로 트랜잭션 전체 span(워터폴)을 조회하여 병목 구간 파악 |

사용 예시

MCP 설정 후 Claude에게 자연어로 요청하면 됩니다.

  • "APM 서비스 목록 보여줘"
  • "auth-service의 최근 1시간 에러 조회해줘"
  • "payment-service 트랜잭션 성능 확인해줘"
  • "payment-service에서 제일 느린 요청 하나 까서 어디서 시간 쓰는지 보여줘"

License

ISC