패키지 문서 MCP 서버
여러 프로그래밍 언어와 언어 서버 프로토콜(LSP) 기능을 통해 LLM이 패키지 문서에 효율적으로 액세스할 수 있도록 하는 MCP(모델 컨텍스트 프로토콜) 서버입니다.
특징
- 다국어 지원 :
go doc
통한 Go 패키지- 내장된
help()
통한 Python 라이브러리 - 레지스트리 문서(개인 레지스트리 포함)를 통한 NPM 패키지
- crates.io 및 docs.rs를 통한 Rust 크레이트
- 스마트 문서 파싱 :
- 설명, 사용법 및 예시가 포함된 구조화된 출력
- 컨텍스트 과부하를 피하기 위한 집중된 정보
- 특정 심볼/함수 조회 지원
- 문서 전반에 걸친 퍼지 및 정확한 검색 기능
- 고급 검색 기능 :
- 패키지 문서 내 검색
- 유연한 쿼리를 위한 퍼지 매칭
- 관련성 점수가 포함된 컨텍스트 인식 결과
- 검색 결과에서 심볼 추출
- 언어 서버 프로토콜(LSP) 지원 :
- 코드 기호에 대한 호버 정보
- 코드 완성
- 진단(오류 및 경고)
- 현재 TypeScript/JavaScript를 지원합니다.
- 다른 언어로 확장 가능
- 성능 최적화 :
- 내장 캐싱
- 효율적인 파싱
- 최소 메모리 사용량
설치
지엑스피1
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 패키지 문서를 자동으로 설치하려면:
용법
MCP 서버로서
- MCP 설정 구성에 다음을 추가합니다.
- LSP 기능에는 공통 언어 서버에 대한 기본 구성이 포함되어 있습니다.
- TypeScript/JavaScript:
typescript-language-server --stdio
- HTML:
vscode-html-language-server --stdio
- CSS:
vscode-css-language-server --stdio
- JSON:
vscode-json-language-server --stdio
필요한 경우 다음 기본값을 재정의할 수 있습니다.
- 서버는 다음과 같은 도구를 제공합니다.
go_doc 조회 / go_package 설명
Fetches Go 패키지 문서
파이썬 문서 조회 / 파이썬 패키지 설명
Python 패키지 문서를 가져옵니다.
설명_녹_패키지
crates.io 및 docs.rs에서 Rust 크레이트 문서를 가져옵니다.
패키지 문서 검색
패키지 문서 내에서 검색
npm_doc_lookup/npm_package_설명
공개 및 비공개 레지스트리에서 NPM 패키지 문서를 가져옵니다. .npmrc 설정에 따라 적절한 레지스트리를 자동으로 사용합니다.
이 도구는 ~/.npmrc 파일을 읽어 각 패키지에 맞는 올바른 레지스트리를 확인합니다.
- 범위가 지정된 레지스트리 구성을 사용합니다(예: @mycompany:registry=...)
- 개인 레지스트리(GitHub 패키지, GitLab, Nexus, Artifactory 등)를 지원합니다.
- 사용자 정의 레지스트리가 구성되지 않은 경우 기본 npm 레지스트리로 돌아갑니다.
.npmrc 구성 예시:
언어 서버 프로토콜(LSP) 도구
LSP 지원이 활성화되면 다음과 같은 추가 도구를 사용할 수 있습니다.
get_hover
문서 내 위치에 대한 호버 정보 가져오기
get_completions
문서에서 직위에 대한 완료 제안 받기
진단 받기
문서에 대한 진단 정보(오류, 경고) 가져오기
LLM에서의 사용 예
문서 찾기
요구 사항
- 노드.js >= 20
- Go(Go 패키지 문서용)
- Python 3(Python 패키지 문서용)
- 인터넷 연결(NPM 패키지 문서 및 Rust 크레이트 문서용)
- 언어 서버(LSP 기능용):
- TypeScript/JavaScript:
npm install -g typescript-language-server typescript
- HTML/CSS/JSON:
npm install -g vscode-langservers-extracted
- TypeScript/JavaScript:
개발
기여하다
- 저장소를 포크하세요
- 기능 브랜치를 생성합니다(
git checkout -b feature/amazing-feature
) - 변경 사항을 커밋하세요(
git commit -m 'Add some amazing feature'
) - 브랜치에 푸시(
git push origin feature/amazing-feature
) - 풀 리퀘스트 열기
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
LLM이 Go, Python, NPM 패키지에 대한 구조화된 문서에 효율적으로 액세스하고 가져올 수 있도록 지원하여 다국어 지원과 성능 최적화를 통해 소프트웨어 개발을 향상시킵니다.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.Last updated -625JavaScriptAGPL 3.0
- AsecurityAlicenseAqualityFetches and extracts comprehensive package documentation from multiple programming language ecosystems (JavaScript, Python, Java, etc.) for LLMs like Claude without requiring API keys.Last updated -4510JavaScriptMIT License
- AsecurityFlicenseAqualityAn MCP server that enables LLMs to understand and analyze code structure through function call graphs, allowing AI assistants to explore relationships between functions and analyze dependencies in Python repositories.Last updated -67Python
- -securityFlicense-qualityA customized MCP server that enables integration between LLM applications and documentation sources, providing AI-assisted access to LangGraph and Model Context Protocol documentation.Last updated -Python
Appeared in Searches
- Documentation for a software or library
- Information about Rust programming language or rust corrosion
- How to find technical documentation for third-party libraries or services
- Tool to automate generating project documentation based on user input
- A server/tool for RAG-based documentation scraping and retrieval with SSE support