Identifies file formats, finds compatible open-source tools, and performs local file conversions using WebAssembly engines.
Juga dikenal sebagai openformatdb/openformatdb, @openformatdb/mcp
- Stars
- 1
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 0.3.0
- Commit terakhir
- 9 Nov 2026
- Lisensi
- AGPL-3.0
Apa itu OpenFormatDB MCP?
OpenFormatDB adalah MCP server. Identifies file formats, finds compatible open-source tools, and performs local file conversions using WebAssembly engines.
Ringkasan dibuat dari README proyek
Tentang OpenFormatDB MCP server
OpenFormatDB serves developers and AI agents who need to identify file formats or find compatible open-source software. It provides a way to research file specifications, grammars, and documentation status before attempting to write parsers or reverse engineer data. The server operates locally, meaning files never leave the machine during identification or conversion processes.
Users can perform file conversions using WebAssembly engines like ImageMagick, FFmpeg, Pandoc, and 7-Zip. These engines are downloaded to a local cache directory on first use. While most tools are read-only via a static API, running the server from a repository checkout allows for writing data to local YAML files. This setup enables users to contribute findings or claim format documentation through specific commands, which then provide git instructions for opening pull requests.
Apa yang bisa Anda lakukan dengannya
- 1Identify unknown file typesAsk the agent to determine a file's format using hex signatures, extensions, or MIME types.
- 2Find open-source conversion pathsRequest the most efficient chain of open-source tools to transform one file format into another.
- 3Convert files locally via WebAssemblyInstruct the client to convert a local file using engines like resvg or GDAL without uploading the data.
- 4Contribute format documentationSubmit new structural findings or grammars to the OpenFormatDB database.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal OpenFormatDB MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal OpenFormatDB MCP di Claude Code
$ claude mcp add openformatdb -- npx -y @openformatdb/mcpInstal OpenFormatDB MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"openformatdb": {
"command": "npx",
"args": [
"-y",
"@openformatdb/mcp"
]
}
}
}Instal OpenFormatDB MCP di VS Code
.vscode/mcp.json
{
"servers": {
"openformatdb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@openformatdb/mcp"
]
}
}
}Instal OpenFormatDB MCP di VS Code CLI
$ code --add-mcp '{"name":"openformatdb","type":"stdio","command":"npx","args":["-y","@openformatdb/mcp"]}'Instal OpenFormatDB MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"openformatdb": {
"command": "npx",
"args": [
"-y",
"@openformatdb/mcp"
]
}
}
}Instal OpenFormatDB MCP di Codex
$ codex mcp add openformatdb -- npx -y @openformatdb/mcpInstal OpenFormatDB MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.openformatdb] command = "npx" args = ["-y", "@openformatdb/mcp"]
Instal OpenFormatDB MCP di Gemini CLI
$ gemini mcp add -s user openformatdb npx -- -y @openformatdb/mcpInstal OpenFormatDB MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"openformatdb": {
"command": "npx",
"args": [
"-y",
"@openformatdb/mcp"
]
}
}
}Konfigurasi
OFDB_REPO
| Nama | Deskripsi | Tipe |
|---|---|---|
| OFDB_REPO | — |
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauopenformatdb/openformatdb is public and reachablegithub.com/openformatdb/openformatdb ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernya@openformatdb/mcp names openformatdb/openformatdb as sourcenpmjs.com/package/@openformatdb/mcp ↗Lolos
- Provenance build (atestasi Sigstore)Sigstore attestation for @openformatdb/mcpnpmjs.com/package/@openformatdb/mcp/v/0.3.0#provenance ↗Lolos
- Lisensi open source (OSI)AGPL-3.0spdx.org/licenses/AGPL-3.0.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-11-09github.com/openformatdb/openformatdb ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerNo popular package one edit away from @openformatdb/mcpLolos
- Tidak ada advisory kritis pada paket atau dependensinya100 resolved dependencies checked; no critical advisoryosv.dev ↗Lolos
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHub@openformatdb/mcp
MCP server for OpenFormatDB: before an agent writes a parser or reverse engineers a file, it asks what the file is, which software already reads, writes and converts it, and how far the format is documented.
| tool | what it does |
|---|---|
identify_file(magic_hex?, tail_hex?, extension?, mime?) |
candidate formats, ranked: full PRONOM signature (with priorities), prefix, MIME type, extension. The agent reads the bytes itself (xxd -p -l 1024 file, tail -c 512 file | xxd -p); the file never leaves the machine |
lookup_format(id | puid | wikidata | mime) |
full record: identifiers, software (open source first, inherited from the family when marked via), grammars, specification, family and versions, live claims, advice |
search_formats(query, category?, status?) |
ranked matches by name, alias, extension, MIME, PUID or QID |
find_conversion(from, to?) |
cheapest chains of open tools from one format to another (lossless first), each step with its command and what is lost; formats as ids or extensions. Steps with an engine run with convert_file |
convert_file(path, to?, output?) |
converts a file of this machine with open-source converters compiled to WebAssembly: ImageMagick, resvg, FFmpeg, Pandoc, 7-Zip, GDAL, Assimp. Nothing is uploaded; each engine (2 to 59 MB) is downloaded once on first use, pinned and SHA-256 checked, into ~/.cache/openformatdb/engines (OFDB_ENGINES_DIR). Without to, lists what the file can become. Writes next to the input and never overwrites |
list_sources() |
aggregated sources with counts, licences and snapshot dates |
claim_format(id | name+category, who, contact, scope, days?) |
says you are documenting a format (up to 90 days), so nobody duplicates the work |
publish_findings(id, patch, release_claim_of?) |
merges structure, grammars, tools, conversions, spec, identifiers, verification; status only moves forward |
convert_file is the only tool that reaches the network (an engine's first download) and writes
outside the checkout (the converted file). The two write tools change data/formats/<id>.yaml in the checkout and print the git commands
to open a pull request; they never run git. Text is screened against POLICY.md (no DRM removal,
no keys, no copies of paywalled standards).
Install
npx -y @openformatdb/mcp
claude mcp add openformatdb -- npx -y @openformatdb/mcp # Claude Code
Release
Bump the version in package.json, server.json and src/server.ts, then run the Release MCP
server workflow: it tests, publishes to npm (trusted publishing) and to the MCP Registry as
org.openformatdb/openformatdb (secret MCP_REGISTRY_PRIVATE_KEY, whose public half is served at
https://openformatdb.org/.well-known/mcp-registry-auth).
Run it
Without a checkout it reads the static API of openformatdb.org
(read-only; OFDB_API_URL points elsewhere). From a checkout of the repository it reads the
data files and can write:
npm install
npm run mcp # stdio; data from this checkout
OFDB_REPO=/path/to/checkout npm run mcp
Claude Code: claude mcp add openformatdb -- node /path/to/openformatdb/packages/mcp/src/server.ts
Needs Node 22.18 or later (TypeScript sources run directly).
Pertanyaan tentang OpenFormatDB MCP
Bagaimana cara menambahkan OpenFormatDB MCP ke Claude Code?
Jalankan claude mcp add openformatdb -- npx -y @openformatdb/mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan OpenFormatDB MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
What tools are used for file conversion?
The server uses open-source converters compiled to WebAssembly, including ImageMagick, resvg, FFmpeg, Pandoc, 7-Zip, GDAL, and Assimp.
How are the conversion engines managed?
Engines are downloaded once on first use, pinned, and SHA-256 checked into a local cache directory.