Three Free Tools · One Open Ecosystem

Talk to Your Oracle Fusion

in the language your stack already speaks — AI, PostgreSQL, or JDBC

AI agents, any PostgreSQL client, or any JVM tool — pick the surface that fits.

ofrag for Claude/Gemini · ofpgproxy for pgAdmin/DBeaver/Metabase/DuckDB/dbt · OFJDBC for the JVM

ofrag — AI Agents Talk to Oracle Fusion

An MCP Server that gives Claude, Gemini, and other LLMs structured, safe access to your Oracle Fusion data

Ask in Plain Language

Your AI agent receives a question like "Show me unpaid invoices from Acme Corp last month"

Semantic Discovery

ofrag finds the right tables and REST APIs using vector embeddings and business process mapping — no hardcoded queries needed

Validate Locally

SQL is parsed into an AST and validated against a cached schema. Only clean, verified queries reach your database

Execute & Return

The validated query runs against Oracle Fusion and results come back in about 4 seconds, formatted and ready to use

Live Example
"Show me the top 5 unpaid invoices for vendor Acme Corp generated last month"
ofrag interprets "unpaid" as PAYMENT_STATUS_FLAG = 'N', discovers the correct AP tables via semantic search, validates the SQL against the local schema cache, executes it on Oracle Fusion, and returns a formatted table — all without the user knowing a single table name.
~4 seconds end-to-end

ofrag — AI Intelligence Layer

Everything your AI agent needs to understand and interact with Oracle Fusion Cloud

Semantic Search

Find relevant tables and APIs using natural language. Vector embeddings across 25,000+ table descriptions and 500+ REST resources. Understands business intent — "money from customers" finds AR tables even without exact matches.

AST-Based SQL Validation

Every query is parsed into an Abstract Syntax Tree and validated against a locally cached schema before execution. The AI gets precise feedback like "column VENDOR_NAME does not exist in AP_INVOICES_ALL" — preventing hallucinations.

MCP Server Protocol

Native integration with Claude, Gemini, and any MCP-compatible LLM. Tools include semantic_search, execute_oracle_sql, rest_call, lint_sql, module_summary, and more — giving AI structured access to your ERP.

Universal REST Client

Full CRUD operations on Oracle Fusion REST APIs. Self-discovering endpoints — the AI calls /describe to understand resource structure dynamically. Automatic pagination for bulk exports.

Local Intelligence

All metadata exploration happens locally — zero queries to production during discovery. Schema cache, fuzzy search, synonym expansion, and business process cross-referencing run at zero latency.

Multi-Environment

Switch between dev, SIT, UAT, and production instantly. Mixed authentication per environment (SSO or basic auth). Compare data across environments without configuration changes.

OFJDBC — The JDBC Foundation

Free, open-source JDBC driver for the JVM ecosystem — DBeaver, Apache Airflow, Java/Kotlin/Scala/Groovy data pipelines.

Direct SQL Query Access

Execute SQL queries directly against Oracle Fusion Cloud without creating BIP reports. Get instant results for troubleshooting, analysis, and data exploration with DBeaver's intelligent autocomplete.

Multi-Cloud Data Integration

Build complete ETL pipelines from Oracle Fusion to AWS (S3, Athena, QuickSight), Google Cloud (BigQuery, Cloud Storage), Azure (Synapse, Blob Storage, Power BI), or OCI (Object Storage, Data Lake).

Works with DBeaver

Seamlessly integrates with DBeaver, the premier free database IDE. Local metadata caching for instant autocomplete, real-time error detection, and intelligent table/column suggestions.

Export to Any Format

Export query results to Parquet (partitioned), CSV, JSON, Excel, or load directly into DuckDB, PostgreSQL, MySQL, or cloud databases. Build data lakes without custom scripts.

JVM & Airflow Support

Standard JDBC driver — works in Java, Kotlin, Scala, Groovy, Apache Airflow (JdbcOperator), Talend, Pentaho, and Apache NiFi. For non-JVM languages, use OFArrow with Arrow Flight SQL or ofpgproxy with native Postgres bindings.

BI & Analytics Platforms

Connect QuickSight, Power BI, Tableau, or Looker to Oracle Fusion data via cloud data warehouses populated by OFJDBC pipelines.

ofpgproxy — Oracle Fusion as a Native PostgreSQL Endpoint

Any tool that speaks PostgreSQL connects to your Oracle Fusion tenant. No driver install, no BIP report, no custom adapter — just a connection string.

