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

Uploaded Python 3

File details

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

File metadata

  • Download URL: daum_news_crawler-0.1.3.tar.gz
  • Upload date:
  • Size: 59.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.3.tar.gz
Algorithm Hash digest
SHA256 332130f162aa3f916937ca709a96ab7239ed961109c97592110ba96a4bcb5af1
MD5 e6194f2fc7d5261ceea55aaf11908590
BLAKE2b-256 93fb4d885f7f8d4d5661c69dd263705051bab502ab02ac8b7a10ffb8b7cc76fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for daum_news_crawler-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 043467c15449d968ac954a04c8f2143134ab77b18c941090706c82275e4a6159
MD5 d7d498d80b1ebacc17500dffd9087bea
BLAKE2b-256 96439466648728763f9b75b619ef5a037b2613ace25434a9d634b8bc5a7b6c32

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