sozcu-mcp
A read-only MCP server for Sözcü.com.tr that lets you fetch news headlines, archive items, full articles, keyword matches, and market ticker rates.
Get top headlines by category (
gundemdefault; alsoekonomi,dunya,spor,hayat,magazin,teknoloji,finans,otomotiv), withlimit1..30.Fetch latest news from the dated all-news archive, newest first, with optional
datein DD-MM-YYYY format (default today in Europe/Istanbul) andlimit1..30.Retrieve a full article by its Sözcü URL, returning title, author, publish/modify dates, description, image, and full body text.
Search today's news by keyword across the dated archive (up to 3 pages) plus homepage headlines, matching titles and summaries, with
limit1..30.Get the live market ticker from the page header: DOLAR, EURO, STERLIN, BITCOIN, ALTIN, and FAİZ with value, change, and change %.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sozcu-mcp show me today's top economy headlines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sozcu-mcp 🇹🇷
mcp-name: io.github.mohammad-abbasi-sh/sozcu-mcp
Unofficial read-only MCP server for sozcu.com.tr, Türkiye's #1 news site (~76M visits/month) — headlines by category, latest news from the dated archive, full article text, keyword search over the current archive, and the market ticker (USD/EUR/GBP/BTC/gold/rates).
Built by Mohammad Abbasi as part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with sozcu.com.tr.
For AI agents
Add to your MCP client config (stdio):
{
"mcpServers": {
"sozcu": {
"command": "uvx",
"args": ["sozcu-mcp==0.1.1"]
}
}
}Or run locally: python -m sozcu_mcp.server (needs mcp<2, curl-cffi).
Related MCP server: newsapi-ai-mcp
Tools
Tool | Description |
| Top headlines in one category — |
| Latest news from the dated all-news archive, newest first — |
| Full text of one article — |
| Keyword search over today's news — scans the dated archive (up to 3 pages) + homepage headlines, matching titles and summaries; |
| Market ticker from the page header: DOLAR, EURO, STERLIN, BITCOIN, ALTIN, FAİZ with value, change and change % |
Example output (sozcu_get_article / green-passport story, 7 Nov 2026):
{"title": "10 meslek grubu için yeşil pasaport Meclis yolunda",
"author": "Haber Merkezi", "date_published": "2026-11-07T08:46:29+0300",
"date_text": "07 Kasım 2026 - 08:46", "paragraph_count": 16,
"description": "Yeşil pasaport kapsamının genişletilmesi için Meclis'e sunulan teklifler dikkat çekti. …"}Example output (sozcu_market_rates, 7 Nov 2026):
{"rates": [{"name": "DOLAR", "value": 50.15, "change": 0.1, "change_pct": 0.2},
{"name": "EURO", "value": 55.92, "change": -0.35, "change_pct": -0.62}, …]}How it works
sozcu.com.tr serves its homepage, category pages (/<category>/), article pages (/<slug>-p<id>) and the dated all-news archive (/tum-haberler?date=DD-MM-YYYY&pageNumber=N, 30 articles/page) fully server-rendered — no login, no API key, no session cookies. Category pages carry 25 headline links each in the fixtures (/gundem/ 25, /ekonomi/ 25 in the fixtures). Article pages carry title, author, publish/modify dates, description and image in meta tags, a <time> stamp, and the full body as consecutive <p> elements in the articleBody div (subheadings are ALL-CAPS paragraphs; the run ends at the reactions widget; the copyright paragraph is dropped). There is no JSON-LD on article pages. Two site features do NOT exist server-side and are documented, not faked: the site's own search (/arama?query=...) 301-redirects to the homepage for every query, so sozcu_search_news scans the dated archive instead; and there is no "most read" section anywhere (/cok-okunanlar/ and /en-cok-okunanlar/ are both 404), so the market ticker is offered as the fifth tool. Transport uses Chrome TLS impersonation (curl-cffi, chrome120); requests are spaced ~0.8s apart; everything is read-only.
Install
uvx sozcu-mcp==0.1.1 # run directly (needs uv)
# or
pip install sozcu-mcp==0.1.1
sozcu-mcp # starts the MCP server on stdioTests
python -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -vOffline tests run on recorded fixtures (real pages fetched 2026-11-07); live tests hit sozcu.com.tr. 23/23 green at build time (12 offline + 11 live) plus an MCP stdio smoke test.
Roadmap
Author pages (columnists under /yazarlar/)
"Son dakika" ticker stream (the /son-dakika/ page lists 11 items; a dedicated tool could poll it)
Topic pages beyond the 9 supported categories
License
PolyForm Noncommercial 1.0.0 — see LICENSE.
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Available Tools
5 toolssozcu_get_articleA
Full text of one Sözcü article. article_url: the article's sozcu.com.tr URL (as returned by the headlines/latest/search tools, e.g. "https://www.sozcu.com.tr/10-meslek-grubu-icin-yesil-pasaport-meclis-yolunda-p376844"). Returns title, author, publish/modify dates, description, image and the full body text.
Inputs: article_url (required). Returns: result
sozcu_headlinesA
Top headlines in one Sözcü category. category: "gundem" (default), "ekonomi", "dunya", "spor", "hayat", "magazin", "teknoloji", "finans", "otomotiv". limit 1..30. Returns headlines (title, article URL, summary when the listing carries one).
Inputs: limit, category. Returns: result
sozcu_latestA
Latest Sözcü news from the dated all-news archive, newest first. limit 1..30 (paginates the archive, 30 articles per page); date: DD-MM-YYYY, default today (Europe/Istanbul). Returns articles (title, article URL, summary when present).
Inputs: date, limit. Returns: result
sozcu_market_ratesA
Market ticker from Sözcü's page header: DOLAR, EURO, STERLIN, BITCOIN, ALTIN, FAİZ with value, change and change % (TRY, except BITCOIN in USD). No arguments. Values are the site's live header quotes at fetch time.
Inputs: no named parameters. Returns: result
sozcu_search_newsA
Keyword search over today's Sözcü news: scans the dated all-news archive (up to 3 pages, 30 articles each) plus the homepage headlines, matching the keyword in titles and summaries. query: e.g. "ekonomi", "deprem", "dolar". limit 1..30. Note: the site's own /arama search redirects to the homepage, so this searches the current archive instead of a search backend.
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
Scored across 5 tools
sozcu_headlines (category top headlines), sozcu_latest (dated archive, newest first), sozcu_search_news (keyword scan of archive + homepage), sozcu_get_article (full text), and sozcu_market_rates (ticker) each target a distinct need. The only potential confusion is between sozcu_latest and sozcu_search_news since both scan the dated archive, but the descriptions make the filter-vs-keyword distinction reasonably clear.
All tools share the sozcu_ prefix and snake_case, which is predictable. There is a minor style deviation where get_article and search_news use verb_noun while headlines, latest, and market_rates are pure nouns, but the set remains readable and coherent.
Five tools is well-scoped for a single-news-site reader: category browsing, chronological listing, keyword search, full article fetch, and market quotes. Each tool earns its place with no obvious filler.
The read-only news domain is covered end-to-end: discovery via headlines/latest/search, retrieval via get_article, plus a market ticker. The main gap is that search is limited to today's archive (up to 3 pages) with no historical/date-range or category-filtered archive browsing, though the description is upfront about this limitation.
Maintenance
Related MCP Connectors
Real-time Google News headlines, breaking publisher articles & topic search remote MCP server.
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
SERP + haber + içerik çıkarımı MCP sunucusu — web araması (Brave/SerpApi BYOK), anahtarsız haber…
Google SERP, News, Trends, Autocomplete & URL-to-clean-Markdown MCP ($0.001/call, x402 or key).
Related MCP Servers
- AlicenseAqualityCmaintenanceMulti-language crypto news MCP server with editorial summaries, sentiment labels (BULLISH/NEUTRAL/BEARISH), and importance scores (0–100). 6 tools across 8 languages; every story credits the original publisher. Bridges stdio to the public Streamable HTTP endpoint at https://zippfeed.com/mcp/.61MIT
- AlicenseAqualityCmaintenanceEnables MCP clients such as Claude, Codex, Cursor, and OpenCode to search and retrieve news articles and clustered real-world events from roughly 150,000 sources worldwide, with tools for keyword/concept/location/date filtering, full-text lookup by URI or URL, entity name-to-URI resolution, token usage checks, and raw access to any newsapi.ai API endpoint. Results are returned as compact JSON to conserve context, and both local stdio and remote HTTP deployment are supported.7MIT
- AlicenseAqualityBmaintenanceAn unofficial, read-only MCP server that lets AI agents pull current Persian-language headlines and article text from six outlets — Mehr, Khabaronline, Hamshahri, Tabnak, Zoomit and Digiato. It exposes latest items per source and category, a time-merged overview, cross-source keyword search, and full story bodies.6132 PyPI1PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables MCP-compatible AI clients to search Turkish grocery prices, look up products by ID or barcode, and find similar alternatives, returning store offers with TRY prices, package quantities, and optional location filtering. Runs locally over stdio, as a localhost or authenticated HTTP service, in Docker, or on a hosted platform.3MIT