Run swi-prolog from ChatGPT or Claude
ISO/Edinburgh-style Prolog interpreter. With BCD, ChatGPT, Claude and other AI apps can install and run swi-prolog on your own computer and read what it prints.
Works on
- MacWorks
Homebrew has a ready-made build; the AI can install it with
brew install swi-prolog. - LinuxWorks
Homebrew on Linux has a ready-made build.
- WindowsNot in Homebrew
Homebrew does not run on Windows. If swi-prolog has a Windows build, BCD can run it in PowerShell.
About swi-prolog
- Version
- 10.0.2
- License
- BSD-2-Clause
- Installs (last 365 days)
- 5,158 · #1,206 in Homebrew
- Homepage
- www.swi-prolog.org
- Install
brew install swi-prolog
Try asking
“Install swi-prolog with Homebrew and show me its version”
“Read swi-prolog --help and give me three useful examples for my files”
“Update swi-prolog and tell me what changed”
Depends on
berkeley-db@5 · gmp · libarchive · libyaml · openssl@4 · pcre2 · unixodbc
Questions
Can ChatGPT run swi-prolog on my computer?
Yes. With BCD on your Mac or Linux computer and command permission turned on for it, ChatGPT runs swi-prolog there and reads the output. Claude and other apps with MCP connectors can too.
Do I need to install swi-prolog first?
No. If Homebrew is installed, the AI can run brew install swi-prolog 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.