MCPcopy Index your code
hub / github.com/OpenFilamentCollective/open-filament-database

github.com/OpenFilamentCollective/open-filament-database @dataset-v2026.07.02

Chat with this repo
repository ↗ · DeepWiki ↗ · release dataset-v2026.07.02 ↗ · + Follow
1,011 symbols 3,083 edges 220 files 364 documented · 36% updated 4d agodataset-v2026.07.02 · 2026-07-02★ 447 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Open Filament Database

An open, community-maintained database of 3D-printing filaments — brands, materials, filament product lines, colour variants, spool sizes, and the stores that sell them. Hosted by the Open Filament Collective, currently facilitated by SimplyPrint.

The data is free to use under MIT — slicers, print farm software, NFC spool tags (OpenPrintTag), inventory apps, and price-comparison tools can all read it directly.


✍️ Contributing

The fastest way to add, fix, or correct data is the cloud editor — no install required:

👉 http://openfilamentdatabase.org/

Browse brands → materials → filaments → variants → sizes, edit fields, upload logos, and submit your changes as a pull request straight from the browser. The editor validates schema, logos, and store references in-page before submitting, so most mistakes are caught up front.

You can sign in two ways:

  • GitHub — your edits become a pull request opened from your own fork, attributed to you on your GitHub profile.
  • SimplyPrint — your edits become a pull request opened by our bot account, with attribution back to you in the PR body. No GitHub account needed. Rate-limited per IP (default 5 submissions/hour).

Editing locally instead

If you'd rather work from a clone — for offline edits, running the Python validator against your own data, bulk imports, or developing the WebUI itself — see docs/contributing-locally.md. For editing JSON files by hand without the WebUI, see the manual editing guide.


🔌 Using the data (API)

The full dataset is published as a static REST API, with bulk JSON / NDJSON / SQLite / CSV downloads alongside it. The landing page documents the URL shape, endpoints, and examples:

👉 https://api.openfilamentdatabase.org/

Address entities by path, e.g. /api/v1/brands/{brand}/materials/{MATERIAL}/filaments/{filament}/variants/{variant}.json.

ℹ️ UUID-based lookups are still supported for integrations that need stable opaque identifiers (NFC tags, slicer profiles), but path-based addressing is what we recommend for everyone else — it's human-readable and stable across cosmetic renames.


📚 More documentation


📜 License

MIT. See LICENSE. The data is free to use, redistribute, and embed in commercial products; attribution is appreciated but not required.


🔗 Related projects

  • OpenPrintTag spec — NFC data format that consumes OFD UUIDs
  • slicer-profiles-db — separate repo mapping OFD filaments to slicer profiles
  • SimplyPrint — 3D printer management platform; facilitator of the Open Filament Collective

Extension points exported contracts — how you extend this code

ChangesStore (Interface)
* Interface matching the shape of the $changes derived store.
webui/src/lib/utils/deletedStubs.ts
AllJson (Interface)
* Build the flat search index from the cloud `json/all.json` aggregate. * * Used as a cloud-mode fallback when the ded
webui/src/lib/server/searchRecordsFromAll.ts
ApiStats (Interface)
(no doc)
webui/src/routes/docs/+page.server.ts
ApiIndex (Interface)
(no doc)
webui/src/routes/docs/+page.server.ts
FilamentDatabase (Interface)
(no doc)
webui/src/lib/jsonParser.ts

Core symbols most depended-on inside this repo

get
called by 249
webui/src/lib/utils/deletedStubs.ts
set
called by 162
webui/src/lib/utils/cache.ts
log
called by 141
ofd/base.py
get
called by 106
webui/src/lib/stores/changes.ts
has
called by 71
webui/src/lib/utils/cache.ts
delete
called by 52
webui/src/lib/utils/cache.ts
POST
called by 35
webui/src/routes/api/sort/+server.ts
clear
called by 35
webui/src/lib/utils/cache.ts

Shape

Function 704
Method 180
Interface 99
Class 28

Languages

TypeScript73%
Python27%

Modules by API surface

ofd/scripts/import_openprinttag.py45 symbols
webui/src/lib/services/database.ts43 symbols
webui/src/lib/utils/entityState.svelte.ts33 symbols
webui/src/lib/stores/changes.ts29 symbols
webui/src/lib/utils/changeTreeOps.ts25 symbols
webui/src/lib/utils/changeTitleGenerator.ts24 symbols
ofd/scripts/style_data.py22 symbols
webui/src/lib/server/cloudValidator.ts20 symbols
ofd/builder/utils.py19 symbols
webui/src/lib/utils/cache.ts18 symbols
webui/src/lib/stores/submitted.ts17 symbols
ofd/scripts/export_data.py17 symbols

For agents

$ claude mcp add open-filament-database \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page