
fieldflow
by guillaumegay13·★ 111·Score 47
FieldFlow converts OpenAPI endpoints into selectively filtered tools with MCP support for AI clients like Claude Desktop.
Overview
FieldFlow is a Python-based tool that transforms OpenAPI-described REST endpoints into selectively filtered tools. It dynamically generates Pydantic models and FastAPI routes that proxy requests to upstream APIs while returning only the fields specified by the caller. The project offers both HTTP server and MCP server modes, with the latter exposing OpenAPI tools through Model Context Protocol. It supports authentication schemes, nested field selection with JSONPath-like syntax, and includes CLI tools for reducing noisy JSON output.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose FieldFlow when working with OpenAPI-compliant APIs and need precise field selection to minimize token usage in LLM interactions.
When NOT to choose this
Don't choose FieldFlow if you need write operations or direct database access, as it only provides read-only API proxy functionality.
Tools this server exposes
5 tools extracted from the READMEget_user_infoFetch user information from JSONPlaceholder API with field selection
list_postsList posts for a user from JSONPlaceholder API with field selection
pokemon_readRetrieve Pokemon information from PokeAPI with nested field selection
ability_listList Pokemon abilities from PokeAPI with field selection
ability_readRead a specific Pokemon ability by ID from PokeAPI
Note: Tools are derived from OpenAPI specs and exposed through MCP server. Example tool calls shown in README demonstrate the field selection functionality.
Comparable tools
Installation
# Install with MCP support
pip install -e '.[mcp]'
# Run HTTP server
fieldflow serve-http
# Run MCP server (for Claude Desktop)
fieldflow-mcpFor Claude Desktop integration, add to config:
{
"mcpServers": {
"fieldflow": {
"command": "python",
"args": ["-m", "fieldflow_mcp.cli"]
}
}
}FAQ
- What authentication methods does FieldFlow support?
- FieldFlow supports Bearer tokens (OAuth 2.0, JWT), API keys, Basic authentication, and automatic handling of OpenAPI-defined security schemes.
- How does FieldFlow reduce response payload size?
- FieldFlow accepts a 'fields' parameter in requests that allows selecting specific data fields. It uses JSONPath-like syntax to select nested fields and arrays, returning only the requested data.
On Hacker News
Recent discussion from the developer community.
- Story by ggay · 2025-09-23
Compare fieldflow with
Last updated · Auto-generated from public README + GitHub signals.