fare-data MCP server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fare-data MCP serverShow me the cheapest business-class fares in MEX_LAX_28Jul.csv"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fare-data MCP server
Exposes ATPCO fare CSV snapshots (the ~119-column fare feed layout: CXR, ORIG, DEST, Fare Class, Fare AMT, Tax AMT, Total Price AMT, Cabin, restrictions, …) from a local folder to Claude via the Model Context Protocol, plus a live fare-shopping tool backed by engine-wrapper-service.
Data directory
Drop your fare CSVs into the data folder. Resolution order:
FARE_DATA_DIRenvironment variable, if set../fare-data(a folder namedfare-datanext to this repo), if it exists./datainside this repo
Any *.csv with the fare-feed header layout is picked up automatically; no
restart needed when you add or replace files (each tool call re-reads the
directory).
Related MCP server: j-quants-doc-mcp
Tools
Tool | What it does |
| List available CSVs with fare counts, markets, carriers |
| Column names + a sample row for one file |
| Filter fares (exact-match on any column, price range), sorted, compact column projection |
| Count/min/avg/max of Fare AMT and Total Price AMT grouped by any column (default Cabin) |
| Diff two snapshots of a market: added / removed / repriced fares |
| Live fare shop via engine-wrapper-service — POST to frmwithtotalpricewrapperstream |
shop_fares notes
Requires the internal engine-wrapper endpoint (corporate network/VPN). Configure it via
ENGINE_WRAPPER_URL— copy.env.exampleto.envand fill in the URL (ask your team; it is deliberately not committed) — or passendpoint_urlper call (e.g. to hit the historical wrapper).origin,destination,carrierare required; everything else defaults to the standard request: dates (travelDate,asOfDateTime,ticketDate) default to the current date/time in engine format (e.g.02AUG26T1119),hostCarrierdefaults tocarrier,userIddefaults toATP1XXX, trip typeOW,daysStay7.Any other request field can be set through the
overridesdict, which is merged last and wins (e.g.{"taxes": false, "validateCategories": "15"}). An override set tonullremoves that field from the request entirely.Responses whose parsed JSON exceeds
max_response_chars(default 200000) return a preview only, to protect the LLM context window. Programmatic callers should passmax_response_chars: 0for complete data.
Setup
cd fare-mcp-server
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp .env.example .env # then fill in ENGINE_WRAPPER_URLRunning without Claude
Claude is just one MCP client — the server runs standalone and anything that speaks MCP (or plain Python) can drive it.
Raw stdio mode (what any MCP client spawns):
.venv/bin/python server.pyIt waits silently for JSON-RPC on stdin — normal for a stdio server. Ctrl+C to exit.
MCP Inspector — interactive web UI to browse and call the tools (best for development, debugging, and demos; requires Node):
npx @modelcontextprotocol/inspector .venv/bin/python server.pyFrom a Python script — the MCP client library is already installed in the server's venv:
import asyncio
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def main():
params = StdioServerParameters(command=".venv/bin/python", args=["server.py"])
async with stdio_client(params) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
result = await session.call_tool("list_fare_files", {})
print(result.content[0].text)
asyncio.run(main())No MCP at all — the tools are plain Python functions:
.venv/bin/python -c "import server, json; print(json.dumps(server.list_fare_files(), indent=2))"Register with Claude Code
From the directory where you cloned this repo:
claude mcp add --scope user fare-data \
--env FARE_DATA_DIR="$(pwd)/../fare-data" \
-- "$(pwd)/.venv/bin/python" "$(pwd)/server.py"(--env FARE_DATA_DIR=... is optional — see the resolution order above.)
Register with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json,
replacing <repo> with your clone's absolute path:
{
"mcpServers": {
"fare-data": {
"command": "<repo>/.venv/bin/python",
"args": ["<repo>/server.py"]
}
}
}Then restart Claude Desktop.
Use from FarePulse-Agent
FarePulse-Agent can route its wrapper snapshot calls and competitor probes
through this server: clone the two repos side by side and set
FARE_MCP_ENABLED=1 in FarePulse-Agent's .env (see the "fare-data MCP
server" section of its README).
Example prompts once connected
"What fare files are available?"
"Show me the cheapest business-class fares in MEX_LAX_28Jul.csv"
"Summarize fares by cabin in the 28Jul file"
"What changed between the 10Jul and 28Jul MEX-LAX snapshots?"
"Shop live fares for ADL-LAX on FJ, one way"
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseBqualityDmaintenanceConnects Claude and other MCP clients to Elasticsearch data, allowing users to interact with their Elasticsearch indices through natural language conversations.Last updated31,631702Apache 2.0
j-quants-doc-mcpofficial
AlicenseAqualityCmaintenanceEnables searching J-Quants API endpoints, retrieving detailed documentation, generating executable sample code, and answering FAQs via MCP clients like Claude Desktop.Last updated711MIT- Alicense-qualityBmaintenanceEnables querying enterprise documents (DOCX, PDF, PPTX) using natural language, with hybrid search and MCP integration for Claude Desktop and other agents.Last updatedMIT
- Flicense-qualityDmaintenanceEnables AI-powered business intelligence queries on Elasticsearch data using natural language and Claude integration via MCP.Last updated
Related MCP Connectors
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
AI marketplace — flights, tours, activities, transport & more via MCP. No auth required.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gvdeepthi/fare-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server