Who it is forA developer on a React Native or Expo app who needs to find the native implementation behind a TypeScript call.
The problemNo single parser can see a call that crosses from TypeScript into Objective-C, Swift or Kotlin, so the native side is easy to miss.
The outcomeThe context answer links the NativeModules call in TypeScript to the native method it reaches.
What you need first
- Docker with Docker Compose, to run PostgreSQL 16 with Apache AGE and pgvector
- Python with pip
- A local repository to index
- A coding agent that can call MCP tools, or the bce command line
Steps
docker compose -f deploy/docker-compose.yml up -dpip install bgts-context-enginebce migratebce index --repo /path/to/your/react-native-app --name my-app(inferred, check the README)bce context --task "where does NativeModules.Foo.bar() end up on the native side"(inferred, check the README)
Prompt for your agent
Using the bgts-context-engine repository, index the React Native app at <target repo path>, then run bce context with the task <question about a NativeModules call>. Expected output: a ranked answer that includes the native Objective-C, Swift or Kotlin method. Verify that the native method is linked from the TypeScript call site.
Caveat. The README describes these bridges for React Native and Expo only, so other cross-language calls may not be linked.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for bgts-ai-org/bgts-context-engine and "Trace React Native calls into native Swift, Kotlin or Objective-C"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer