Skip to main content

donanimhaber-mcp 🇹🇷

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

Unofficial read-only MCP server for donanimhaber.com, Türkiye's leading technology news site + forum — latest tech news, keyword search, full article text, section listings and the forum's hottest topics.

Built by Mohammad Abbasi as part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with donanimhaber.com.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "donanimhaber": {
      "command": "uvx",
      "args": ["donanimhaber-mcp==0.1.1"]
    }
  }
}

Or run locally: python -m donanimhaber_mcp.server (needs mcp<2, curl-cffi).

Tools

Tool Description
donanimhaber_latest Latest tech news (homepage) — limit 1..50; articles (id, title, summary, category, views, comments, URL)
donanimhaber_search_news Keyword search over recent news (title, summary, category) — keyword, limit 1..50
donanimhaber_get_article Full text of one article — article: the article URL, the /<slug>--<id> path, or a bare numeric id (looked up in the latest listings); returns headline, author, dates, section, description, full body, comment count, word count
donanimhaber_section Articles in one section/topic — slug from donanimhaber_sections (e.g. "teknoloji-haberleri", "yapay-zeka", "bitcoin", "gta-6"), limit 1..50
donanimhaber_sections All news sections/topics (name + slug + URL) from the homepage
donanimhaber_forum_hot Hottest topics on the DonanımHaber forum right now — limit 1..50; topics (id, title, time ago, forum, online users, URL)

Example output (donanimhaber_latest / 2026-11-07):

{"total": 39, "articles": [
  {"article_id": 212608, "title": "Yenilenen Volkswagen Virtus'un ilk fotoğrafları yayınlandı",
   "category": "Otomobil Teknolojileri",
   "url": "https://www.donanimhaber.com/yenilenen-volkswagen-virtus-un-ilk-fotograflari-yayinlandi--212608"}, …]}

Example output (donanimhaber_get_article / Aina AI Ring):

{"headline": "Ekranlı ve mikrofonlu akıllı yüzük: Aina AI Ring",
 "author": "Erkan Calp", "date_published": "2026-11-06T20:44:00+03:00",
 "section": "Giyilebilir Teknolojiler", "word_count": 223, …}

How it works

donanimhaber.com serves its news pages fully server-rendered — no login, no API key, no session cookies. Listing pages carry <article> cards (title, summary, category, Turkish-formatted views like "40,3b" = 40,300, comments; section cards also carry the publish date). Article pages carry a schema.org NewsArticle JSON-LD block (headline, author, dates, section, full articleBody, comment count). Forum popular topics are server-rendered rows on forum.donanimhaber.com. Transport uses Chrome TLS impersonation (curl-cffi, chrome120); requests are spaced ~0.8s apart; everything is read-only.

Two honest limitations, verified live 2026-11-07: (1) the site's own /ara?q=… search ignores the query string — it returns the same 2 stale "ara" articles for every keyword — and the search box is a token-gated Yandex/Elastic widget, so donanimhaber_search_news filters the freshly fetched latest + technology listings client-side instead (Turkish-aware, folds zekâ → zeka); (2) the forum search is token-gated the same way, so there is no forum keyword search — donanimhaber_forum_hot lists the server-rendered popular topics.

Install

uvx donanimhaber-mcp==0.1.1        # run directly (needs uv)
# or
pip install donanimhaber-mcp==0.1.1
donanimhaber-mcp    # starts the MCP server on stdio

Tests

python -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -v

Offline tests run on recorded fixtures (real pages fetched 2026-11-07); live tests hit donanimhaber.com. 32/32 green at build time (18 offline + 14 live) plus an MCP stdio smoke test (39 latest articles, 80 hot forum topics).

Roadmap

  • Forum category listings (/<forum>--f<id> topic lists)
  • Most-read / most-commented rankings (the homepage carries them)
  • Article comments (the article page links them)

License

MIT — see LICENSE.


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Metadata

Release files for donanimhaber-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for donanimhaber-mcp 0.1.1
File Size Uploaded Provenance Actions
donanimhaber_mcp-0.1.1.tar.gz 197.0 kB With provenance Details for donanimhaber_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for donanimhaber-mcp 0.1.1
File Interpreter ABI Platform Actions
donanimhaber_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for donanimhaber_mcp-0.1.1-py3-none-any.whl

Total release size: 210.2 kB

Release files / donanimhaber_mcp-0.1.1.tar.gz

Download URL donanimhaber_mcp-0.1.1.tar.gz
Size 197.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9ceba3dd1d985b388ff22c8ed158ac00b85f48a86312f3db263eebb4bffaa0b5
BLAKE2b-256 checksum
How to use checksums
1fd6e01048162f4fb0a82fb3c3eae15ba6db5bb855b0b560ae2e1a8c10cf9a47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / donanimhaber_mcp-0.1.1-py3-none-any.whl

Download URL donanimhaber_mcp-0.1.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a693978cd84f44748123df75dc90a4fcf2bae946c241340fcbb05e010968a62
BLAKE2b-256 checksum
How to use checksums
a192bfb3c2469ee7ee4cf6a39cbc48fec7f2d6012c78276c37f34cc637e6a352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for donanimhaber-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for donanimhaber_mcp-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page