FC API docs for reports, risk, and decision workflows.
Use the console to sign in, review reports, and access the latest FC docs. Production API access is managed through your FC account workflow.
Reports
Risk
Decisioning
Access
1. Open Console and sign in.
2. Use the in-app docs and reports library to explore routes and sample responses.
3. Account-based API access is managed through your FC setup workflow.
Open Console
Sign in
Open Docs
Review reports endpoints
Connect your workflow
MCP Server
Connect your AI assistant directly to FC using the fc-mcp server. Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.
Country Risk
MOFCOM Guides
Action Cards & Packs
Sign in to FC and visit /api/mcp/token — copy the access_token.
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"fc": {
"command": "npx",
"args": ["-y", "fc-mcp"],
"env": { "FC_API_KEY": "YOUR_TOKEN" }
}
}
}// .cursor/mcp.json or .claude/settings.json
{
"mcpServers": {
"fc": {
"command": "npx",
"args": ["-y", "fc-mcp"],
"env": { "FC_API_KEY": "YOUR_TOKEN" }
}
}
}from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
import asyncio, os
params = StdioServerParameters(
command="npx", args=["-y", "fc-mcp"],
env={"FC_API_KEY": os.environ["FC_API_KEY"]},
)
async def main():
async with stdio_client(params) as (r, w):
async with ClientSession(r, w) as s:
await s.initialize()
result = await s.call_tool("fc_country_risk_list", {})
print(result.content[0].text)
asyncio.run(main())fc_country_risk_listAll countries with risk scores and top policy cardsfc_country_guideFull guide: snapshot, latest updates, patterns, recommendationsfc_trade_docs_searchFull-text search over 46+ MOFCOM country guidesfc_trade_doc_readFull section content of a specific guide by slugfc_action_cards_searchPolicy cards filtered by country, HS code, domain, or categoryfc_decision_packs_listYour decision packs with status and HS codesfc_scenarios_listYour saved trade shock scenariosQuickstart
- Open the FC console and sign in.
- Browse reports in Reports.
- Use
GET /api/docs/tradeto read report metadata. - Use
GET /api/country-riskandGET /api/action-cardsfor monitoring. - Use
POST /api/simulator/analyzefor scenario analysis.
Reports API
/api/docs/trade
List FC reports with optional query filters.
GET /api/docs/trade GET /api/docs/trade?q=US GET /api/docs/trade?country=USA GET /api/docs/trade?tag=customs
/api/docs/trade/[slug]
Fetch one FC report by slug.
GET /api/docs/trade/mofcom-united-states-trade-guide-en
Risk And Cards
/api/action-cards
/api/country-risk
/api/country-guide
Decisioning
/api/agent/run
/api/agent/run-pending
Simulator
/api/simulator/analyze
Run scenario analysis using existing action cards and monitored country data.
{
"countries": "CHN,USA",
"hs_codes": "1001,1002",
"objective": "Reduce customs disruption risk",
"product": "Wheat imports",
"current_incoterm": "FOB",
"analysis_depth": "standard"
}