Connect via API

Connect GovTribe MCP via API to providers like OpenAI, Anthropic, and Gemini.

Jump To Section:

OpenAI – API

circle-info

For testing tools, we recommend using the MCP Inspector which allows you to manually call all the tools with configurable arguments.


Prerequisites


Step 1 – Create a GovTribe API Key

  1. Enable the MCP, then click +Create Key

Step 2 — OpenAI Platform

  1. Click + Add under the Tools menu, and select MCP server

Step 2 — Configure MCP Server

  1. Click + Server in the pop up

  2. Add the url https://govtribe.com/mcp, create a label/description, and paste your API key

Step 3: Configure Available Tools

Confirm which tools you want enabled, scroll to the bottom, and press Add

Step 4: Test the MCP Server

You can now configure any prompts you'd like and test the GovTribe MCP as needed.

Step 5: Copy as Code Snippet

  1. Navigate to the three dot menu in the upper right hand corner, which opens a dropdown

  2. Click the Code menu option, and see your test prompt represented as API call

Anthropic – API

circle-info

For testing tools, we recommend using the MCP Inspector which allows you to manually call all the tools with configurable arguments.


Prerequisites


See also: Claude's official guide on using MCP servers via the APIarrow-up-right


Example Usage

  • Replace $ANTHROPIC_API_KEY

  • Replace $GOVTRIBE_API_KEY

List available tools:

List a federal contract opportunity:

Gemini – API

Documentation coming soon.

Last updated

Was this helpful?