pgAdmin DBeaver DataGrip Metabase Superset Grafana DuckDB dbt psql pgx (Go) asyncpg (Python) SQLAlchemy pandas postgres_fdw dblink
# Start ofpgproxy locally $ ./ofpgproxy --listen 127.0.0.1:5433 --metadata-path ./metadata.db # Connect from anywhere PostgreSQL is supported $ psql -h 127.0.0.1 -p 5433 -U anyone -d any \ -c "SELECT period_name, period_year FROM gl_periods LIMIT 5" # DuckDB attach — query Fusion as a regular Postgres DB D SET pg_use_text_protocol = true; D ATTACH 'host=127.0.0.1 port=5433 user=anyone dbname=any' AS fusion (TYPE POSTGRES); D SELECT * FROM fusion.gl_periods LIMIT 5;

Client Sends PostgreSQL SQL

Any PG client — pgAdmin, DuckDB, dbt, asyncpg — opens a normal Postgres connection on port 5433

Translate & Route

18+ translator passes rewrite Postgres idioms (LIMIT, ILIKE, regex, date_trunc, EXCEPT, recursive CTE) into Oracle SQL

Local pg_catalog

Schema-introspection queries are answered from an embedded DuckDB metadata cache — never reach Oracle, never block the user

Stream Results Back

SOAP XML response is parsed in constant memory and streamed to the client row by row, with proper PG types (numeric, timestamp, bool)

Live Example
A Metabase dashboard plotting unpaid invoices by month, refreshed every 5 minutes
Metabase admin adds a standard PostgreSQL data source pointing at 127.0.0.1:5433. The dashboard's SQL uses native Postgres syntax — WHERE invoice_date >= NOW() - INTERVAL '1 month' AND payment_status_flag = 'N'. ofpgproxy rewrites NOW() to SYSDATE, the date math to Oracle's ADD_MONTHS semantics, the boolean predicate to 'N', and ships the request to BI Publisher. Results stream back into the chart. No BIP report. No ETL.

ofpgproxy — Why It Works for Every Postgres Tool

Built for production: streaming, cancellation, transaction state, type fidelity. Tested against 6 client toolchains in real Fusion tenants.

Native PostgreSQL Wire Protocol

Implements the actual PG wire protocol, not a REST shim. Every PG client driver works unmodified — pgx (Go), psycopg / asyncpg / SQLAlchemy (Python), pgJDBC (Java), node-postgres, libpq, ADO.NET. No vendor lock-in.

18+ SQL Translation Passes

LIMIT n → FETCH FIRST n ROWS ONLY, ILIKE → UPPER() LIKE UPPER(), ~ / !~ regex → REGEXP_LIKE, date_trunc → TRUNC, EXCEPT → MINUS, WITH RECURSIVE preserved, boolean TRUE/FALSE → 1/0 or Y/N depending on column type. Idioms translate transparently.

pg_catalog & information_schema

Schema-introspection queries (the bulk of what BI tools fire on connect) are answered from a local DuckDB-backed catalog. ~30,000 Fusion tables indexed offline. Connection setup is instant; production never sees a discovery probe.

Streaming XML Parser

BI Publisher's SOAP responses are parsed in constant memory regardless of result size. Million-row SELECTs flow through the proxy without OOM. Streaming is respected end-to-end — rows reach the client as they arrive.

Cursor Protocol & COPY OUT

DECLARE / FETCH / CLOSE for postgres_fdw and dblink. COPY (...) TO STDOUT text format for DuckDB's postgres_scanner and pg_dump. CancelRequest support — the Stop button in IDEs actually cancels the in-flight SOAP call.

Read-Only by Design

BI Publisher cannot write, and ofpgproxy will never write. DML paths simply don't exist in the codebase — safe to point production users at without permission gymnastics. SSO authentication via Chrome with auto-reopen on token expiry.

Frequently Asked Questions

What is the Oracle Fusion RAG Engine (ofrag)?

ofrag is a Retrieval-Augmented Generation engine and MCP Server that enables AI agents like Claude and Gemini to intelligently query Oracle Fusion Cloud. It provides semantic search across 25,000+ table descriptions, AST-based SQL validation, and live query execution — letting your AI understand and retrieve ERP data using natural language.

Can I connect pgAdmin or DBeaver to Oracle Fusion as a Postgres database?

Yes. ofpgproxy exposes Oracle Fusion as a native PostgreSQL endpoint. Point pgAdmin, DBeaver, DataGrip, or any other PG client at the proxy's local port (default 5433) and use it like any Postgres database. SQL is translated on the fly into BI Publisher calls — no BIP report creation required.

How do I query Oracle Fusion from DuckDB, dbt, or Metabase?

