Hi all
I’ve been using Claude Code quite a lot for developing software and doing analysis. It’s an agentic AI coding assistant in the CLI if you haven’t come across it. Anthropic (the parent company) developed a protocol called MCP to help the AI use external resources like APIs.
Someone has developed a tool to take openapi or swagger API specifications and turn it into MCP tools. What this means is that you can ask Claude Code, in natural language, questions about your data, and it will translate this, quite well into code to send a request to the API and return data. HuWise have done something similar on the portal in their “Explore data with AI” feature, but this is a bit more powerful for deeper analysis - but requires some setup and a Claude account and Claude Code.
I simply cloned the repo and asked Claude to create MCP tools from the swagger json for my portal, and it did the rest.
Here is my cloned repo, with the ods_server.py script providing the mcp tools for my portal. Full description of how to use in the README file.
hope it’s useful!
cheers
steve