### MCP Server Download Source: https://context7_llms Provides instructions to download a Python script for exposing HTTP endpoints over the Model Context Protocol (MCP). The script can be run with Python, and the target installation can be specified using the `--url` argument or the `LOTSOFCSVS_URL` environment variable. ```APIDOC Download URL: https://www.lotsofcsvs.com/csv_mcp_server.py Usage: Download the script and run it with Python. Configuration: Use `--url` or the `LOTSOFCSVS_URL` environment variable to target another installation. Example command: python csv_mcp_server.py --url https://another.lotsofcsvs.com ``` -------------------------------- ### Fetch CSV Dataset via HTTP GET Source: https://context7_llms Retrieves a CSV dataset from the Lots of CSVs service using an HTTP GET request. Requires authentication via an 'authorization: Bearer ' header. The data is returned in RFC 4180 CSV format. The URL structure includes the username and the dataset path. ```APIDOC Endpoint: https://www.lotsofcsvs.com/api/u//[path/to/dataset].csv Method: GET Authentication: Required via 'authorization: Bearer ' header. Parameters: - : The registered username of the user. - [path/to/dataset]: The unique identifier for the CSV dataset. Slashes are part of the identifier. Returns: RFC 4180 formatted CSV data. Example (curl): curl -H "authorization: Bearer " \ https://www.lotsofcsvs.com/api/u/johndoe/projects/sales/quarterly.csv Example (JavaScript fetch): fetch('https://www.lotsofcsvs.com/api/u/johndoe/projects/sales/quarterly.csv', { headers: { 'authorization': 'Bearer ' } }) ``` ```curl curl -H "authorization: Bearer " \ https://www.lotsofcsvs.com/api/u/johndoe/projects/sales/quarterly.csv ``` ```javascript fetch('https://www.lotsofcsvs.com/api/u/johndoe/projects/sales/quarterly.csv', { headers: { 'authorization': 'Bearer ' } }) ``` -------------------------------- ### Create or Append CSV Dataset via HTTP POST Source: https://context7_llms Adds new rows to a CSV dataset or creates it if it doesn't exist using an HTTP POST request. Requires authentication and specific Content-Type headers. Submissions must include CSV headers as the first row and follow RFC 4180 formatting. ```APIDOC Endpoint: https://www.lotsofcsvs.com/api/u//[path/to/dataset].csv Method: POST Authentication: Required via 'authorization: Bearer ' header. Headers: - Content-Type: 'text/csv; header=present' Parameters: - : The registered username of the user. - [path/to/dataset]: The unique identifier for the CSV dataset. Slashes are part of the identifier. Rules: - All submissions must include CSV headers as the first row. - Follow RFC 4180 CSV formatting guidelines. Example (Curl): # Adding more rows to an existing dataset echo "Bob,35,Chicago\nCharlie,40,Boston" | curl -X POST \ -H "Content-Type: text/csv; header=present" \ -H "authorization: Bearer " \ --data-binary @- \ https://www.lotsofcsvs.com/api/u/johndoe/users/demographics.csv Example (Python requests): import requests headers = { 'Content-Type': 'text/csv; header=present', 'authorization': 'Bearer ' } additional_data = """name,age,city Bob,35,Chicago Charlie,40,Boston""" response = requests.post( 'https://www.lotsofcsvs.com/api/u/johndoe/users/demographics.csv', headers=headers, data=additional_data ) ``` ```curl # Curl example (adding more rows to an existing dataset) echo "Bob,35,Chicago\nCharlie,40,Boston" | curl -X POST \ -H "Content-Type: text/csv; header=present" \ -H "authorization: Bearer " \ --data-binary @- \ https://www.lotsofcsvs.com/api/u/johndoe/users/demographics.csv ``` ```python import requests headers = { 'Content-Type': 'text/csv; header=present', 'authorization': 'Bearer ' } additional_data = """name,age,city Bob,35,Chicago Charlie,40,Boston""" response = requests.post( 'https://www.lotsofcsvs.com/api/u/johndoe/users/demographics.csv', headers=headers, data=additional_data ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.