mcp-server
Provides tools for storing scraped LLM pricing data from various inference providers into a SQLite database.
Click on "Deploy 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., "@mcp-serverCompare deepseek v3 pricing between cloudrift and deepinfra"
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.
In this project, you are going to make a chatbot to scrape LLM Inference Serving websites to research costs of serving various LLMs. You will do this by writing an MCP Server that hooks up to Firecrawl's API and saving the data in a SQLite Database. You should use the following websites to scrape:
"cloudrift": "https://www.cloudrift.ai/inference"
"deepinfra": "https://deepinfra.com/pricing"
"fireworks": "https://fireworks.ai/pricing#serverless-pricing"
"groq": "https://groq.com/pricing"
Make a venv with uv
Sync venv with pyproject.toml (
uv sync)Make an API Key on Anthropic and Firecrawl
Complete the 2 tool calls in
starter_server.pyChange the
server_config.jsonto point to your server fileComplete any section in
starter_client.pythat has "#complete".Test using any methods taught in the course
Use the following prompts in your chatbot but play around with all the LLM providers in the list above:
"How much does cloudrift ai (https://www.cloudrift.ai/inference) charge for deepseek v3?"
"How much does deepinfra (https://deepinfra.com/pricing) charge for deepseek v3"
"Compare cloudrift ai and deepinfra's costs for deepseek v3"
Available Tools
2 toolsextract_scraped_infoB
Extract information about a scraped website.
Args: identifier: The provider name, full URL, or domain to look for
Returns: Formatted JSON string with the scraped information
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It only says 'extract' and that it returns a JSON string, but does not disclose whether this is a read-only operation, what happens if the identifier is not found, or any rate limits or error conditions. Minimal disclosure of behavior beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very short and to the point, with the main purpose front-loaded. No redundant phrasing or filler. It is concise without being under-specified.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool with an output schema, the description is minimal. It lacks context about the relationship with scrape_websites, any prerequisites, or potential failure modes. The output schema covers the return format, but the description does not tell the agent enough about when or why to use this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description compensates by explaining that 'identifier' can be a provider name, full URL, or domain. This adds meaningful semantics beyond the schema's bare 'Identifier' label, though it could be more specific about accepted formats.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a clear verb (extract) and resource (scraped website), and the sibling scrape_websites is clearly different (scraping vs extracting). It does not specify what 'information' includes, but the purpose is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus the sibling scrape_websites. The description does not mention prerequisites (e.g., that the website must have been scraped first) or any conditions that would make this tool the right choice.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
scrape_websitesC
Scrape multiple websites using Firecrawl and store their content.
Args: websites: Dictionary of provider_name -> URL mappings formats: List of formats to scrape ['markdown', 'html'] (default: both) api_key: Firecrawl API key (if None, expects environment variable)
Returns: List of provider names for successfully scraped websites
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| formats | No | ||
| websites | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of disclosing side effects, limitations, or persistence. It only mentions that content is 'stored,' but does not elaborate on any I/O implications, error handling, or whether the operation is read-only. This is insufficient for an agent to anticipate the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and to the point, using a single sentence to convey the primary action and then listing parameters without unnecessary verbosity. It is easily scannable and does not waste words, though it could be slightly richer without losing brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (nested objects, multiple parameters, and an output schema), the description is incomplete. It does not explain the semantics of the returned list of provider names, potential failure cases, or how the output relates to the input. The presence of a sibling tool also suggests a broader workflow that is not addressed, leaving the agent with gaps in understanding the tool's place in a larger process.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds minimal meaning beyond the schema. It restates that 'websites' is a dictionary of provider_name to URL, but does not explain the purpose of provider_name, the valid values for 'formats' (beyond examples), or the fallback behavior when 'api_key' is None. Since schema coverage is 0%, the description should have compensated but does not.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (scrape multiple websites) and the resource (websites), and mentions the use of Firecrawl and content storage. It is specific enough to understand the tool's primary function, though it could be clearer about how it differs from the sibling tool 'extract_scraped_info'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus the sibling tool 'extract_scraped_info'. It does not mention that this tool is for raw scraping while the sibling is for extracting structured information, leaving the agent to infer the appropriate context without explicit instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v0.1.0- First observed
extract_scraped_info - First observed
scrape_websites
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one scrapes multiple websites and stores content, the other extracts specific information from a previously scraped website. No overlap in functionality.
Both tool names follow a consistent verb_noun pattern using snake_case: scrape_websites and extract_scraped_info. The naming is predictable and clear.
With only 2 tools, the server is minimal but adequately covers the core workflow of scraping and extracting. It could benefit from additional tools for management, but the count is not inappropriate for the stated purpose.
The server covers the primary operations of scraping and extraction, but lacks tools for listing, updating, or deleting scraped data, which could limit agent workflows. Some notable gaps exist.
Maintenance
Related MCP Connectors
Live LLM API pricing: token prices, comparisons, cheapest-model lookups. No key required.
40+ web scraping tools from Firecrawl, Bright Data, Jina, Olostep, ScrapeGraph, Notte, and Riveter. Scrape, crawl, screenshot, and extract from any website. Starts at $0.01/call. Get your API key at app.xpay.sh or xpay.tools
Any web page -> clean markdown. Firecrawl-lite, 0.001 USDC/extract (x402, Base), free demo.
Extract structured pricing tiers and addons from any SaaS pricing page URL. Built for AI agents.
Related MCP Servers
- FlicenseBqualityBmaintenanceEnables scraping and comparing pricing information for LLM inference services across multiple providers (CloudRift, DeepInfra, Fireworks, Groq) using Firecrawl API and SQLite storage.2-
- AlicenseNot gradedqualityDmaintenanceEmpowers LLMs to scrape web pages and generate sitemaps through the Firecrawl Simple API, with support for JavaScript rendering and configurable options.5 npm1MIT
- FlicenseAqualityDmaintenanceEnables scraping and comparison of LLM inference pricing from multiple providers like Cloudrift, DeepInfra, Fireworks, and Groq, storing results in a SQLite database.2-
- FlicenseNot gradedqualityCmaintenanceEnables scraping LLM inference pricing from websites like Cloudrift, DeepInfra, Fireworks, and Groq, storing results in SQLite for cost comparison.-