Skip to main content

MCP server for crawling and saving Daum news articles by keyword

Project description

daum-news-crawler

Daum 뉴스를 키워드로 수집하고 파일로 저장하는 MCP 서버입니다.

기능

하나의 MCP 서버에서 두 가지 도구를 제공합니다:

도구 설명
collect_daum_news Daum 뉴스 검색 결과를 HTML 직접 크롤링으로 수집
save_news_to_file 수집된 뉴스 내용을 텍스트 파일로 저장

설치

pip install daum-news-crawler

MCP 서버 설정

Claude Desktop의 claude_desktop_config.json에 아래를 추가하세요:

{
  "mcpServers": {
    "daum-news-crawler": {
      "command": "daum-news-crawler"
    }
  }
}

사용 예시

  1. 뉴스 수집: collect_daum_news(keyword="인공지능", numofpages=2)
  2. 파일 저장: save_news_to_file(content=<수집결과>, keyword="인공지능", save_dir="C:/news")

의존성

  • requests — HTTP 요청
  • beautifulsoup4 — HTML 파싱
  • mcp — MCP 서버 프레임워크

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daum_news_crawler-0.1.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daum_news_crawler-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file daum_news_crawler-0.1.1.tar.gz.

File metadata

  • Download URL: daum_news_crawler-0.1.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for daum_news_crawler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 04bba1db2d7585f436623e78052396b965baf662c074091b001c42e28d3d126e
MD5 ae1e910f0aa6ed1987b616d198e679b2
BLAKE2b-256 6428a3a69a620a1fa7788edef8e848b03acb4ce6c2fc8ebdb1a96757df50d2c0

See more details on using hashes here.

File details

Details for the file daum_news_crawler-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for daum_news_crawler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2f81844dce85c714d05085066128589550c5db59a83d5fe725fa09b06dfd89
MD5 d69be89105a80603e548097ef619a838
BLAKE2b-256 705be02443ba7318d7cdc3eaabafce2910a05e2f5329c0474a93a12fbc2abe40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page