BCD

Command-line tools › F

Run file-formula from ChatGPT or Claude

Utility to determine file types. With BCD, ChatGPT, Claude and other AI apps can install and run file-formula on your own computer and read what it prints.

Works on

About file-formula

Version
5.48
License
BSD-2-Clause-Darwin
Installs (last 365 days)
5,295 · #1,186 in Homebrew
Homepage
darwinsys.com/file
Install
brew install file-formula

Try asking

“Install file-formula with Homebrew and show me its version”
“Read file-formula --help and give me three useful examples for my files”
“Update file-formula and tell me what changed”

Depends on

libmagic

Questions

Can ChatGPT run file-formula on my computer?
Yes. With BCD on your Mac or Linux computer and command permission turned on for it, ChatGPT runs file-formula there and reads the output. Claude and other apps with MCP connectors can too.

Do I need to install file-formula first?
No. If Homebrew is installed, the AI can run brew install file-formula for you.

Is it safe?
A new computer starts read-only: running commands is turned on per computer, and BCD reaches only the folders you allow.

Try it on your computer

BCD connects ChatGPT, Claude and other AI apps to your own Mac, Windows or Linux computer. One computer is free, with 20,000 tool calls a month and no card.

Program data from Homebrew, updated 2026-11-11. Installs are Homebrew's installs on request over the last 365 days.