---
id: "workshop:leveraging-ai-to-use-open-data-a-city-of-boston-case"
type: "InnovateUS workshop"
title: "Using AI to Make Open Data Useful: Lessons from the City of Boston"
url: "https://innovate-us.org/leveraging-ai-to-use-open-data-a-city-of-boston-case"
date: "2026-03-17"
duration: "60 minutes"
series: "Opening Data for AI Innovation"
instructors: ["Santiago Garces","Srihari Rahman"]
recording: "https://www.youtube.com/watch?v=f-1uuMYhYyU"
transcript: "automatic, from the recording"
source: "InnovateUS (innovate-us.org)"
licence: "CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org"
---

# Using AI to Make Open Data Useful: Lessons from the City of Boston

InnovateUS workshop · 17 March 2026 · 60 minutes

Governments at all levels now publish vast amounts of open data, but too often it’s hard for staff and residents to know which datasets to use—or even where to start. In this session, we’ll walk through how the City of Boston is using AI assistants  to search *across its entire open data catalog at once*, allowing users to ask questions in plain language without needing to know dataset names, formats, or schemas in advance.

Behind the scenes, this is made possible by MCP servers, which act as a secure bridge between AI tools and city data systems, allowing AI assistants to safely query live municipal data rather than relying on static files or manual uploads.

Using a live demo, participants will see how AI tools can help analyze 311 requests, permits, crime data, and other city datasets, making it possible to quickly surface patterns and insights that would otherwise require technical expertise or significant time. We’ll focus on what it takes to set this up, what problems it actually helps solve, and what other cities can realistically replicate. Participants will leave with concrete ideas for turning their own open data from static spreadsheets into tools that support faster, smarter public decisions.

## Learning goals

By the end of this session participants will be able to:

- Recognize how AI can make open data easier to use by allowing staff to search across many datasets at once using plain-language questions

- Describe, in practical terms, how MCP servers securely connect AI tools to existing city data systems

- Identify everyday government tasks—such as responding to service requests, planning, or oversight—where AI-assisted open data could save time or improve decisions

- Ask the right questions internally about data readiness, governance, and safeguards when considering a similar approach in their own agency

## Speakers

- **Santiago Garces**, Former Chief Information Officer, City of Boston
- **Srihari Rahman**, Ai for Impact Fellow