ofpgproxy makes Fusion look like Postgres. DuckDB connects via ATTACH (TYPE POSTGRES). dbt uses the dbt-postgres adapter. Metabase, Superset, and Grafana add a PostgreSQL data source pointing at the proxy. All standard SQL works — JOINs, GROUP BY, aggregates, ILIKE, regex, date_trunc, EXCEPT, recursive CTEs — translated transparently.

What is ofpgproxy and how is it different from OFJDBC?

ofpgproxy is a read-only PostgreSQL wire-protocol proxy — any tool that speaks Postgres connects to it. OFJDBC is a JDBC driver — only JVM-based tools (DBeaver, Airflow, Java/Kotlin/Scala apps) can use it. Pick the surface that matches your toolchain: PG wire for the broadest compatibility (Python, Go, Rust, BI tools); JDBC for JVM-native data pipelines.

How does ofpgproxy translate PostgreSQL SQL into Oracle SQL?

18+ translator passes rewrite Postgres idioms into Oracle equivalents on the fly: LIMIT nFETCH FIRST n ROWS ONLY, ILIKEUPPER() LIKE UPPER(), the regex operators ~/!~/~*/!~*REGEXP_LIKE, date_truncTRUNC, EXCEPTMINUS, WITH RECURSIVE preserved, TRUE/FALSE mapped to 1/0 or 'Y'/'N' depending on the column's actual Oracle type. pg_catalog and information_schema are emulated against an embedded DuckDB catalog so client schema-introspection queries never touch Oracle.

How does semantic search work for Oracle Fusion?

ofrag's semantic search operates in two modes. The lightweight mode uses keyword matching, synonym expansion, and business process cross-referencing with zero external dependencies. The enhanced mode adds vector embeddings (Gemini Embedding 2) across 25,000+ table descriptions and 500+ REST API resources, understanding queries like "money received from customers" even when exact terms don't match any table name.

Can I use AI to query Oracle Fusion Cloud data?

Yes. ofrag is an MCP Server that connects AI agents directly to Oracle Fusion Cloud. The AI agent can search for relevant tables using natural language, validate SQL queries against cached schemas, and execute them in real-time — typically returning results in about 4 seconds.

What is MCP and how does ofrag use it?

MCP (Model Context Protocol) is an open standard that lets AI agents use external tools. ofrag implements MCP to provide Claude, Gemini, and other LLMs with tools like semantic_search, execute_oracle_sql, rest_call, lint_sql, and more — giving the AI structured access to Oracle Fusion data while keeping production databases protected.

How do I run SQL queries against Oracle Fusion without BIP?

Three free open-source paths, depending on your toolchain. ofpgproxy makes Oracle Fusion look like Postgres — use any PG client (pgAdmin, DBeaver, psql, Metabase, DuckDB, dbt, etc.). OFJDBC is a JDBC driver for DBeaver and JVM tools. ofrag is the AI-powered surface: it lets agents like Claude and Gemini write, validate, and execute SQL through natural language. All three share the same BI Publisher backend mechanism.

How does the platform protect production?

Both ofrag and ofpgproxy use local intelligence — metadata is cached locally and exploration (schema search, SQL validation, semantic parsing, pg_catalog probes) never touches the production database. Only final, validated queries reach the live Oracle Fusion system. ofpgproxy is read-only by design — DML paths simply don't exist in the codebase.

Can I use OFJDBC programmatically in Kotlin, Java, or Scala?

Yes. OFJDBC is a standard JDBC driver and works in any JVM-based platform including Java, Kotlin, Scala, and Groovy. It also supports ETL tools like Apache Airflow (JdbcOperator), Talend, Pentaho, and Apache NiFi. For non-JVM languages, ofpgproxy offers PG wire which natively binds to Python (psycopg, asyncpg, SQLAlchemy, pandas), Go (pgx), Rust (tokio-postgres), and every other Postgres client driver.

Is there a free alternative to commercial Oracle Fusion SQL tools?

Yes — three of them, all open source: ofpgproxy (PostgreSQL wire proxy), OFJDBC (JDBC driver), and ofrag (AI/RAG). Together they cover every modern data-tool surface and provide direct SQL query access to Oracle Fusion Cloud, matching commercial tools like SQLConnect or DataFusing without licensing fees. Combined with ofrag, you also get AI-powered querying — something no commercial tool offers.

Is the platform secure?

Yes. ofrag, ofpgproxy, and OFJDBC all connect directly from your machine to Oracle Fusion Cloud. No data passes through third-party servers. ofrag processes all metadata exploration locally; ofpgproxy answers pg_catalog probes from a local DuckDB cache without touching Oracle; OFJDBC source code is fully available on GitHub for review.