CLI for the API

I have been using Claude Code quite a lot recently, and one of the things I discovered was that a CLI (as opposed to an MCP) works a lot better with claude code. So I decided to (vibe)code a pltr cli: https://github.com/anjor/pltr-cli

It’s just a wrapper on top of the official SDK: https://github.com/palantir/foundry-platform-python that provides a CLI form factor.

2 Likes

This is interesting, you are saying that if you let Claude code call the API directly, you get better results then when linking it to the Palantir MCP and let it use the same APIs through tools?

Can you share an example? what was the prompt you used?

I experienced this not in a palantir context, but in one of my other projects.

It was also the official advice from Anthropic in this video: https://youtu.be/gv0WHhKelSE?si=HYcKmXuItpJ55AgD

Hey! I maintain the Python SDK and just wanted to say how cool this project is. Really happy to see the SDK being used for stuff like this!

2 Likes