Skip to main content

hurriyet-mcp 🇹🇷

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

Unofficial read-only MCP server for Hürriyet (hurriyet.com.tr) — Türkiye's news: section headlines, full article text, keyword search and the homepage's latest news.

Part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with Hürriyet.

For AI agents

Add to your MCP client config (stdio):

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

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

Tools

Tool Description
hurriyet_get_headlines Latest headlines from a section — section (e.g. gundem, ekonomi, dunya, sporarena), limit (1..30)
hurriyet_get_article Full article text — url (hurriyet.com.tr article URL or path)
hurriyet_search_news Search news by keyword — query, limit (1..30)
hurriyet_get_latest Latest news from the homepage, limit (1..30)
hurriyet_list_categories News sections (slug, Turkish name, url)

Example output (hurriyet_get_headlines / "gundem"):

{"section": "gundem", "count": 10,
 "articles": [{"title": "Afyonkarahisar'da 8 kişiyi katletmişti! ...",
   "url": "https://www.hurriyet.com.tr/gundem/...-43369434",
   "id": "43369434", "section": "gundem", "kind": "article"}]}

Example output (hurriyet_get_article):

{"headline": "6 ilde Telegram üzerinden asılsız ihbar ve şantaj yapan 7 şüpheli tutuklandı",
 "section": "Gündem", "date_published": "2026-11-07T09:38:51+03:00",
 "word_count": 143, "body": "İzmir Cumhuriyet Başsavcılığı koordinesinde ..."}

Notes:

  • Articles come from schema.org NewsArticle data (headline, dates, section, word count, body).
  • Search is /arama/<keyword>; known keywords redirect to a topic hub (e.g. /haberleri/futbol) — the tool reports the landed_url.
  • The /arama/ path is slow under TLS impersonation — the server falls back to plain requests there.
  • Data: hurriyet.com.tr public pages — no key, no login, read-only.

Development

python3 -m venv .venv && .venv/bin/pip install "mcp<2" curl-cffi requests pytest
.venv/bin/python -m pytest tests/ -q
  • tests/test_news.py — offline, parses real captured fixtures
  • tests/test_live.py — 5 cautious live requests against hurriyet.com.tr

License

MIT


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Metadata

Release files for hurriyet-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 hurriyet-mcp 0.1.1
File Size Uploaded Provenance Actions
hurriyet_mcp-0.1.1.tar.gz 21.4 kB With provenance Details for hurriyet_mcp-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 30.7 kB

Release files / hurriyet_mcp-0.1.1.tar.gz

Download URL hurriyet_mcp-0.1.1.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1dc3e31dc9932e944d28d65846882f83fe5d992468e92defa946d650937aafec
BLAKE2b-256 checksum
How to use checksums
1dae61d6fb841afa931534d904f69cdcdebefae4f5fcd717db8555f5fde7975a
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 / hurriyet_mcp-0.1.1-py3-none-any.whl

Download URL hurriyet_mcp-0.1.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6be389c47815880f79743d194011f83c6f6762513c27817aea25a56bb04d6b94
BLAKE2b-256 checksum
How to use checksums
58ac9ce6de3e67ad99840d6f9c16de9ab5254c00f044f31c39382b24e7877b2a
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 hurriyet-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 hurriyet_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