Turkish public construction unit-price (birim fiyat) catalog PDFs into structured pozes
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Turkish public construction unit prices, turned from a PDF into data you can compute with.
Every public construction job in Turkey is priced against a government catalog: the ÇŞB (Çevre, Şehircilik ve İklim Değişikliği Bakanlığı) birim fiyat books — thousands of unit prices (a poz: a code, a description, a unit, a price) that estimators, contractors and auditors all read. They ship as long PDFs. acikpoz turns those pages back into structured records, deterministically, so a cost estimate or a tender preparation can be computed instead of copied by hand.
It is disciplined geometry, not a language model: it groups the words on a page into visual rows and reads the price column's position from the page header rather than guessing a fixed spot. That one decision is what makes it trustworthy — some sections (Sıhhi Tesisat, say) print two numbers per row, the real Birim Fiyat and a separate Montaj Bedeli, and a naive parser silently reads the wrong one. acikpoz reads the header, so it reads the right column.
Paired with ihalent (which structures tender results), acikpoz covers the other half of Turkey's public construction economy: the prices the results are measured against.
A price is only ever a number the catalog actually printed in the price column. It never coerces, never borrows a neighbour's figure, never guesses. Two consequences, both on purpose:
EVİYELER: whose sub-items carry the real
prices — has no price of its own. acikpoz leaves its fiyat as None and flags
is_group_header. It does not invent a zero.Half the value of a cost tool is refusing to make up the numbers the source did not print. That is the same honesty discipline as andon and ihalent.
Point it at an official catalog PDF you have (acikpoz ships the parser, not the data):
The table view — this is a real run against the published 2026 catalog, not a mock-up:
Two things in that picture are the whole point:
- in the price column. The catalog printed no price for
them, so acikpoz prints none either — they are counted as gaps, not filled
in from a neighbour.validate then flags what the parse is not sure about: on this page five
units (+2000, azami, Yapı, -30°C, 2,5) are fragments of description
text that landed in the unit column. The extraction is imperfect on some
layouts, and the tool reports that itself rather than handing you a clean-looking
table with wrong units in it.Reproduce it — the page is chosen, nothing else is:
The catalog is the ministry's own file, published here. The image is
regenerated by scripts/make_demo_svg.py, which
downloads that PDF and runs the same code the CLI runs.
The grade (excellent/good/fair/poor) is a glanceable confidence signal, the
way camelot exposes accuracy: below good, review the pages before trusting the
output. --json includes price_parse_rate and grade per parse.
Or from Python:
Fiyat header word on the right (x > 400) gives
the price column's x. A stray "fiyat" in a left-column description can't be mistaken for
it.: is a category title —
flagged, not treated as a gap.Catalogs are reissued regularly; the question estimators and auditors track by hand is how
did this year's rates move from last year's? acikpoz diff answers it — it joins two years
by poz code and classifies each change:
It reports price moves (with Δ and %Δ), added and removed pozes, unit changes, and pozes that gained or lost a printed price — plus the mean price %-change for the year. As far as the research found, no other open tool does year-over-year diffing for ÇŞB catalogs.
Before a parsed catalog feeds a cost estimate, it helps to know it is clean. acikpoz validate runs deterministic quality rules over the pozes — no ML, no fixing, only surfacing:
It flags duplicate poz codes, malformed codes, non-positive prices (errors), and priced
pozes with no unit or a unit outside the known set (warnings). It exits non-zero on any
error, so it can gate a pipeline (acikpoz validate … && build-estimate). This is also how
acikpoz stays honest about its own limits: in sections that print the unit once on a group
header and let the rows inherit it (Sıhhi Tesisat), per-row unit detection is weak, and
validate says so rather than hiding it. Price, poz code and description stay reliable.
An MCP server (pip install 'acikpoz[mcp]', then acikpoz-mcp) exposes three tools:
parse_catalog (a PDF → structured pozes with honest coverage), diff (two catalog years
→ classified changes), and validate (a PDF → quality findings). The agent gets structured
data back, not prose it has to parse. Pair it with ihalent and an agent can reason across
both a tender's result and the unit prices it was measured against.
The ÇŞB catalogs are official public documents, but this repository does not redistribute
them: it ships the parser and nothing else, and .gitignore keeps *.pdf out. Point acikpoz
at the catalog you obtained from the official source. This is the same line ihalent draws —
own the tool, not the data.
I'm an industrial engineer working in construction; I read these catalogs. I designed the parsing approach — geometry over machine learning, honest gaps over invented numbers — and I review every line; I use AI agents heavily for implementation speed, and the commit trailers say so. The contract is the tests: they encode the exact word geometry a real page emits, including the two-column Sıhhi Tesisat trap and the group-header rule, so green tests mean the parser handles the real thing.
acikpoz reads the unit-price catalogs that say what work should cost; ihalent reads the tender result notices that say what it was awarded for, and at what discount. Same discipline: every figure traceable to its source, nothing invented.More tools by Eren Gülmez.
MIT — see LICENSE.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/acikpoz)<a href="https://allmcps.com/mcp/acikpoz"><img src="https://allmcps.com/api/badge/acikpoz?style=directory" alt="Acikpoz on AllMCPs" /></a>