Part of the series [Opening Data for AI Innovation](https://innovate-us.org/workshop-series/opening-data-for-ai-innovation-series).

Recording: https://www.youtube.com/watch?v=f-1uuMYhYyU

## Transcript

Automatic transcript of the recording: names and terms can be misheard, and the times can be a few seconds off. Each time links to that moment of the video. The transcript alone: https://innovate-us.org/leveraging-ai-to-use-open-data-a-city-of-boston-case.txt (plain text) and https://innovate-us.org/leveraging-ai-to-use-open-data-a-city-of-boston-case.json (every segment with its start and end second).

**Stefaan Verhulst**

[0:00](https://youtu.be/f-1uuMYhYyU?t=0) And thanks everyone for joining to this second session of the series on Open Data and AI Innovation, and also for everyone who celebrates Open Data Month. I hope this will be a great contribution to the open data celebrations that are happening worldwide. And as Arlene already was referring to, today's session is part of a four-part series that focuses on open data and AI innovation. And the first part, which I had the great pleasure and honor to start, really tried to set the stage that we are at a unique moment in time when it comes to open data, which I have called the Ford wave of open data, where we really start using open data to improve AI, both in terms of using open data for training, fine-tuning, but also for augmenting models so that we can have use cases leveraging large language open data. But also, and I hope you can hear me because I'm calling in from abroad that my internet is not that stable, unfortunately. But ultimately, it's not only about open data improving AI. AI can also be a tool for democratizing open data itself. And we gave a few examples in the previous session where AI can be used to improve discovery of data, where AI can be used to ultimately monitor data quality, where AI can be used to provide a conversational layer with data so that we have a more democratized approach to consuming and providing AI. And all of these applications, of course, have radically been powered and transformed by the adoption and

[2:03](https://youtu.be/f-1uuMYhYyU?t=123) the release of new protocols such as the model context protocol that really enables the connection between AI agents among themselves and with data and open data in particular. And all those topics will be topics that we will discuss today. And I'm super delighted to have two superstars here that already have been introduced by Aline Santiago Garces and Srihari Raman, who basically have made what I introduced in the previous session a reality in Boston, where they have started using AI assistance to make data discoverable, to search across the open data catalog of Boston, to also start leveraging MCP to actually connect different AI agents and assistants to different functions and needs. And I'm super delighted to not only have a conversation, but also having a demo that will actually show how it all works. So with that, no pressure, Santiago

**Santiago Garces**

[3:15](https://youtu.be/f-1uuMYhYyU?t=195) and Srihari, over to you. Absolutely. Well, Stefan, it's such an honor to be here with you guys. And we'll go quickly through the slides so we could get to the conversation and to the demo. So in the fall of last year, Srihari and his teammates at the AI for Impact program at Northeastern University were working with us to try to figure out how is it that we could make the AI tools that we were developing more powerful for our civil servants. And one of the things that we know that people were telling us that they found useful with AI is to analyze data, but reliability to access the data was a challenge. So we kind of came across, I had come across this MCP kind of protocol, this paradigm. And then I went to Sri and his partner and I was like, hey, let's build an MCP server for Boston for the Open Data Portal. And many iterations forward, we are here. But what is a MCP server? MCP stands for Model Context Protocol. And again, as Stefan was mentioning, it is an intermediary. It is a tool that allows an LLM, a large language model, this like AI engine, be able to access different resources, databases, APIs. And why is this really powerful in government is that it allows us to be able to scale access to resources.

[5:00](https://youtu.be/f-1uuMYhYyU?t=300) It allows us to improve consistency and security. And this is important because we're starting to see a large, ever-increasing number of people accessing government resources, our websites, our data, and our services through AI tools. And we want to be able to have some visibility and some governance and to be able to make sure that those experiences are reliable and positive ones. MCP servers, for us, are these new layer of digital public infrastructure that is really exciting. So I'll talk more, but Sri really gets all the credit for actually building what we're going to show you. So we started thinking about what are some core skills. And when you're building an MCP server, you're thinking about tools. You're thinking about what are these resources that are programmatic, that are things that we would regularly access through an API or some other way.

[6:03](https://youtu.be/f-1uuMYhYyU?t=363) And how is it that you translate natural language? What is the kind of conversation that the LLM is having? What are the arguments? What are the pieces that would be extracted? And how to form an API call for each of those tools? So we started with about three. There's really five tools, but some of them are similar to each other. So the first thing that we thought is this could be really helpful to help us find data sets that are relevant in the open data portal. And again, one of the things that we know is it is difficult for someone to understand what data might be useful to help us answer a question. So that's really powerful. And LLMs have this semantic way of encoding languages and decoding language that is really powerful, because I might be interested in rodents, but I might be able to find data sets that talk about rats or mice. And those are semantically close, and the LLM is going to be able to match those things. Being able to extract metadata, the schema of the data set, get the columns, get the type of the columns so that it could process them, and then actually querying the data set. And then one of the big innovations and things that we've learned since the fall to this point is we're having to manage some things that are novel. We're trying to manage, there's limited amounts of throughput that we want to have between the open data portal, the MCP server, and then our AI tools. And based on those limitations, we also, when we're trying to query the data sets, we might introduce errors or force the AI tools to do some really weird things like sample the data set as opposed to extract all of the data set. So one of the things that we started to do was using the fact that most open data portals currently have functionality to actually run SQL statements, push the computational workload to the open data portal itself. So we're going to tell you a little bit. So these are the kinds of things that we're able to do today. And we're going to show you this

[8:07](https://youtu.be/f-1uuMYhYyU?t=487) and because we're physically apart and no one else can hit me under the table, we're also going to give you the direction to get to the open source repository. So you could go and fork the repo and play with it. And later down the road, we're hoping to make a public exposure of the MCP server for Boston so that any resident or you guys, the data adventurers of the world can access these tools. So this is first the safe demo, which is just screenshots. So one of the things, again, we know permitting is a hot topic nowadays and we wanted to be able to see how many restaurants did we have in Boston. So obviously here, I have a little bias because I know a little bit more maybe than the average person in Boston. So I said, how many addresses or parcels have food service permits? So the LLM goes and right now, I had it in the cloud. It works with Gemini and chatGPT, but most of the AI tools these days interconnect with MCP servers. It goes and starts determining what I'm interested in. It detects that I'm using data, open data, and then that is what triggers the use of the MCP server.

[9:36](https://youtu.be/f-1uuMYhYyU?t=576) In these gray points is where you start seeing that in its thinking, it's accessing these MCP tools, which we'll see live in a minute. So it's going and first thing is it finds the relevant data set. It says, I found a data set that actually has active food establishment licenses. So if we have data on it, you'll find that if we don't have data, sometimes they'll find some data set that might be relevant, but obviously here, the limitation is what we have in the open data portal. So the great thing is that because it is pulling data from the data portal, it is current. That is the right answer that day. 3,223 active food permits. It gives me the schema, all of the fields that the data set has. So then I go and I said, I'm curious, is this data, the location ID, the same as I have in my construction permitting data set? So it is then going in and getting some information about the property ID. And obviously, it has a sample of what those IDs look like. And it says, yes, the property ID is the same field. Obviously, I know this because we use the standardized address management system at the city and both are actually coming from the same system, but someone else might not know that.

[10:55](https://youtu.be/f-1uuMYhYyU?t=655) So it's exciting. So I am able to say, this is a thing that I had to do before we were able to do the SQL queries. So then I'm saying, I want to find how many construction permits does it take for a person to be able to open up when they have a restaurant? So in order to do that, I need to do a join. And now I know that I have the property ID as this common element. So this is our latest version of the server is able to do the query itself. Like here, I was before we did that. So I actually had to force it to do the API call and then put it in and then download the data. But Sri makes all of our lives better every day. And lo and behold, I'm able to do this. And then again, with this new joint data set, I'm able to see how many restaurants had a construction permit. What is the maximum amount of construction permits? What is the minimum? What does it mean? What is the median? And then it starts trying to do a little bit of interpretation. Again, it's going on saying that the location ID, even though it's shared, when you're trying to open up a restaurant in a building where there's large construction site, there's a number of construction permits that are going to be associated with that ID. But it also helps us. So it's giving us a little bit of clues and trying to interpret the results as well. What is coming next? So then again, this slide is now a little

**Srihari Raman**

[12:32](https://youtu.be/f-1uuMYhYyU?t=752) bit of data. I'll pass it over to Sri. Yeah. Thanks so much, Santi. So in terms of what's coming next for OpenContext, we're kind of taking multiple different approaches. As you can see in the architecture there, it's two layers of abstraction. So the first layer, we're focusing on expanding the access to data. Cities use multiple different data management systems. Some of the most common include CKAN, Socrata, and ArcGIS. So what we're doing and what we've done so far is we've developed support for CKAN and Socrata. ArcGIS is next. So we're working on developing the functionality for that. And the whole point of OpenContext is to make it super simple for cities to just take our repository, fork it, and make some changes to it and deploy it. The second layer is obviously with cloud systems. So OpenContext is developed in the cloud. So what we're trying to do is expand its support to just beyond AWS, which is what we use at the city, and to expand that to more different cloud providers like GCP or Google Cloud, as well as Azure, which is Microsoft native. So by doing this, we're allowing cities across the U.S. to be able to fork what we have and to rapidly develop their own MCP servers. What we like to call it is the one fork, one deploy model. So you can fork it as many times as you want and create as many MCPs as you want. So that's kind of our vision in terms of where we're going with

**Santiago Garces**

[14:03](https://youtu.be/f-1uuMYhYyU?t=843) OpenContext. Sure. Can you comment really quickly on how long is it taking us to provision an individual MCP server now that you have it configured in this abstracted way?

**Srihari Raman**

[14:14](https://youtu.be/f-1uuMYhYyU?t=854) Yeah. So previously when I was building this during my co-op, it took about three months for me to develop it, test it, and then push it and have it live for Sandy or anyone on the team to use. And it's now down to minutes. So I was actually testing this with Sandy, and in the middle of one of our meetings, he was like, can you deploy another city just to test it out? And as we were talking, I was like, all right, it's done. So the scale really is going down from months to minutes, which is, I think, an amazing thing. And it's definitely something cities should leverage in order to make their own MCP infrastructure. Talk a little bit about

**Santiago Garces**

[14:56](https://youtu.be/f-1uuMYhYyU?t=896) how we built it. Well, how you built it. Yeah, yeah, sure.

**Srihari Raman**

[15:01](https://youtu.be/f-1uuMYhYyU?t=901) This diagram is a little outdated in terms of how we connect to the MCP and how we designed it. This was when we were developing version 2, I'd say, right after I finished my co-op. This was before MCP had support for just being able to call things natively through the web. MCP, if anyone doesn't know, speaks a different language compared to our standard REST protocol, which is just calling things through APIs. We had to have some sort of a middleman in there, also known as a client proxy, which spoke both languages and was able to translate that information. The Cloud Desktop Client is really any client that you use, any LLM client, that connects previously through the studio adapter, but now we have support where we're able to directly just connect to the MCP server through the API gateway. The gateway is just there in terms of rate limiting and security just to ensure our system isn't being abused.

[16:01](https://youtu.be/f-1uuMYhYyU?t=961) In the future, we're anticipating API keys and being able to point that out to people so that we can track requests on our end. The main MCP server is built using Lambda. This is all within the AWS ecosystem. AWS Lambda is serverless, so it makes it very easy to spin up, spin down, scale as many as you need depending on traffic. In terms of being able to see what's going on, we're using CloudWatch and X-Ray to monitor logs and just ensure that things are working smoothly. In terms of caching requests, this is to ensure that we're not calling the CKAN API or any data management system API many times for the same requests. DynamoDB allows us to cache requests and responses and be able to use that cache instead of hitting the API every single time. Overall, a pretty simple system to architect.

**Santiago Garces**

[16:54](https://youtu.be/f-1uuMYhYyU?t=1014) Again, because we have a consumption-based model for most of the infrastructure, it costs several zeros per call. It's actually very cost-efficient because the inference for the LLM is happening outside. It's happening on the user side of things. To some extent, there's also some level of privacy. Hashtag, whatever your relationship with your AI provider is privacy. But we don't know what you're asking. We just know the actual requests that are getting formed as APIs that get passed on to them. We don't have the entirety of the conversation. We just have the things that are getting requested to the MCP server. And it is very cost-efficient. The pieces that are missing, we're hoping by April 1st to release publicly our MCP server. Again, the parts that we are building towards is the integration with OAuth for authentication.

[17:55](https://youtu.be/f-1uuMYhYyU?t=1075) We are likely going to require people to register with us just so that we know who you are if you're using the MCP server. But you could go and provision your own MCP server. Boston's Open Data Portal has an open and free API. If you have restrictions, you could also add API tokens to access API data portals that require those. We're really excited. We think that this is just the beginning. We're thinking about how these MCP servers allow us to consume information from things that are read-only like open data. This is probably going to be a pattern that we try to look towards for accessing content on the website as well. For LLMs to do some of these things, especially in use cases where we know that we don't want to have the traffic go through the public internet. We'd just rather be able to access the relevant information. The second stage where we're starting, this is in the conceptual stage at this point, starting to think what are the transactional systems that we would want to have people be able to initiate requests using AI tools, using the MCP server.

[19:06](https://youtu.be/f-1uuMYhYyU?t=1146) We're trying to avoid having people to go through the public internet or using an agentic browser or some of these tools to interact with us. We want to increase the likelihood that the interaction is reliable, that it is secured. It is secured through OAuth all the way from the client to the MCP server and then to the internal system. Then we can see a moment in which you start having some orchestration. You start having tools that are interacting with each other and requesting each other. That's something that will probably be farther out in the future. All of this is giving us a lot more control and a governance layer to be able to understand. That would assure us that if we restricted access from the publicly available tools to interact with our systems, that we would still be able to have access to the people that would benefit from this. If you're a busy parent and you're trying to enroll your kids in summer school and to do a number of things, we want it to be able to use AI, but we want it to be a reliable and safe experience.

[20:11](https://youtu.be/f-1uuMYhYyU?t=1211) Again, this is what we're talking about. In Boston, we think there's this open crawl type thing with agents for the sake of agents. We're not buying that just yet. We think that agents are interesting in the means that they can support people getting access to things that they need. Obviously, the way that we provide our government services is on top of systems of record that are reliable, that are secure. We want to tie it with the rest of our public infrastructure of identity, like the same identity management systems, the same payment systems, standard enterprise data products, documents, and so on and so forth. I think that this is it for the deck. I will go into the riskier part of our presentation to go and give you a quick demo. I hope it works. If not, we'll have a nice drumroll and you guys will forgive us, but I think it'll work.

[21:14](https://youtu.be/f-1uuMYhYyU?t=1274) It was working earlier. What would be a good thing? Snow. I'm just going to say, and right now, again, I'm going to just double-check that my MCP server is connected. I have here the Boston Open Data MCP, and I'm just going to say Snow. I have here the Boston Open Data MCP, and then I actually have one for San Jose. We started to build some for different cities just to test. Partially why we're excited about this, one of the things that's really helpful in government for us to do is to be able to benchmark. We want to compare what our performance is compared to others. San Jose just happened to have Seacon, and we really like the San Jose folks, so we chose that for a start. I'm going to say, build me a full analysis for snow clearing in Boston.

[22:25](https://youtu.be/f-1uuMYhYyU?t=1345) I'm cheating a little bit. We actually have a set of cloud skills that I've been building that helps me leverage the MCP server to do more complex workflows, which hopefully I'll be sharing those soon. Right now, what this is doing, it is going in and running searches in Boston.gov for data. Again, snow clearing. There's no data set for snow clearing. It eventually found 311. It realized that 311 has information about winter requests. It finds the actual data sets, and then it's actually pulling information from the data portal from the actual data set. This is the unique idea of the data set and some information about the data set that it is pulling and loading it all. It's doing a ton of legwork of going and doing several searches.

[23:25](https://youtu.be/f-1uuMYhYyU?t=1405) Even if it didn't find the data set the first time, it doesn't give up. It's going to go and find... Oh, man. I ran out of credits. I told you. Well, I'm going to show you something that I did earlier before. It's always a bad idea to do demos live, but I'll show you one that I was doing earlier around liquor licenses where I was with some folks. Of course, it's not going to work. Oh, there you go. Obviously, Cloud Launch today, new visualization tools. It was before building it in JavaScript. But I went and I asked... I'll show you what the original request was. Can you do an analysis using open data about liquor licenses? It did all of the things that I was showing you before. And then I've, again, configured it to give me these kind of breakdowns, like by neighborhood, equity analysis, and some operation stuff. So it tells me what percentage of liquor license establishments in Boston are licensed to open until 2, until 11, until 1.

[24:31](https://youtu.be/f-1uuMYhYyU?t=1471) The breakdown by neighborhood. This was using zip codes because we actually don't have neighborhoods encoded. I might have neighborhoods encoded. Some equity analysis. Again, it's trying to... It gives me this excerpt to try to very easily be able to share with the mayor or someone else. So I'll pause there just so that we get to discussion. But it is... And then I went and asked to see if it could compare it with 911. So 911 data is a little bit anonymized. We scrambled the specific address. But it can find what are the nearby locations. And then it's able to find, out of the 911 data set, things that are specific to alcohol. So OUIs, public drinking, liquor law violations. And it gives me, based on the police precinct and then the time of day when the violations occur. So, again, very quickly, I'm able to go from having an inquiry about a thing that I'm interested in being able to start finding information that is publicly available.

[25:38](https://youtu.be/f-1uuMYhYyU?t=1538) This is not just things that I have because I'm the CIO of the city. Every constituent has access to these things. And it's just really exciting because we think that we can get to the point that hopefully we're having better conversations, more transparency. And just like kind of getting into a new era where hopefully these tools help us align and coordinate to problem solve better together. So let me pause that. And then I'll turn it over to Stefan for question and answer and discussion.

**Stefaan Verhulst**

[26:10](https://youtu.be/f-1uuMYhYyU?t=1570) Great. Thanks so much, Santi and Srihari, for a wonderful, very compelling, very inspiring, very energizing presentation here on what you've been doing. We had some questions already in the Q&A. And we will go to them in a second. But I do want to start with a few perhaps opening questions to get us started. And so last week, or I can't remember when we had the first session, we focused a lot of our attention on how do you make open data AI ready? Because obviously, anyway, we have MCP and the question and some of the questions are already referring to that as well. Do you need to have certain kinds of, let's put it that way, other certain kinds of requirements for open data to be ready for MCP applications?

[27:19](https://youtu.be/f-1uuMYhYyU?t=1639) That's basically the question that probably everyone has here on the call as well. And so I don't know, Srihari or Santi, whether you want to address that?

**Santiago Garces**

[27:31](https://youtu.be/f-1uuMYhYyU?t=1651) I'll give you my first step and then Srihari, do you want to go? So I think that the evolution of open data, we've seen that for open data to be useful and for it to increase its quality, it has to be used. So partially our theory of change here is because we're making it easier for people to interact with data, it will intrinsically make all of the gaps in accuracy, how it's described, be more put in the forefront. So we're starting to see again, we don't have always consistent definitions for what neighborhoods are across different data sets. We're seeing how easy it is to be able to join information, get information about neighborhood level analysis. So I think that these tools are starting to force us to think about how is it that we turbocharge our efforts to increase consistency in how we manage data and how we define different attributes across different data sets. You see that the tools are extracting the schemas, like the information about the data sets.

[28:37](https://youtu.be/f-1uuMYhYyU?t=1717) That's information that we provide. So we are forced to have better quality information, like make sure that it is more accurate, more descriptive. What are the fields? When should we not be using a certain field? So like one of the things might have gone quickly, but we actually switched systems for 311. So we actually have two systems for 311, two types of data sets before 2025 and after 2025. So all of those things, I'd say all data is AI ready, but the quality of the analysis and the ease with which you can circumvent those hoops gets down if you do a better job. And I think that it is just an inspiration for us to keep working on improving our data governance practices, our processes of how we publish data. And we are lucky because we have invested a lot of money and a lot of time in building a lot of ETLs and a lot of processes that allow us to extract and expose this data already. And that's something that I think that it's easy to take for granted. But we have like a data engineering team at the city that's like pulling data from different systems, transforming it and automating the process of publishing.

[29:43](https://youtu.be/f-1uuMYhYyU?t=1783) But Sri, did I miss something?

**Srihari Raman**

[29:47](https://youtu.be/f-1uuMYhYyU?t=1787) Yeah, I think to add on to that, add a data layer. Again, I'm working with the data engineering team at the city as well. And one of the use cases for the MCP is to actually use it as a tool to backfill data. information and to understand how metadata is being laid out in their data management portal. A common saying in the data world is, garbage in, garbage out. No matter how powerful your LLM tool is, or your AI agent, or whatever interface you're using to access the MCP, at a data layer you need to have, I would say, a couple things in terms of AI readiness. First would be metadata, so how you're putting information about the data set together. There are certain formats that are just easier for MCPs and for LLM tools to be able to use, you know, JSON fields, things like that. Very specific data formats. But also in terms of language, so how are you describing the fields? Even within that, you can describe what the field is for and what not for. All of that information is used by the LLM and by the MCP to be able to query the right information, to be able to search for the right data sets.

[30:59](https://youtu.be/f-1uuMYhYyU?t=1859) The other thing is also meta tags for data sets, so topic-wise tags on what the data set is for. That allows the LLM tool and the MCP to be able to pick the right data sets to answer your question, so it's more likely to answer your question rightly on the first try. And so what we're doing with the data engineering team is trying to backfill information of data sets that didn't have this information sort of laid out in AI readiness terms. And we're using the MCP as a tool, you know, because LLM systems are very intelligent in terms of being able to describe what they need in order to function properly. We're using the MCP as that connection layer to be able to, you know, revise information that's written in data sets to be able to make it more AI ready by using AI. So it's a useful use case in terms of how we use the MCP at the city, and I think through that you're able to understand, okay, well there are stuff that I can provide in terms of metadata and tags that will be useful for any

**Stefaan Verhulst**

[32:00](https://youtu.be/f-1uuMYhYyU?t=1920) AI agent or LLM system. Great, and I like your reflection on, anyway, Santi, by saying is that, anyway, by doing it you will learn. And also by actually leveraging AI, you can make data AI ready in its own right, which takes me to the middle concept, actually, of model context protocol, which is context. And there's a whole discussion in kind of the engineering world is that we are moving from prompt engineering to context engineering, and so eager to hear where does that fit within the context discussion. And Srihari, you already mentioned the importance of kind of adding context so that actually, anyway, the AI knows how to interpret certain kind of data sets or know what data sets might be relevant for a particular context. So can you tell us a little bit more about the importance of context? Because I think this is an evolution, as Santiago, as you mentioned, an evolution of open data, where in the past it was kind of less about, anyway, it was all about kind of getting data out. Then we had a discussion about the quality of the data. Now it's also about adding context to the data so that data can be used in the right way. So eager to hear where you are on that front. Do you want to go

**Srihari Raman**

[33:26](https://youtu.be/f-1uuMYhYyU?t=2006) first or second? Yeah, yeah, sure. I think in terms of, you know, as an engineer building the MCP, the first thing we think about is efficiency and quality. So in terms of what we were facing earlier when we were building earlier editions of the MCP, so we had a specific discussion around SQL. So like Sandy was saying, we're pushing more of the workloads onto the data portals itself. All of that information is context that is used by the LLM. What is happening, or what was happening earlier when we didn't have this tool exposed, was that the LLM was doing this process called pagination, where it goes through and it, you know, samples a thousand records at a time. Because there's so much information available on open data portals, LLMs tend to get overloaded very quickly. And, you know, tools like Anthropic, Clod, all these different systems are, they're building ways to be able to intelligently retain information and sort of forget information. But on our side, what we're developing is this tool to be able to kind of push that complexity away from the LLM and have it focus more on reasoning. And how we're addressing that context volume problem is we're allowing the open data portal, they expose a functionality like Sandy was saying, to be able to run those SQL workloads. So we're having the LLM decide what information it needs and not pull that information and then try and filter it by itself.

[34:52](https://youtu.be/f-1uuMYhYyU?t=2092) So what we're doing is we're reducing that effective volume by sending that to the server, having that take care of whatever information it needs to filter on the server side, and then pass a smaller context window back to the LLM. So the LLM has more rich information to work with,

**Santiago Garces**

[35:08](https://youtu.be/f-1uuMYhYyU?t=2108) and not just everything all at once. And I would say, again, this is precisely what you're mentioning, what drove us to want to build this in the first place. We were thinking about agent analysis tools. I don't like the word agentic, but let's just use it, agentic analysis tools. And those systems are all about what is the context, what is the LLM, and what is the prompt? And what we liked about the MCP is that it starts shifting the onus of what is some of these prompts that get you the right type of analytical tool and the right context to the public, like the provider. If I'm the provider of the MCP server, then that's my responsibility. But I'm able to use an engineering mindset to try to increase the reliability of that so that you know that if you're using my tool, it is likely that you're using something that we know that generally works, and it is doing things in a way that is efficient, in a way that is secure.

[36:20](https://youtu.be/f-1uuMYhYyU?t=2180) So it's all about, again, I think in the future, it's like, how do we provide access to that context of government services in the way that is the most reliable, in a way that is tested? And we're having conversations with Nathan Story, who is publishing a really exciting set of tools this week as well. It is, this is something that's going to keep evolving. And I think like, yes, we're going to start seeing that I think that the LLMs are going to matter, like a more sophisticated version of cloud might do better than a smaller model. But we start, we're creating some shared infrastructure that allows us that is less model specific, that ideally starts making it more reliable, regardless of the model that you're using.

**Srihari Raman**

[37:03](https://youtu.be/f-1uuMYhYyU?t=2223) Yeah, I think just to kind of add on to that, I think a different aspect of context engineering also has to come with thinking about how we as humans try and access information. And so if, as everyone's worked with LLMs, you realize they're not deterministic. So they don't, you ask the same question twice, you're not going to get the same answer. But a part of MCP, what it does is it's building that sort of like tool set, so that the LLM knows regardless of how I asked the same question, I could ask it 10 different ways, they all sort of converge to the same tool. And a part of that is also documentation. So in terms of how we think of accessing information is, okay, well, I understand the points that someone's asking me about. I also have information on what I know is on the back end of like what information I'm retrieving. So being able to engineer context windows is also about being able to build the MCP tools in a way and build the documentation for your data sources in a way where you're essentially forcing the AI agent or the LLM tool to be more deterministic. And a part of that comes with being able to document things. And that's more on the data side. And I think Santi did a great job of covering more of the application side, which I may not have too much understanding of, but on the engineering side, context is more about thinking of how you're On the engineering side, context is more about thinking of how you retrieve information

**Stefaan Verhulst**

[38:25](https://youtu.be/f-1uuMYhYyU?t=2305) and documenting that properly. Great. And in a second, I will ask Aileen to help me curate and triage the questions. I'm terrible with that. I actually need an AI agent, I guess, to do so. But I think one question also resonated with me and it also resonated some of the elements that you mentioned, because in the open data space, a key question has always been, how do we know who uses what, right? And for what purpose? That has become the perennial kind of open data kind of question so that you know what actually people want to know. And so with the MCP, now we actually, anyway, one of the opportunities might be is that you actually know what are the questions that people are interested in. But Santi, you mentioned that you don't see the questions. And so one of the questions also of the audience was, do you actually have an understanding of what the questions are that the audience seeks to have answers to via the MCP? Because that would actually be very interesting intelligence for open data providers, because then they actually know what are some of the questions that people are interested in, which in the past was very hard to get because you had to download the data in order to know what the question was. And so, yeah, eager to hear, Santi and Srihari, do you actually know, based upon the MCP, what are the questions? And does that, for open data providers, does that if yes, does that provide for kind of an additional insight? Who are using open data want

**Santiago Garces**

[40:11](https://youtu.be/f-1uuMYhYyU?t=2411) to know? I'll defer actually to some of the details to Srihari who'd have a more complete answer. But my understanding is that, and again, like what I was showing in one prompt, you have all this reasoning, like the LLM is trying to figure out like what skills might be available, like how to frame the question. The things that we can see are anytime that it's actually formulating, that it's accessing the MCP server, so it's the request that it's coming to the MCP server, along with the results that get generated. But that's my understanding of what,

**Srihari Raman**

[40:44](https://youtu.be/f-1uuMYhYyU?t=2444) is that accurate Sri? Yeah, so it was something like a design choice that I was trying to play around with to see how it would work. I initially started off with not tracing what question was being asked, but I guess you could use a proxy of what data is being, so what we are tracking is what request is being, what the LLM is triaging the request as, that is being passed to our MCP server, as well as what information is being returned. So you can use that as a proxy for trying to understand how the LLM is thinking about your question, not necessarily what was inputted by the user, like that information is not being passed. So I would have to go back and take a look at the logs, because I don't want to quote something without checking. But I think in terms of, again, design choice wise, it would be very useful information for the city to be able to understand not only how are people interacting with the data, but how are LLMs themselves triaging information that's coming from the data. And so I think in both cases, it's a design choice for each city in terms of how they want to track information, and Santi, I think that's something

**Santiago Garces**

[41:55](https://youtu.be/f-1uuMYhYyU?t=2515) we should probably talk about. Yeah, and again, for us, we generally want to have some level of privacy for people to do whatever they find interesting, but to your point, like figuring out how is it that we make it more useful. Also, but I think to some extent, as Sri was pointing, the things that are getting passed back lets us know what are the kinds of data sets that are getting requested in the same thing, where there's an opportunity to normalize the data, because it would help us relate it. That'd be the kind of thing that we're able to do. I'll tell you, since we've been using this since the fall, one of the things that I find that the most useful is everybody who does data analysis is a little bit biased, and you usually work with data sets that you're familiar with. And I'll give you an example where we're trying to do something, again, for rodents, I was just trying to see what kinds of things they could find. And the AI tool retrieved information about health inspections that have information about one of the reasons why you might fail your health inspections, because there's rodents, there's sightings or droppings from rodents. I would have never thought about looking at the health inspections, because it is just one type of violation. But it's just like, because the effort level of this thing going on querying the data is so low, that you're getting a more expansive search of the types of data sets, and then being able to dig in. That's one of the things that has been really fun. Great. I have many more questions, but

**Stefaan Verhulst**

[43:33](https://youtu.be/f-1uuMYhYyU?t=2613) Aileen, any questions that I missed from the Q&A here? I tried to touch on some questions that have already been asked, but you might have a better way of, because I haven't been able to read all the 18 questions that in the meantime have been posed. Yeah, I was just going to say,

**Eileen Twiggs**

[43:52](https://youtu.be/f-1uuMYhYyU?t=2632) so we have a lot of questions in the Q&A, and we are not going to get to all of them. And so I'm going to do my best to pick out some that might be broader and applicable to a bunch of folks in the audience. We have a question about getting started. From Melanie in New Hampshire, what recommendations do you have for those of us who are still trying to get our data into an open format? Are there any resources you recommend for small governments to begin getting their data into space where MCP can be used to access it? So almost the pre-MCP

**Santiago Garces**

[44:36](https://youtu.be/f-1uuMYhYyU?t=2676) question. I'd have some thoughts to get started. The US Census Bureau actually has an MCP server that allows you to access data from the federal government, and that's really fun and powerful because they have data that is relevant for everyone who's in the US. One of the things The use of the MCP reflects some of the things that, if you're familiar using census data, is hard, which is like the geographies. Not all of the census data has the geographies defined equally. So some are at the MSA level, some at the county level, some at the zip code level. So a fun challenge for us to figure out together about how to maybe build the tool that allows you to navigate those geographies more efficiently. Long story short, there's already some data that is available to everybody that would be relevant to get started. The other things, again, like you're able to load some of these tools into memory. There's actually MCP connectors for BigQuery and for other tools. So you might be able to just load your data, your spreadsheet, CSVs, whatnot, into some database and be able to use an MCP server to interact with the data. That's an easy way to do it.

[45:51](https://youtu.be/f-1uuMYhYyU?t=2751) And then, obviously, we have a lot of people from states here. I think that there's a great opportunity. I think that open data is a place where cities are a little bit ahead of most states, is my sense. Most states don't have open data portals that have public-facing APIs, or they're somewhat limited. But I think that there's a great opportunity of starting to release state-level data sets this way. So you could have all of your communities be able to access that information regardless of the size. I think that those are some starting thoughts.

**Srihari Raman**

[46:24](https://youtu.be/f-1uuMYhYyU?t=2784) Yeah. And just one quick add-on to that. At the data level, obviously, as someone who loves data, thinking about how that information is laid out would be a great starting point. Just looking back at some of the data sets and just at first glance, are you able to understand what might be in the data set at a very one or two-sentence summary? Having that information for all of the data that you are intending to expose would be something that's great, just in terms for your understanding, but also when you're building MCPs, that is where that information is being pulled from. So rather than focusing too much on making sure the data is normalized and all of that stuff, focusing more on the metadata is going to be sort of like the 80% of the way there. The other 20% is obviously with how you're engineering the

**Stefaan Verhulst**

[47:13](https://youtu.be/f-1uuMYhYyU?t=2833) information within the data set itself. Yeah. And I do want to add that, San Diego, your reference to the census MCP. So the next speaker on the series is going to be Luke, who built the MCP server for the census. So stay tuned on that.

**Santiago Garces**

[47:34](https://youtu.be/f-1uuMYhYyU?t=2854) My congratulations to the chef for the delicious MCP server that he cooked.

**Eileen Twiggs**

[47:43](https://youtu.be/f-1uuMYhYyU?t=2863) All right. I'm going to try and combine a bunch of questions that are kind of sort of process related. So, okay. So did you put together business requirements documents that explained business processes to design, develop, track the steps, UAT, et cetera, so that the successes can be repeated? Who had to sign off on this? Like what is the stakeholder process within your agency? So just a little bit around what it took to actually put this together from an agency perspective. I think that that one's for me. Look,

**Santiago Garces**

[48:29](https://youtu.be/f-1uuMYhYyU?t=2909) I think there's a mental framework that we've been working on with these projects where we think about prototypes, pilots, and production. And at the prototype level, we're just trying to figure out if something could work. It's a lot of times with AI, we just don't know if it would actually even work in the first place. We know we have a problem. And again, the problem that we're trying to solve is like, how do we get more accurate context? I said, like, how do we get more accurate data into the context window of an LLM to be able to do analysis? And we didn't know if it was going to work. And we're very lucky. And with the help of our Northeastern friends, we were able to get it to work. And then now we're kind of like in this pilot stage, which again, we're trying to figure out how well does it work? What are the components that might be missing to get it to work well? How well does it compare to the counterfactual? If we didn't have this, how would you go ahead and do these things? And I think that what we're trying to do is get our head, again, getting to a point that we feel comfortable around the quality, reliability, safety before we went and we said, like, go to data.boston.gov.mcp2x.

[49:46](https://youtu.be/f-1uuMYhYyU?t=2986) Like, we're not there yet. So is it? That's the model that we're using. And in some sense, like, it relieves you a little bit of like building a lot of documentation and the kind of this waterfall approach to early, the privacy from the opportunity of like trying something that might actually be useful. And then learning again, like by using is like the requirement of building this SQL query functionalities, because we knew that it was producing unreliable results, and we just needed a way to to address that.

**Eileen Twiggs**

[50:16](https://youtu.be/f-1uuMYhYyU?t=3016) Thank you. So question coming out of Massachusetts, actually, let me see if I can find it from Zoe. Do you expect the increased ease of querying manipulating city data and resulting value to be derived to encourage a broad investment in data governance, management, quality, documentation, etc? I think that Zoe has her fingers crossed.

**Santiago Garces**

[50:47](https://youtu.be/f-1uuMYhYyU?t=3047) I, it makes it more relevant. Again, like we have, we've been making a lot of investments into like a new data warehouse. And we've been using dbt as a framework for data governance to be able to manage our transformations and unit testing and all these things. But again, like data is not useful if it's not being used. So the part that's really exciting is like this is probably going to generate a lot. It's exciting and terrifying, to be honest, like thinking about like, the potential for a lot of people to be using these tools. I think that it makes it more relevant, it makes it less esoteric, why it's important to hopefully give me better likes, ideally, you know, like we're going into harder financial climates, I think across most governments, but it will it helps make a really great case about why this is important. And even start getting all the way to departments about why it's important, because they're the ones this is their data, the data is a manifestation of the process. And if they don't, that's we saw that with the with the when we first started to do open data, it's you start when you start publishing this, the data, it actually forces people to be more consistent with the process, because they don't want to be embarrassed. There's like all of a sudden the social contract to make sure that they're doing the right thing the right way. So I think that this is hopefully really great. And I'm sure that there's going to be some unforeseen, unexpected negative externalities, because there's always, there's never fun without with some punishment. But I think that generally speaking, this just builds on top of all the things that we know are good about data. And it'll just add on, not necessarily replace kind of like this, that those foundational layers.

**Stefaan Verhulst**

[52:32](https://youtu.be/f-1uuMYhYyU?t=3152) Add to this, or tag to this lean, because this series is also co-sponsored with the Data Stewards Academy. And so and so one of the reasons why we do this is to also kind of reimagine data stewardship in an AI era, right. And so eager to hear from also Santi and Srihari. So what are the kind of competencies in data stewardship that you feel have become more important or should be invested

**Santiago Garces**

[52:59](https://youtu.be/f-1uuMYhYyU?t=3179) in more? If I may, Elie. I'll give you, I think that it is still helpful again, like I find value in having some data literacy and like knowing how to write and read SQL, because it helps me debug like and be able to understand what's going on if I hit an error, like how do I go around. So like I think, but it de-emphasizes those a little bit, like in the same way that I think that when we got compilers for programming languages, you don't need to know like the registries and like the assembly level code. Can everybody that knows how to program in Python knows how to go to like, you know, like assembly? Probably not, but like it's helpful if you know that. But I think it definitely starts making, hopefully making that relationship between the final output of like, what's the recommendation? What's the final data product with like the inputs a little bit more visible, because you're starting to see that happening really fast and all of the intermediate artifacts coming together. So like, you know what, like it hopefully makes it clear for you to know what, what do you need to do to get better, better results out of your data.

**Eileen Twiggs**

[54:09](https://youtu.be/f-1uuMYhYyU?t=3249) All right. So with that, unfortunately we have so many good questions in the Q and A, but we are actually at the hour the time flew. And so I do want to ask you to join me in thanking Santi, Srihari, and Stefan for sharing their expertise today. And thank you to all of you for attending and asking so many great questions. We will be sending out a survey to you after this session. So please keep your eye out for that. We appreciate your feedback. We read every single one. And I've already posted in the chat, our upcoming sessions on the Innovate US Workshop series. And we really hope to see you all there. So thank you. Thank you to our speakers and everybody have a, have a great day and happy St. Patrick's day. My Irish grandparents would not want me to let this occasion pass without saying happy St. Patrick's day. Thanks everybody. Thank you, Stefan.

**Santiago Garces**

[55:12](https://youtu.be/f-1uuMYhYyU?t=3312) Thank you, Srihari. Thanks. Bye-bye.

* * *

Original page: https://innovate-us.org/leveraging-ai-to-use-open-data-a-city-of-boston-case · Licence: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org
