Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Free, local MCP server to consult and search the Italian Gazzetta Ufficiale. Unofficial.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gazzetta": {
"command": "uvx",
"args": [
"gazzetta-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gazzetta -- uvx gazzetta-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gazzetta": {
"command": "uvx",
"args": [
"gazzetta-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gazzetta": {
"type": "stdio",
"command": "uvx",
"args": [
"gazzetta-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub GiovannaFilippini ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 23 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Unofficial, local MCP server that lets your AI assistant consult the Italian *Gazzetta Ufficiale*. Free, open source (MIT). No codes or dates needed.
English | Italiano
*Illustrative demo built from a real result of 28 Oct 2026.*
What you can ask your assistant:
Results can be partial: the server sees recent publications and what it has already looked up, not the whole archive, and it says so. Ready to try it? Go to Install.
This project is NOT an official publication and is not affiliated with the Gazzetta Ufficiale or the Istituto Poligrafico e Zecca dello Stato. The texts it returns are not authentic and are provided free of charge. The only definitive text is the one published in the Gazzetta Ufficiale in print, which prevails in case of discrepancy. Every response includes the source and the official link; always check the official text before relying on it.
Reference wording from the source site: *"L'unico testo definitivo e' quello pubblicato sulla Gazzetta Ufficiale a mezzo stampa, che prevale in caso di discordanza. La riproduzione dei testi forniti nel formato elettronico e' consentita purche' venga menzionata la fonte, il carattere non autentico e gratuito."*
cerca queries the Normattiva Open Data API (one request per search, cached for 24 hours); it can be switched off (see Configuration).gazzetta-mcp/ (unofficial open source client)).These are our own choices for the local server, not rules imposed by the source; the source only requires citing it and stating that texts are non-authentic and free. Please keep these defaults respectful of the source. See docs/fonti.md.
The optional archive is a separate tool, run on purpose by whoever operates it: it fills slowly (1 request per second, never twice the same act) and is not part of the local server's default behaviour.
| Tool | Parameters | What it does |
|---|---|---|
ultime_pubblicazioni | serie, giorni | Latest publications of a series (SG, S1-S5, P2) over the last N days |
sommario | data, serie | Table of contents of the issue of a given date and series |
leggi_atto | codice, data, serie, offset | Text of an act from its editorial code (e.g. 26A05182) |
cerca_concorsi | parole_chiave, regione, aperti, includi_altri_atti, limite | Search public competitions from a cold start: loads the last ~30 days of the 4th series (a handful of rate-limited requests, then cached), states the coverage |
rimando_normattiva | atto | Builds the permanent Normattiva link for an act (link only, no download) |
cerca | testo, serie, tipo, dal, al, limite, aggiorna, solo_vigenti, periodo | Search titles and issuing bodies of recent issues (SG about 30 days, S4 last 9: refreshed first, bounded), of everything already cached and, for laws and decrees of any year, of the Normattiva Open Data archive (results marked origine: normattiva); repealed acts are left out by default; full act texts only if already read |
scadenze_concorsi | parole_chiave, regione, entro_giorni, limite | Competitions about to expire (default: next 7 days). Reads the text of a limited number of calls (at most 8 per request, then cached) and works out the deadline from the call's own formula or from a written date; if the call gives none it says so. Always indicative: check the official call |
testo_vigente | atto, offset | Text of one article of a law as it stands today, amendments included (unlike leggi_atto, which gives the originally published text). One article at a time, from Normattiva Open Data (CC BY 4.0); for the whole act use the link from rimando_normattiva |
novita_argomento | argomento, serie, segna_come_letto, limite | What came out on a topic since you last asked. The last check is remembered only on your computer; the first time it shows the last 7 days. Searches titles and issuing bodies, not full texts; the words you ask about are also sent to Normattiva for the archive search (switch it off with GAZZETTA_MCP_ARCHIVIO_NORMATTIVA=0) |
Series codes: SG Serie Generale, S1 Corte Costituzionale, S2 Unione Europea, S3 Regioni, S4 Concorsi ed esami, S5 Contratti pubblici, P2 Parte II.
Five prompts your assistant can show as commands in a menu; pick one and type a few words.
| Prompt | What it asks the assistant to do |
|---|---|
riassumi_atto | Explain an act in 3-5 points, without jargon |
confronta_decreti | What changes and what stays the same between two acts |
concorsi_per_me | Open competitions that fit your profile, with deadline |
cosa_e_uscito | What came out today, this week or in a period you name |
aggiornamenti_su | What is new on a topic since the last time |
They never ask you for codes or dates, they cite the official link and they remind you that the text is unofficial; for legal questions you still need a professional.
The easiest way is uv, a small free tool that downloads and runs the server for you (it provides the uvx command, and fetches a suitable Python if you do not have one). On Windows, open PowerShell and run winget install --id astral-sh.uv, then reopen the terminal. With pip you need Python 3.10+.
uvx gazzetta-mcp
pip install gazzetta-mcp
Download gazzetta-mcp-0.2.0.mcpb from the latest release and double-click it (or open it from Claude Desktop, Settings > Extensions). No terminal needed. If double-clicking does nothing (Windows does not always link .mcpb files to Claude Desktop), open Claude Desktop, go to Settings > Extensions and drag the file onto that page. The bundle is built from mcpb and installs the same gazzetta-mcp package from PyPI.
uvx --from git+https://github.com/GiovannaFilippini/gazzetta-mcp gazzetta-mcp
Claude Code
claude mcp add gazzetta -- uvx gazzetta-mcp
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": { "gazzetta": { "command": "uvx", "args": ["gazzetta-mcp"] } } }
Cursor (~/.cursor/mcp.json) and Windsurf: same mcpServers block as Claude Desktop.
VS Code (.vscode/mcp.json)
{ "servers": { "gazzetta": { "type": "stdio", "command": "uvx", "args": ["gazzetta-mcp"] } } }
Generic stdio client: run the command gazzetta-mcp (or uvx gazzetta-mcp) and speak MCP over stdin/stdout.
To use the development version, replace the command/args with uvx --from git+https://github.com/GiovannaFilippini/gazzetta-mcp gazzetta-mcp.
All settings are environment variables, read in src/gazzetta_mcp/config.py.
| Variable | Default | Meaning |
|---|---|---|
GAZZETTA_MCP_GU_BASE_URL | https://www.gazzettaufficiale.it | Base URL of the Gazzetta Ufficiale site |
GAZZETTA_MCP_NORMATTIVA_BASE_URL | https://www.normattiva.it | Base URL used for Normattiva links |
GAZZETTA_MCP_NORMATTIVA_API_URL | https://api.normattiva.it/t/normattiva.api/bff-opendata/v1/api/v1 | Normattiva Open Data API used by the archive search |
GAZZETTA_MCP_ARCHIVIO_NORMATTIVA | 1 | Set to 0 to stop cerca from querying the Normattiva archive |
GAZZETTA_MCP_ARCHIVIO_GIORNI | 365 | Period searched in the archive when no dal is given |
GAZZETTA_MCP_ARCHIVIO_TIMEOUT | 90.0 | Timeout in seconds for the archive search (slow with date filters) |
GAZZETTA_MCP_RICERCA_GU | 0 | Set to 1 to enable the Gazzetta Ufficiale advanced search form (off by default: its terms of use do not mention automated use) |
GAZZETTA_MCP_RPS | 1.0 | Maximum requests per second |
GAZZETTA_MCP_TIMEOUT | 20.0 | HTTP timeout in seconds |
GAZZETTA_MCP_CACHE_PATH | /gazzetta-mcp/cache.sqlite3 | SQLite cache file (LOCALAPPDATA, else XDG_CACHE_HOME, else ~/.cache) |
GAZZETTA_MCP_FEED_TTL | 900 | Feed cache lifetime in seconds |
GAZZETTA_MCP_USER_AGENT | gazzetta-mcp/ (unofficial open source client) | User-Agent sent with requests |
GAZZETTA_MCP_ARCHIVIO_PATH | /gazzetta-mcp/archivio.sqlite3 | Archive file, read only if it exists (see Archive) |
GAZZETTA_MCP_ARCHIVIO_URL | empty (off) | Address of a remote archive service (https://, or http://localhost); when set, your searches and the codes of the acts you open are sent to that service |
GAZZETTA_MCP_ARCHIVIO_REMOTO_TIMEOUT | 8 | Timeout in seconds for the remote archive (0-60) |
Not needed to use the tools above. The archive is a single SQLite file with copies of already public acts (Gazzetta Ufficiale and Normattiva), searchable offline and filled slowly in the background.
archivio.sqlite3 exists, the local server reads it after its cache and before the Gazzetta site. If it does not exist, nothing changes. Normattiva data: CC BY 4.0.python -m gazzetta_mcp.archivio (aggiorna, recupera, controlla, stato, rimuovi, rimossi). The automatic update takes only the Serie Generale by default.rimuovi CODE --motivo richiesta-interessato --si deletes an act for good and keeps it from coming back.python -m gazzetta_mcp.archivio.remoto (see deploy/ for a step by step guide to a small Linux server). No public service exists yet; the privacy notice is still a draft (docs/privacy/).First run gazzetta-mcp --prova (or uvx gazzetta-mcp --prova): it checks Python, local search, the cache folder and the connection (one request) and tells you what to fix.
--prova. /gazzetta-mcp/cache.sqlite3 (see GAZZETTA_MCP_CACHE_PATH above; on Windows %LOCALAPPDATA%\gazzetta-mcp).gazzetta-mcp --svuota-cache --si (without --si it only shows what would be deleted). It also forgets what novita_argomento had already shown you: the next check of each topic starts again from the last 7 days.ตัดมาแค่ช่วงต้น อ่านต่อใน repo