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.2.tar.gz (59.5 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.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daum_news_crawler-0.1.2.tar.gz
  • Upload date:
  • Size: 59.5 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.2.tar.gz
Algorithm Hash digest
SHA256 38cd838de2f3320e6ec95bc9aa6acada9917897cda94461385b00b94d69b2e35
MD5 8f3c1c21aeb746ddd5d2d77b1cc238dd
BLAKE2b-256 3554b057d3c4dec70c4a2053b6ca9cf197b0cfbf95016d5e564c9ce6d8add80d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for daum_news_crawler-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be3132c4d9ada6d469f13cf1c5183ae0d327f30f00bce6055b0c3b24776031dd
MD5 c3a553c952293a667fdfdc111420b2b0
BLAKE2b-256 96dce0a45ad4fe1f701c07ffff9570244aee7be691361dac608b3153fba3914d

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