Skip to main content
Glama
haberturk-mcp

haberturk-mcp

haberturk-mcp 🇹🇷

mcp-name: io.github.mohammad-abbasi-sh/haberturk-mcp

Unofficial read-only MCP server for Habertürk (www.haberturk.com) — one of Türkiye's biggest national news portals (Ciner Media; 24.4M visits in October 2026, TR #40): latest news from the Google News sitemap, breaking news (son dakika, with times), headlines by section, full article text, keyword search, and the section list.

Part of the "Turkey MCP factory". Not affiliated with Habertürk. Data comes from Habertürk's own server-rendered pages — no login, no API key, read-only.

For AI agents

  • Latest news: haberturk_latest_news returns the freshest items from the Google News sitemap (/sitemap_google_news.xml, ~600 items with publication times), newest first.

  • Breaking news: haberturk_breaking_news returns the newest items from /son-dakika-haberleri/ (time HH:MM Europe/Istanbul when the page carries one, section, title, URL), newest first.

  • Headlines: haberturk_headlines takes a section — "gundem" (default), "ekonomi", "dunya", "spor", "magazin", "teknoloji", "kultur-sanat", "saglik", "yasam", "bilgi", "htgastro" — and returns ~50 headlines per section (title, section, URL).

  • Article: haberturk_get_article takes a full haberturk.com URL and returns title, author, publish/modify dates, description, image, keywords, word count and the full body text (from the page's NewsArticle JSON-LD).

  • Search: haberturk_search_news scans the news sitemap plus the breaking-news page and the gundem, ekonomi, dunya, spor and magazin listings by keyword — "emekli", "deprem", "dolar" — Turkish-aware (dotted/dotless I handled, so "İSTANBUL" matches "İstanbul").

  • Sections: haberturk_list_sections returns the sections usable with haberturk_headlines, with Turkish display names.

  • Every response carries fetched_at (UTC) and source: haberturk.com.

Related MCP server: donanimhaber-mcp

Install

uvx haberturk-mcp

Or add to your MCP client config (e.g. Claude Desktop):

{
  "mcpServers": {
    "haberturk": {
      "command": "uvx",
      "args": ["haberturk-mcp"]
    }
  }
}

Tools

Tool

What it does

haberturk_latest_news

Latest news from the Google News sitemap (~600 items), newest first

haberturk_breaking_news

Latest breaking news (son dakika), newest first, with times

haberturk_headlines

Top headlines in one section

haberturk_get_article

Full text of one article (full URL)

haberturk_search_news

Keyword search over recent news

haberturk_list_sections

News sections usable with haberturk_headlines

haberturk_health

Is haberturk.com reachable right now?

Example

Latest news, 25 November 2026:

{ "count": 2,
  "articles": [
    { "published": "2026-11-25T12:30:21+03:00", "section": "Kültür Sanat",
      "title": "İş Kültür’de Kasım ayının kitapları",
      "url": "https://www.haberturk.com/kultur-sanat/is-kulturde-kasim-ayinin-kitaplari-3929991" },
    { "published": "2026-11-25T12:22:24+03:00", "section": "Bilgi",
      "title": "Tv yayın akışı: 25 Kasım bugün TV’de neler var, hangi dizi ve film yayınlanacak",
      "url": "https://www.haberturk.com/bilgi/tv-yayin-akisi-25-kasim-bugun-tv-de-neler-var-hangi-dizi-ve-film-yayinlanacak-kanal-d-atv-show-tv-trt1-yayin-akisi-3929997" } ] }

An article, 25 November 2026:

{ "title": "SON DAKİKA | 60 ilde 280 kişi yakalandı! Yeni nesil suç örgütlerine darbe",
  "author": "Habertürk",
  "date_published": "2026-11-25T11:33:28+03:00",
  "section": "Gündem", "word_count": 198,
  "keywords": ["suç örgütü operasyon", "yeni nesil suç örgütü"],
  "body": "İçişleri Bakanlığı ndan yapılan yazılı açıklamaya göre, İçişleri Bakanı Mustafa Çiftçi nin talimatları doğrultusunda …" }

Caveats

  • Search is a scan of the news sitemap plus the breaking-news page and the main section listings, not a full-archive search: the site's own search (/arama/) is disallowed in robots.txt and returns a shell page with no results, so there is no search API to call.

  • Section pages have no pagination — each carries ~50 items, so haberturk_headlines sees the current page only.

  • Video (/video/) pages are not text news and are excluded from listings; haberturk_get_article on them returns an error. Photo-news (/foto/) pages do carry full article text and are included.

  • Article bodies come from the page's NewsArticle JSON-LD (articleBody, one plain-text block); if a page has no JSON-LD, the HTML paragraphs are used as a fallback. Note the site's own sanitizer strips apostrophes inside articleBody ("Bakanlığı ndan") — the text is otherwise complete.

  • The BIST market pages (/ekonomi/piyasa/...) are client-side shells with no server-rendered prices and are not covered.

  • /teknoloji/ redirects to /ekonomi/teknoloji; /egitim/ is 404 (not a section).

  • Transport uses Chrome TLS impersonation; requests are spaced ~0.8s apart.

Development

python -m venv .venv && .venv/bin/pip install -e . pytest
.venv/bin/python -m pytest tests/test_news.py -v    # offline, recorded fixtures
.venv/bin/python -m pytest tests/test_live.py -v    # live, against www.haberturk.com
.venv/bin/python tests/smoke_live.py                # daily CI probe

License

PolyForm Noncommercial 1.0.0 — free for personal and non-commercial use; commercial use needs a separate license.

Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Available Tools

7 tools
haberturk_breaking_newsA

Latest Habertürk breaking news (son dakika), newest first. limit 1..30. Returns items (time HH:MM Europe/Istanbul when the page carries one, section, title, article URL) from the /son-dakika-haberleri/ page.

Inputs: limit. Returns: result

haberturk_get_articleA

Full text of one Habertürk article. article_url: the article's haberturk.com URL (as returned by the latest/breaking/headlines/ search tools, e.g. "https://www.haberturk.com/gundem/son-dakika- 60-ilde-280-kisi-yakalandi-yeni-nesil-suc-orgutlerine-darbe- 3929975"). Returns title, author, publish/modify dates, description, image, keywords, word count and the full body text. Video pages have no article text and return an error.

Inputs: article_url (required). Returns: result

haberturk_headlinesA

Top headlines in one Habertürk section. category: "gundem" (default), "ekonomi", "dunya", "spor", "magazin", "teknoloji", "kultur-sanat", "saglik", "yasam", "bilgi", "htgastro". limit 1..30. Returns headlines (title, section, article URL).

Inputs: limit, category. Returns: result

haberturk_healthA

Check whether haberturk.com is reachable right now.

Returns status ok (HTTP 200), blocked (HTTP 403/429 — bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.

Inputs: no named parameters. Returns: result

haberturk_latest_newsA

Latest Habertürk news from the Google News sitemap, newest first. limit 1..30. Returns items (publication time, section, title, article URL) — the freshest ~600 items on the site.

Inputs: limit. Returns: result

haberturk_list_sectionsA

Habertürk news sections usable with haberturk_headlines, with their Turkish display names. No arguments.

Inputs: no named parameters. Returns: result

haberturk_search_newsA

Keyword search over recent Habertürk news: scans the Google News sitemap (~600 freshest items) plus the breaking-news page and the gundem, ekonomi, dunya, spor and magazin listings, matching the keyword in titles. query: e.g. "emekli", "deprem", "dolar". limit 1..30. Note: the site's own /arama/ search is disallowed in robots.txt and returns no results, so this searches the current listings instead of a search backend. Turkish-aware (dotted/dotless I handled, so "İSTANBUL" matches "İstanbul").

Inputs: query (required), limit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation4/5

    latest_news, breaking_news, headlines, and search_news all return news listings and have some conceptual overlap, especially around freshness and section browsing. The descriptions explain distinct sources and purposes (Google News sitemap, son-dakika page, section listings, keyword scan), so an agent can usually choose correctly, but it must rely on the details.

    Naming Consistency4/5

    All tools use the haberturk_ prefix and snake_case, making names predictable and readable. There is a minor pattern mismatch: some names are verb-led (get_article, list_sections, search_news) while others are resource- or recency-oriented (latest_news, breaking_news, headlines, health).

    Tool Count5/5

    Seven tools is well-scoped for a focused news server, and each tool covers a distinct retrieval mode or operational check. The set is neither thin nor bloated.

    Completeness4/5

    The surface covers the main read-only news workflows: latest, breaking, section headlines, full article text, section enumeration, keyword search, and health checking. Minor gaps remain because search is limited to recent listings and listing tools cap at 30 items without pagination or date-range filtering.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLM agents to discover news sources, list articles, parse and extract article text, search news, and perform NLP analysis such as keyword extraction and summarization.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only access to Turkish technology news and forum content, including latest articles, keyword search, full article text, section listings, and current hot forum topics.
      6
      PolyForm Noncommercial 1.0.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only access to sozcu.com.tr news through five tools: category headlines, the latest news from the dated archive, full article text, keyword search across today's coverage, and a market ticker with currency, gold, Bitcoin and interest-rate values. Delivered as a stdio MCP server that scrapes fully server-rendered pages without logins, API keys, or cookies.
      5
      PolyForm Noncommercial 1.0.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only retrieval of TRT Haber headlines by category, breaking news, full article text, keyword search over current listings, and the category list.
      6
      PolyForm Noncommercial 1.0.0