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"]
    }
  }
}

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

Metadata

Release files for hurriyet-mcp 0.1.0

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.0
File Size Uploaded Provenance Actions
hurriyet_mcp-0.1.0.tar.gz 20.0 kB With provenance Details for hurriyet_mcp-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 28.1 kB

Release files / hurriyet_mcp-0.1.0.tar.gz

Download URL hurriyet_mcp-0.1.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a05a9e74f99f44a5e5c8138ae79fe3dc4775ac1e27fb3f42f8d109c8ff88a778
BLAKE2b-256 checksum
How to use checksums
c4ae2f7d5de1a26a3eaeb7ef3bbc78677cb85f53d9691f148731ba3c862d65d3
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 8, 2026.

Transparency log

Release files / hurriyet_mcp-0.1.0-py3-none-any.whl

Download URL hurriyet_mcp-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f08757a446eb4936c03a4967d8f6269e0fbd93c26441e56323bf48dcb1d2277
BLAKE2b-256 checksum
How to use checksums
af8cbd78edebd5c073b6b653530de9489dc7333c6daac1c62214d49ec9b855f8
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 8, 2026.

Transparency log

Security for hurriyet-mcp 0.1.0

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.0.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 8, 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.0 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