npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

resmi-gazete-mcp

v0.1.0

Published

MCP server exposing resmigazete.gov.tr (Turkish Official Gazette) data to LLM clients

Readme

resmi-gazete-mcp

Model Context Protocol (MCP) sunucusu — Türkiye Cumhuriyeti Resmî Gazete (resmigazete.gov.tr) içeriğini LLM istemcilerine (Claude Desktop, Claude Code, vb.) araç çağrılarıyla sunar.

Özellikler

Dört MCP aracı sağlar:

| Araç | Açıklama | | --- | --- | | get_fihrist | Belirli bir tarihin fihristini (bölümler ve madde URL'leri) döndürür. Mükerrer sayıları da dahildir. | | read_article | Tekil bir .htm madde sayfasından başlık ve temizlenmiş düz metin çıkarır. | | search_gazette | Tarih aralığı + anahtar kelime ile fihrist başlıklarında arama yapar (Türkçe normalize). | | extract_pdf_text | .pdf URL'inden metin ve sayfa sayısı çıkarır. |

Tüm HTTP istekleri yerel diskte cache'lenir (~/.cache/resmi-gazete-mcp/RESMI_GAZETE_CACHE_DIR ile değiştirilebilir).

Kurulum

Repo'yu klonlamaya gerek yok — paket npm üzerinden npx ile doğrudan çalışır. Node.js ≥ 20 gerekir.

npx -y resmi-gazete-mcp

Claude Desktop Konfigürasyonu

claude_desktop_config.json dosyanıza:

{
  "mcpServers": {
    "resmi-gazete": {
      "command": "npx",
      "args": ["-y", "resmi-gazete-mcp"]
    }
  }
}

Claude Code Konfigürasyonu

claude mcp add resmi-gazete -- npx -y resmi-gazete-mcp

Yerel Geliştirme (Opsiyonel)

Kaynak üzerinden çalıştırmak isterseniz:

git clone https://github.com/emircanok/resmi-gazete-mcp.git
cd resmi-gazete-mcp
npm install
npm run build
node dist/index.js

Geliştirme

npm run dev        # tsx ile doğrudan çalıştır
npm run typecheck  # tip kontrolü
npm run build      # dist/ içine derle

MCP Inspector ile Test

npx @modelcontextprotocol/inspector npx -y resmi-gazete-mcp

Örnek Çağrılar

get_fihrist:

{ "date": "2026-04-17", "includeMukerrer": true }

read_article:

{ "url": "https://www.resmigazete.gov.tr/eskiler/2026/04/20260417-1.htm" }

search_gazette:

{ "query": "vergi", "fromDate": "2026-04-01", "toDate": "2026-04-17", "maxResults": 20 }

extract_pdf_text:

{ "url": "https://www.resmigazete.gov.tr/eskiler/2026/04/20260417-1.pdf" }

Notlar

  • Resmî Gazete Pazar günleri yayımlanmaz; search_gazette Pazar günlerini atlar.
  • Site User-Agent başlığı olmadan 403 döndürür; sunucu uygun UA gönderir.
  • Arama geniş aralıklarda yavaş olabilir — aynı gün tekrar sorgulandığında cache devreye girer.
  • Maksimum arama aralığı 2 yıldır. PDF'ler için 25 MB sınırı vardır.

Lisans

MIT